]> git.pld-linux.org Git - packages/xorg-lib-libXres.git/blob - xorg-lib-libXres.spec
- s/pkg-config/pkgconfig/ in BR:
[packages/xorg-lib-libXres.git] / xorg-lib-libXres.spec
1
2 #
3 Summary:        X Resource usage extension library
4 Summary(pl):    Biblioteka rozszerzenia X Resource usage
5 Name:           xorg-lib-libXres
6 Version:        0.99.0
7 Release:        0.03
8 License:        MIT
9 Group:          X11/Libraries
10 Source0:        http://xorg.freedesktop.org/X11R7.0-RC0/lib/libXres-%{version}.tar.bz2
11 # Source0-md5:  cb705942677fb7bc28ef42db5e602ff4
12 URL:            http://xorg.freedesktop.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  xorg-lib-libXext-devel
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig >= 0.19
18 BuildRequires:  xorg-proto-resourceproto-devel
19 BuildRequires:  xorg-util-util-macros
20 Obsoletes:      libXres
21 BuildRoot:      %{tmpdir}/libXres-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25
26 %description
27 X Resource usage extension library.
28
29 %description -l pl
30 Biblioteka rozszerzenia X Resource usage, s³u¿±cego do uzyskiwania
31 informacji o wykorzystaniu zasobów X.
32
33
34 %package devel
35 Summary:        Header files libXres development
36 Summary(pl):    Pliki nag³ówkowe do biblioteki libXres
37 Group:          X11/Development/Libraries
38 Requires:       xorg-lib-libXres = %{version}-%{release}
39 Requires:       xorg-lib-libXext-devel
40 Requires:       xorg-proto-resourceproto-devel
41 Obsoletes:      libXres-devel
42
43 %description devel
44 X Resource usage extension library.
45
46 This package contains the header files needed to develop programs that
47 use these libXres.
48
49 %description devel -l pl
50 Biblioteka rozszerzenia X Resource usage, s³u¿±cego do uzyskiwania
51 informacji o wykorzystaniu zasobów X.
52
53 Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
54 u¿ywaj±cych biblioteki libXres.
55
56
57 %package static
58 Summary:        Static libXres libraries
59 Summary(pl):    Biblioteki statyczne libXres
60 Group:          Development/Libraries
61 Requires:       xorg-lib-libXres-devel = %{version}-%{release}
62 Obsoletes:      libXres-static
63
64 %description static
65 X Resource usage extension library.
66
67 This package contains the static libXres library.
68
69 %description static -l pl
70 Biblioteka rozszerzenia X Resource usage, s³u¿±cego do uzyskiwania
71 informacji o wykorzystaniu zasobów X.
72
73 Pakiet zawiera statyczn± bibliotekê libXres.
74
75
76 %prep
77 %setup -q -n libXres-%{version}
78
79
80 %build
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT \
94         pkgconfigdir=%{_pkgconfigdir}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102
103 %files
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog
106 %attr(755,root,wheel) %{_libdir}/libXRes.so.*
107
108
109 %files devel
110 %defattr(644,root,root,755)
111 %{_includedir}/X11/extensions/*.h
112 %{_libdir}/libXRes.la
113 %attr(755,root,wheel) %{_libdir}/libXRes.so
114 %{_pkgconfigdir}/xres.pc
115 %{_mandir}/man3/*.3*
116
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/libXRes.a
This page took 0.061915 seconds and 3 git commands to generate.