1 Summary: X-Resource extension client library
2 Summary(pl.UTF-8): Biblioteka kliencka rozszerzenia X-Resource
8 Source0: https://xorg.freedesktop.org/releases/individual/lib/libXres-%{version}.tar.xz
9 # Source0-md5: 66c9e9e01b0b53052bb1d02ebf8d7040
10 URL: https://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: tar >= 1:1.22
17 BuildRequires: xorg-lib-libX11-devel >= 1.6
18 BuildRequires: xorg-lib-libXext-devel
19 BuildRequires: xorg-proto-resourceproto-devel >= 1.2.0
20 BuildRequires: xorg-proto-xextproto-devel
21 BuildRequires: xorg-util-util-macros >= 1.8
23 Requires: xorg-lib-libX11 >= 1.6
24 Obsoletes: libXres < 1.1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 X-Resource extension client library. This extension gives information
29 about X resources usage.
31 %description -l pl.UTF-8
32 Biblioteka kliencka rozszerzenia X-Resource, służącego do uzyskiwania
33 informacji o wykorzystaniu zasobów X.
36 Summary: Header files for libXres library
37 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXres
38 Group: X11/Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: xorg-lib-libX11-devel >= 1.6
41 Requires: xorg-lib-libXext-devel
42 Requires: xorg-proto-resourceproto-devel >= 1.2.0
43 Requires: xorg-proto-xextproto-devel
44 Obsoletes: libXres-devel < 1.1
47 X-Resource extension client library.
49 This package contains the header files needed to develop programs that
52 %description devel -l pl.UTF-8
53 Biblioteka kliencka rozszerzenia X-Resource.
55 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
56 używających biblioteki libXres.
59 Summary: Static libXres library
60 Summary(pl.UTF-8): Biblioteka statyczna libXres
61 Group: X11/Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
63 Obsoletes: libXres-static < 1.1
66 X-Resource extension client library.
68 This package contains the static libXres library.
70 %description static -l pl.UTF-8
71 Biblioteka kliencka rozszerzenia X-Resource.
73 Pakiet zawiera statyczną bibliotekę libXres.
76 %setup -q -n libXres-%{version}
78 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
79 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
91 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT \
95 pkgconfigdir=%{_pkgconfigdir}
97 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXRes.la
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc AUTHORS COPYING ChangeLog README.md
108 %attr(755,root,root) %{_libdir}/libXRes.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libXRes.so.1
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libXRes.so
114 %{_includedir}/X11/extensions/XRes.h
115 %{_pkgconfigdir}/xres.pc
116 %{_mandir}/man3/XRes*.3*
119 %defattr(644,root,root,755)