]> git.pld-linux.org Git - packages/xorg-lib-libXres.git/blame - xorg-lib-libXres.spec
- updated to 1.2.2
[packages/xorg-lib-libXres.git] / xorg-lib-libXres.spec
CommitLineData
beea411e
JB
1Summary: X-Resource extension client library
2Summary(pl.UTF-8): Biblioteka kliencka rozszerzenia X-Resource
91b386a7 3Name: xorg-lib-libXres
9674d8e8
JB
4Version: 1.2.2
5Release: 1
91b386a7
AM
6License: MIT
7Group: X11/Libraries
9674d8e8
JB
8Source0: https://xorg.freedesktop.org/releases/individual/lib/libXres-%{version}.tar.xz
9# Source0-md5: 66c9e9e01b0b53052bb1d02ebf8d7040
f97ef2c9 10URL: https://xorg.freedesktop.org/
36911dc7 11BuildRequires: autoconf >= 2.60
91b386a7 12BuildRequires: automake
91b386a7 13BuildRequires: libtool
92608398 14BuildRequires: pkgconfig >= 1:0.19
50075e8d 15BuildRequires: sed >= 4.0
9674d8e8 16BuildRequires: tar >= 1:1.22
f97ef2c9 17BuildRequires: xorg-lib-libX11-devel >= 1.6
10fdc028 18BuildRequires: xorg-lib-libXext-devel
f97ef2c9
JB
19BuildRequires: xorg-proto-resourceproto-devel >= 1.2.0
20BuildRequires: xorg-proto-xextproto-devel
36911dc7 21BuildRequires: xorg-util-util-macros >= 1.8
9674d8e8 22BuildRequires: xz
f97ef2c9 23Requires: xorg-lib-libX11 >= 1.6
9674d8e8 24Obsoletes: libXres < 1.1
10fdc028 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91b386a7 26
91b386a7 27%description
beea411e
JB
28X-Resource extension client library. This extension gives information
29about X resources usage.
91b386a7 30
5c82e4cc 31%description -l pl.UTF-8
beea411e 32Biblioteka kliencka rozszerzenia X-Resource, służącego do uzyskiwania
5c82e4cc 33informacji o wykorzystaniu zasobów X.
91b386a7 34
91b386a7 35%package devel
2218f2a1 36Summary: Header files for libXres library
ac5b310a 37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXres
91b386a7 38Group: X11/Development/Libraries
10fdc028 39Requires: %{name} = %{version}-%{release}
f97ef2c9 40Requires: xorg-lib-libX11-devel >= 1.6
91b386a7 41Requires: xorg-lib-libXext-devel
f97ef2c9
JB
42Requires: xorg-proto-resourceproto-devel >= 1.2.0
43Requires: xorg-proto-xextproto-devel
9674d8e8 44Obsoletes: libXres-devel < 1.1
91b386a7
AM
45
46%description devel
beea411e 47X-Resource extension client library.
91b386a7
AM
48
49This package contains the header files needed to develop programs that
2218f2a1 50use libXres.
91b386a7 51
5c82e4cc 52%description devel -l pl.UTF-8
beea411e 53Biblioteka kliencka rozszerzenia X-Resource.
91b386a7 54
5c82e4cc
JR
55Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
56używających biblioteki libXres.
91b386a7 57
91b386a7 58%package static
10fdc028 59Summary: Static libXres library
ac5b310a 60Summary(pl.UTF-8): Biblioteka statyczna libXres
10fdc028
JB
61Group: X11/Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
9674d8e8 63Obsoletes: libXres-static < 1.1
91b386a7
AM
64
65%description static
beea411e 66X-Resource extension client library.
91b386a7
AM
67
68This package contains the static libXres library.
69
5c82e4cc 70%description static -l pl.UTF-8
beea411e 71Biblioteka kliencka rozszerzenia X-Resource.
91b386a7 72
5c82e4cc 73Pakiet zawiera statyczną bibliotekę libXres.
91b386a7 74
91b386a7
AM
75%prep
76%setup -q -n libXres-%{version}
77
50075e8d
JB
78# support __libmansuffix__ with "x" suffix (per FHS 2.3)
79%{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
80
91b386a7
AM
81%build
82%{__libtoolize}
83%{__aclocal}
84%{__autoconf}
85%{__autoheader}
86%{__automake}
87%configure
88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT \
95 pkgconfigdir=%{_pkgconfigdir}
96
61d61775
TP
97%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXRes.la
98
91b386a7
AM
99%clean
100rm -rf $RPM_BUILD_ROOT
101
102%post -p /sbin/ldconfig
103%postun -p /sbin/ldconfig
104
91b386a7
AM
105%files
106%defattr(644,root,root,755)
f52959aa 107%doc AUTHORS COPYING ChangeLog README.md
10fdc028 108%attr(755,root,root) %{_libdir}/libXRes.so.*.*.*
beea411e 109%attr(755,root,root) %ghost %{_libdir}/libXRes.so.1
91b386a7
AM
110
111%files devel
112%defattr(644,root,root,755)
10fdc028 113%attr(755,root,root) %{_libdir}/libXRes.so
beea411e 114%{_includedir}/X11/extensions/XRes.h
91b386a7 115%{_pkgconfigdir}/xres.pc
2a481b81 116%{_mandir}/man3/XRes*.3*
91b386a7 117
91b386a7
AM
118%files static
119%defattr(644,root,root,755)
120%{_libdir}/libXRes.a
This page took 0.063641 seconds and 4 git commands to generate.