]> git.pld-linux.org Git - packages/libnscd.git/blob - libnscd.spec
fix build (missing include for writev)
[packages/libnscd.git] / libnscd.spec
1 Summary:        Interface to communicate with the nscd daemon
2 Summary(pl.UTF-8):      Interfejs do komunikowania z demonem nscd
3 Name:           libnscd
4 Version:        2.0.2
5 Release:        4
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://suse.osuosl.org/people/kukuk/libnscd/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a6f37e961de4f09c06df43070a47c615
10 Patch0:         %{name}-writev.patch
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %undefine       __cxx
15
16 %description
17 This library provides an easy interface for normal programs to
18 communicate with the nscd daemon from the GNU C Library.
19
20 %description -l pl.UTF-8
21 Ta biblioteka dostarcza łatwy w użyciu interfejs do komunikowania się
22 z demonem nscd pochodzącym z biblioteki GNU C w zwykłych programach.
23
24 %package devel
25 Summary:        Header files for libnscd library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libnscd
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for libnscd library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki libnscd.
35
36 %package static
37 Summary:        Static libnscd library
38 Summary(pl.UTF-8):      Statyczna biblioteka libnscd
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static libnscd library.
44
45 %description static -l pl.UTF-8
46 Statyczna biblioteka libnscd.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51
52 %build
53 cp -f /usr/share/automake/config.* .
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc ChangeLog NEWS README
72 %attr(755,root,root) %{_libdir}/libnscd.so.*.*.*
73 %ghost %{_libdir}/libnscd.so.1
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libnscd.so
78 %{_libdir}/libnscd.la
79 %{_includedir}/libnscd.h
80 %{_mandir}/man3/*
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/libnscd.a
This page took 0.08769 seconds and 3 git commands to generate.