]> git.pld-linux.org Git - packages/xorg-lib-libXres.git/blob - xorg-lib-libXres.spec
- up to 1.2.0
[packages/xorg-lib-libXres.git] / xorg-lib-libXres.spec
1 Summary:        X-Resource extension client library
2 Summary(pl.UTF-8):      Biblioteka kliencka rozszerzenia X-Resource
3 Name:           xorg-lib-libXres
4 Version:        1.2.0
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
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
19 Obsoletes:      libXres
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 X-Resource extension client library. This extension gives information
24 about X resources usage.
25
26 %description -l pl.UTF-8
27 Biblioteka kliencka rozszerzenia X-Resource, służącego do uzyskiwania
28 informacji o wykorzystaniu zasobów X.
29
30 %package devel
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
38
39 %description devel
40 X-Resource extension client library.
41
42 This package contains the header files needed to develop programs that
43 use libXres.
44
45 %description devel -l pl.UTF-8
46 Biblioteka kliencka rozszerzenia X-Resource.
47
48 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
49 używających biblioteki libXres.
50
51 %package static
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
57
58 %description static
59 X-Resource extension client library.
60
61 This package contains the static libXres library.
62
63 %description static -l pl.UTF-8
64 Biblioteka kliencka rozszerzenia X-Resource.
65
66 Pakiet zawiera statyczną bibliotekę libXres.
67
68 %prep
69 %setup -q -n libXres-%{version}
70
71 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
72 %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
73
74 %build
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__autoheader}
79 %{__automake}
80 %configure
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT \
88         pkgconfigdir=%{_pkgconfigdir}
89
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libXRes.la
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
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
103
104 %files devel
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*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libXRes.a
This page took 0.083369 seconds and 3 git commands to generate.