]> git.pld-linux.org Git - packages/libdaemon.git/blob - libdaemon.spec
- build man pages
[packages/libdaemon.git] / libdaemon.spec
1 Summary:        Lightweight C library which eases the writing of UNIX daemons
2 Summary(pl):    Prosta biblioteka C u³atwiaj±ca pisanie demonów uniksowych
3 Name:           libdaemon
4 Version:        0.7
5 Release:        1
6 Epoch:          0
7 License:        GPL
8 Group:          Libraries
9 Source0:        http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
10 # Source0-md5:  dac78826f5d3c7cfe0ff781a68a502b1
11 URL:            http://0pointer.de/lennart/projects/libdaemon/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  doxygen
16 BuildRequires:  lynx
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 libdaemon is a lightweight C library which eases the writing of UNIX
21 daemons.
22
23 %description -l pl
24 libdaemon jest prost± bibliotek± C u³atwiaj±c± pisanie demonów
25 uniksowych.
26
27 %package devel
28 Summary:        Header files and development documentation for libdaemon
29 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty biblioteki libdaemon
30 Group:          Development/Libraries
31 Requires:       %{name} = %{epoch}:%{version}-%{release}
32
33 %description devel
34 This package contains Header files and development documentation for
35 libdaemon.
36
37 %description devel -l pl
38 Ten pakiet zawiera pliki nag³ówkowe i dokumentacjê programisty
39 biblioteki libdaemon.
40
41 %package static
42 Summary:        Static libdaemon library
43 Summary(pl):    Statyczna biblioteka libdaemon
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
46
47 %description static
48 This package contains static libdaemon library.
49
50 %description static -l pl
51 Ten pakiet zawiera statyczn± wersjê biblioteki libdaemon.
52
53 %prep
54 %setup -q
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63 %{__make}
64 %{__make} doxygen
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_mandir}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 cp -a doc/reference/man/* $RPM_BUILD_ROOT%{_mandir}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc README
84 %attr(755,root,root) %{_libdir}/lib*.so.*.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %{_libdir}/lib*.la
90 %{_includedir}/%{name}
91 %{_pkgconfigdir}/*.pc
92 %{_mandir}/man?/*
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.034114 seconds and 3 git commands to generate.