]>
Commit | Line | Data |
---|---|---|
f083b3f3 | 1 | Summary: X Display Manager Control Protocol library |
6d781d7e | 2 | Summary(pl.UTF-8): Biblioteka protokołu XDMCP |
f083b3f3 | 3 | Name: xorg-lib-libXdmcp |
1a7a8144 AM |
4 | Version: 1.0.3 |
5 | Release: 1 | |
f083b3f3 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
3e049bef | 8 | Source0: http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-%{version}.tar.bz2 |
1a7a8144 | 9 | # Source0-md5: d60941d471800f41a3f19b24bea855a7 |
f083b3f3 | 10 | URL: http://xorg.freedesktop.org/ |
e089dfbe | 11 | BuildRequires: autoconf >= 2.57 |
f083b3f3 AM |
12 | BuildRequires: automake |
13 | BuildRequires: libtool | |
caa232df | 14 | BuildRequires: pkgconfig >= 1:0.19 |
f083b3f3 | 15 | BuildRequires: xorg-proto-xproto-devel |
3d230378 | 16 | BuildRequires: xorg-util-util-macros >= 1.1.0 |
fe96e71e | 17 | Obsoletes: libXdmcp |
61391eb4 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
f083b3f3 | 19 | |
f083b3f3 AM |
20 | %description |
21 | X Display Manager Control Protocol library. | |
22 | ||
62bec21e JR |
23 | %description -l pl.UTF-8 |
24 | Biblioteka protokołu XDMCP (X Display Manager Control Protocol). | |
f083b3f3 | 25 | |
f083b3f3 | 26 | %package devel |
c408e468 | 27 | Summary: Header files for libXdmcp library |
6d781d7e | 28 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXdmcp |
f083b3f3 | 29 | Group: X11/Development/Libraries |
61391eb4 | 30 | Requires: %{name} = %{version}-%{release} |
f083b3f3 | 31 | Requires: xorg-proto-xproto-devel |
fe96e71e | 32 | Obsoletes: libXdmcp-devel |
f083b3f3 AM |
33 | |
34 | %description devel | |
35 | X Display Manager Control Protocol library. | |
36 | ||
37 | This package contains the header files needed to develop programs that | |
c408e468 | 38 | use libXdmcp. |
f083b3f3 | 39 | |
62bec21e JR |
40 | %description devel -l pl.UTF-8 |
41 | Biblioteka protokołu XDMCP (X Display Manager Control Protocol). | |
f083b3f3 | 42 | |
62bec21e JR |
43 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
44 | używających biblioteki libXdmcp. | |
f083b3f3 | 45 | |
f083b3f3 | 46 | %package static |
61391eb4 | 47 | Summary: Static libXdmcp library |
6d781d7e | 48 | Summary(pl.UTF-8): Biblioteka statyczna libXdmcp |
61391eb4 JB |
49 | Group: X11/Development/Libraries |
50 | Requires: %{name}-devel = %{version}-%{release} | |
fe96e71e | 51 | Obsoletes: libXdmcp-static |
f083b3f3 AM |
52 | |
53 | %description static | |
54 | X Display Manager Control Protocol library. | |
55 | ||
56 | This package contains the static libXdmcp library. | |
57 | ||
62bec21e JR |
58 | %description static -l pl.UTF-8 |
59 | Biblioteka protokołu XDMCP (X Display Manager Control Protocol). | |
f083b3f3 | 60 | |
62bec21e | 61 | Pakiet zawiera statyczną bibliotekę libXdmcp. |
f083b3f3 AM |
62 | |
63 | %prep | |
64 | %setup -q -n libXdmcp-%{version} | |
65 | ||
f083b3f3 AM |
66 | %build |
67 | %{__libtoolize} | |
68 | %{__aclocal} | |
69 | %{__autoconf} | |
70 | %{__autoheader} | |
71 | %{__automake} | |
72 | %configure | |
73 | %{__make} | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT \ | |
80 | pkgconfigdir=%{_pkgconfigdir} | |
81 | ||
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
f083b3f3 AM |
88 | %files |
89 | %defattr(644,root,root,755) | |
8a4dcfb2 | 90 | %doc AUTHORS COPYING ChangeLog |
61391eb4 | 91 | %attr(755,root,root) %{_libdir}/libXdmcp.so.*.*.* |
f083b3f3 AM |
92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
61391eb4 | 95 | %attr(755,root,root) %{_libdir}/libXdmcp.so |
f083b3f3 | 96 | %{_libdir}/libXdmcp.la |
61391eb4 | 97 | %{_includedir}/X11/Xdmcp.h |
f083b3f3 AM |
98 | %{_pkgconfigdir}/xdmcp.pc |
99 | ||
f083b3f3 AM |
100 | %files static |
101 | %defattr(644,root,root,755) | |
102 | %{_libdir}/libXdmcp.a |