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