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