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