From 55ff9da970c8a35bd573a51adbaa85ceda79dbec Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Oct 21 2005 16:07:29 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..20f5bcf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libdaemon-0.8.tar.gz diff --git a/libdaemon.spec b/libdaemon.spec new file mode 100644 index 0000000..0ca8d85 --- /dev/null +++ b/libdaemon.spec @@ -0,0 +1,62 @@ +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 diff --git a/sources b/sources index e69de29..18a1e86 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +49cc7db480c6d7b8ca88b0db8ac275e7 libdaemon-0.8.tar.gz