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