summaryrefslogtreecommitdiff
path: root/packaging/libXres.spec
blob: f591932e33727070cd65eb42175ff5d75c916261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name:           libXres
Version:        1.0.6
Release:        1
License:        MIT
Summary:        X-Resource extension client library
Url:            http://www.x.org
Group:          Graphics/X Window System
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  pkgconfig(resourceproto)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xorg-macros)
BuildRequires:  pkgconfig(xproto)

%description
X-Resource is an extension that allows a client to query
the X server about its usage of various resources.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}

%description devel
X.Org X11 libXres development package

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%remove_docs

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%license COPYING
%{_libdir}/libXRes.so.1
%{_libdir}/libXRes.so.1.0.0

%files devel
%defattr(-,root,root,-)
%{_includedir}/X11/extensions/XRes.h
%{_libdir}/libXRes.so
%{_libdir}/pkgconfig/xres.pc