]> git.pld-linux.org Git - packages/xorg-lib-libXrandr.git/blob - xorg-lib-libXrandr.spec
- up to 1.2.91
[packages/xorg-lib-libXrandr.git] / xorg-lib-libXrandr.spec
1 Summary:        X Randr extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzenia X Randr
3 Name:           xorg-lib-libXrandr
4 Version:        1.2.91
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/individual/lib/libXrandr-%{version}.tar.bz2
9 # Source0-md5:  431f6d70db30bf8553352956c4d5e125
10 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  xorg-lib-libXext-devel
16 BuildRequires:  xorg-lib-libXrender-devel
17 BuildRequires:  xorg-proto-randrproto-devel >= 1.2.91
18 BuildRequires:  xorg-util-util-macros >= 0.99.2
19 Obsoletes:      libXrandr
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 X Resize and Rotate extension library.
24
25 %description -l pl.UTF-8
26 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
27 rozmiaru i obracania ekranu X.
28
29 %package devel
30 Summary:        Header files for libXrandr library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXrandr
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       xorg-lib-libXext-devel
35 Requires:       xorg-lib-libXrender-devel
36 Requires:       xorg-proto-randrproto-devel >= 1.2
37 Obsoletes:      libXrandr-devel
38
39 %description devel
40 X Resize and Rotate extension library.
41
42 This package contains the header files needed to develop programs that
43 use libXrandr.
44
45 %description devel -l pl.UTF-8
46 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
47 rozmiaru i obracania ekranu X.
48
49 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
50 używających biblioteki libXrandr.
51
52 %package static
53 Summary:        Static libXrandr libraries
54 Summary(pl.UTF-8):      Biblioteki statyczne libXrandr
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57 Obsoletes:      libXrandr-static
58
59 %description static
60 X Resize and Rotate extension library.
61
62 This package contains the static libXrandr library.
63
64 %description static -l pl.UTF-8
65 Biblioteka rozszerzenia X Resize and Rotate, służącego do zmiany
66 rozmiaru i obracania ekranu X.
67
68 Pakiet zawiera statyczną bibliotekę libXrandr.
69
70 %prep
71 %setup -q -n libXrandr-%{version}
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79 %configure
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT \
87         pkgconfigdir=%{_pkgconfigdir}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files
96 %defattr(644,root,root,755)
97 %doc AUTHORS COPYING ChangeLog
98 %attr(755,root,root) %{_libdir}/libXrandr.so.*.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libXrandr.so.2
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libXrandr.so
104 %{_libdir}/libXrandr.la
105 %{_includedir}/X11/extensions/Xrandr.h
106 %{_pkgconfigdir}/xrandr.pc
107 %{_mandir}/man3/XRR*.3x*
108 %{_mandir}/man3/Xrandr.3x*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libXrandr.a
This page took 0.02871 seconds and 3 git commands to generate.