]> git.pld-linux.org Git - packages/xorg-lib-libXxf86vm.git/blob - xorg-lib-libXxf86vm.spec
6383cc34bccf80823bccaafff6016cd59fc230f3
[packages/xorg-lib-libXxf86vm.git] / xorg-lib-libXxf86vm.spec
1 Summary:        XFree86-VidMode X extension library
2 Summary(pl.UTF-8):      Biblioteka rozszerzenia X XFree86-VidMode
3 Name:           xorg-lib-libXxf86vm
4 Version:        1.1.3
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/individual/lib/libXxf86vm-%{version}.tar.bz2
9 # Source0-md5:  e46f6ee4f4567349a3189044fe1bb712
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:  xorg-lib-libXext-devel
16 BuildRequires:  xorg-proto-xf86vidmodeproto-devel >= 2.2.99.1
17 BuildRequires:  xorg-util-util-macros >= 1.8
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 XFree86-VidMode X extension library.
22
23 %description -l pl.UTF-8
24 Biblioteka rozszerzenia X XFree86-VidMode.
25
26 %package devel
27 Summary:        Header files for libXxf86vm library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXxf86vm
29 Group:          X11/Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31 Requires:       xorg-lib-libXext-devel
32 Requires:       xorg-proto-xf86vidmodeproto-devel >= 2.2.99.1
33
34 %description devel
35 XFree86-VidMode X extension library.
36
37 This package contains the header files needed to develop programs that
38 use libXxf86vm.
39
40 %description devel -l pl.UTF-8
41 Biblioteka rozszerzenia X XFree86-VidMode.
42
43 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
44 używających biblioteki libXxf86vm.
45
46 %package static
47 Summary:        Static libXxf86vm library
48 Summary(pl.UTF-8):      Biblioteka statyczna libXxf86vm
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 XFree86-VidMode X extension library.
54
55 This package contains the static libXxf86vm library.
56
57 %description static -l pl.UTF-8
58 Biblioteka rozszerzenia X XFree86-VidMode.
59
60 Pakiet zawiera statyczną bibliotekę libXxf86vm.
61
62 %prep
63 %setup -q -n libXxf86vm-%{version}
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 # there's no man3x in pld
82 grep -rl man3x $RPM_BUILD_ROOT%{_mandir}/man3/* | xargs %{__sed} -i -e 's,man3x,man3,'
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc COPYING ChangeLog README
93 %attr(755,root,root) %{_libdir}/libXxf86vm.so.*.*.*
94 %attr(755,root,root) %ghost %{_libdir}/libXxf86vm.so.1
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libXxf86vm.so
99 %{_libdir}/libXxf86vm.la
100 %{_includedir}/X11/extensions/xf86vmode.h
101 %{_pkgconfigdir}/xxf86vm.pc
102 %{_mandir}/man3/XF86VM.3x*
103 %{_mandir}/man3/XF86VidMode*.3x*
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libXxf86vm.a
This page took 0.072865 seconds and 2 git commands to generate.