]> git.pld-linux.org Git - packages/xorg-lib-libXdmcp.git/blob - xorg-lib-libXdmcp.spec
- s/pkg-config/pkgconfig/ in BR:
[packages/xorg-lib-libXdmcp.git] / xorg-lib-libXdmcp.spec
1
2 #
3 Summary:        X Display Manager Control Protocol library
4 Summary(pl):    Biblioteka protoko³u XDMCP
5 Name:           xorg-lib-libXdmcp
6 Version:        0.99.0
7 Release:        0.03
8 License:        MIT
9 Group:          X11/Libraries
10 Source0:        http://xorg.freedesktop.org/X11R7.0-RC0/lib/libXdmcp-%{version}.tar.bz2
11 # Source0-md5:  bb45d98b1319e40d0515a11fe4bd45b9
12 Source1:        libXdmcp-Wraphelp.c
13 URL:            http://xorg.freedesktop.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig >= 0.19
18 BuildRequires:  xorg-util-util-macros
19 BuildRequires:  xorg-proto-xproto-devel
20 Obsoletes:      libXdmcp
21 BuildRoot:      %{tmpdir}/libXdmcp-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24
25 %description
26 X Display Manager Control Protocol library.
27
28 %description -l pl
29 Biblioteka protoko³u XDMCP (X Display Manager Control Protocol).
30
31
32 %package devel
33 Summary:        Header files libXdmcp development
34 Summary(pl):    Pliki nag³ówkowe do biblioteki libXdmcp
35 Group:          X11/Development/Libraries
36 Requires:       xorg-lib-libXdmcp = %{version}-%{release}
37 Requires:       xorg-proto-xproto-devel
38 Obsoletes:      libXdmcp-devel
39
40 %description devel
41 X Display Manager Control Protocol library.
42
43 This package contains the header files needed to develop programs that
44 use these libXdmcp.
45
46 %description devel -l pl
47 Biblioteka protoko³u XDMCP (X Display Manager Control Protocol).
48
49 Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
50 u¿ywaj±cych biblioteki libXdmcp.
51
52
53 %package static
54 Summary:        Static libXdmcp libraries
55 Summary(pl):    Biblioteki statyczne libXdmcp
56 Group:          Development/Libraries
57 Requires:       xorg-lib-libXdmcp-devel = %{version}-%{release}
58 Obsoletes:      libXdmcp-static
59
60 %description static
61 X Display Manager Control Protocol library.
62
63 This package contains the static libXdmcp library.
64
65 %description static -l pl
66 Biblioteka protoko³u XDMCP (X Display Manager Control Protocol).
67
68 Pakiet zawiera statyczne biblioteki libXdmcp.
69
70
71 %prep
72 %setup -q -n libXdmcp-%{version}
73
74 install -m 644 %{SOURCE1} Wraphelp.c
75
76
77 %build
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT \
91         pkgconfigdir=%{_pkgconfigdir}
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS
103 %attr(755,root,wheel) %{_libdir}/libXdmcp.so.*
104
105
106 %files devel
107 %defattr(644,root,root,755)
108 %{_includedir}/X11/Xdmcp.h
109 %{_libdir}/libXdmcp.la
110 %attr(755,root,wheel) %{_libdir}/libXdmcp.so
111 %{_pkgconfigdir}/xdmcp.pc
112
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/libXdmcp.a
This page took 0.07495 seconds and 3 git commands to generate.