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