Name: libdaemon Version: 0.8 Release: 1 Summary: library for writing UNIX daemons Group: System Environment/Libraries License: GPL URL: http://www.stud.uni-hamburg.de/users/lennart/projects/libdaemon Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # Requires lynx to build the docs BuildRequires: lynx %description libdaemon is a lightweight C library which eases the writing of UNIX daemons. %package devel Group: Development/Libraries Summary: libraries and header files for libdaemon development Requires: libdaemon = %{version} %description devel The libdaemon-devel package contains the header files and libraries necessary for developing programs using libdaemon. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE README %{_libdir}/*so.* %files devel %defattr(-,root,root) %doc LICENSE README %doc doc/* %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Thu Oct 20 2005 Alexander Larsson - 0.8-1 - Fedora specfile, loosely based on specfile from tarball