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