1 Summary: X-Resource extension client library
2 Summary(pl.UTF-8): Biblioteka kliencka rozszerzenia X-Resource
8 Source0: http://xorg.freedesktop.org/releases/individual/lib/libXres-%{version}.tar.bz2
9 # Source0-md5: 5d6d443d1abc8e1f6fc1c57fb27729bb
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: pkgconfig >= 1:0.19
15 BuildRequires: sed >= 4.0
16 BuildRequires: xorg-lib-libXext-devel
17 BuildRequires: xorg-proto-resourceproto-devel >= 1.0
18 BuildRequires: xorg-util-util-macros >= 1.8
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 X-Resource extension client library. This extension gives information
24 about X resources usage.
26 %description -l pl.UTF-8
27 Biblioteka kliencka rozszerzenia X-Resource, służącego do uzyskiwania
28 informacji o wykorzystaniu zasobów X.
31 Summary: Header files for libXres library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXres
33 Group: X11/Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: xorg-lib-libXext-devel
36 Requires: xorg-proto-resourceproto-devel >= 1.0
37 Obsoletes: libXres-devel
40 X-Resource extension client library.
42 This package contains the header files needed to develop programs that
45 %description devel -l pl.UTF-8
46 Biblioteka kliencka rozszerzenia X-Resource.
48 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
49 używających biblioteki libXres.
52 Summary: Static libXres library
53 Summary(pl.UTF-8): Biblioteka statyczna libXres
54 Group: X11/Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
56 Obsoletes: libXres-static
59 X-Resource extension client library.
61 This package contains the static libXres library.
63 %description static -l pl.UTF-8
64 Biblioteka kliencka rozszerzenia X-Resource.
66 Pakiet zawiera statyczną bibliotekę libXres.
69 %setup -q -n libXres-%{version}
71 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
72 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT \
88 pkgconfigdir=%{_pkgconfigdir}
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXRes.la
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING ChangeLog README
101 %attr(755,root,root) %{_libdir}/libXRes.so.*.*.*
102 %attr(755,root,root) %ghost %{_libdir}/libXRes.so.1
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libXRes.so
107 %{_includedir}/X11/extensions/XRes.h
108 %{_pkgconfigdir}/xres.pc
109 %{_mandir}/man3/XRes*.3*
112 %defattr(644,root,root,755)