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