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