]> git.pld-linux.org Git - packages/xorg-lib-libXau.git/blob - xorg-lib-libXau.spec
- updated to 1.0.9
[packages/xorg-lib-libXau.git] / xorg-lib-libXau.spec
1 Summary:        Xau - X authorization file management library
2 Summary(pl.UTF-8):      Xau - biblioteka zarządzająca plikami autoryzacji X
3 Name:           xorg-lib-libXau
4 Version:        1.0.9
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libXau-%{version}.tar.bz2
9 # Source0-md5:  c5f16288f2da9f071b29111d68797480
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  sed >= 4.0
16 BuildRequires:  xorg-proto-xproto-devel
17 BuildRequires:  xorg-util-util-macros >= 1.8
18 Obsoletes:      libXau
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Xau is the X authorization file management library, conforming to X
23 Authorization Protocol.
24
25 %description -l pl.UTF-8
26 Xau to biblioteka zarządzająca plikami autoryzacji X zgodnie z
27 protokołem autoryzacji X.
28
29 %package devel
30 Summary:        Header files for libXau library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXau
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       xorg-proto-xproto-devel
35 Obsoletes:      libXau-devel
36
37 %description devel
38 Header files for libXau library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki libXau.
42
43 %package static
44 Summary:        Static libXau library
45 Summary(pl.UTF-8):      Biblioteka statyczna libXau
46 Group:          X11/Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48 Obsoletes:      libXau-static
49
50 %description static
51 Static libXau library.
52
53 %description static -l pl.UTF-8
54 Biblioteka statyczna libXau.
55
56 %prep
57 %setup -q -n libXau-%{version}
58
59 # support __libmansuffix__ with "x" suffix (per FHS 2.3)
60 %{__sed} -i -e 's,^\.so man__libmansuffix__/,.so man3/,' man/*.man
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__autoheader}
67 %{__automake}
68 %configure
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         pkgconfigdir=%{_pkgconfigdir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS COPYING ChangeLog README
87 %attr(755,root,root) %{_libdir}/libXau.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libXau.so.6
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libXau.so
93 %{_libdir}/libXau.la
94 %{_includedir}/X11/Xauth.h
95 %{_pkgconfigdir}/xau.pc
96 %{_mandir}/man3/Xau*.3*
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libXau.a
This page took 0.106228 seconds and 3 git commands to generate.