2005-10-21 16:07:29 +00:00
|
|
|
Name: libdaemon
|
2005-12-07 18:38:32 +00:00
|
|
|
Version: 0.10
|
2006-02-08 00:10:42 +00:00
|
|
|
Release: 3
|
2005-10-21 16:07:29 +00:00
|
|
|
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.
|
2005-10-21 16:15:30 +00:00
|
|
|
It consists of the following parts:
|
|
|
|
* A wrapper around fork() which does the correct daemonization
|
|
|
|
procedure of a process
|
|
|
|
* A wrapper around syslog() for simpler and compatible log output to
|
|
|
|
Syslog or STDERR
|
|
|
|
* An API for writing PID files
|
|
|
|
* An API for serializing UNIX signals into a pipe for usage with
|
|
|
|
select() or poll()
|
|
|
|
* An API for running subprocesses with STDOUT and STDERR redirected
|
|
|
|
to syslog.
|
2005-10-21 16:07:29 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2005-10-21 16:15:30 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-10-21 16:07:29 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%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
|
2006-02-08 00:10:42 +00:00
|
|
|
* Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.10-3
|
|
|
|
- rebuild for new gcc, glibc, glibc-kernheaders
|
|
|
|
|
2006-01-09 16:40:09 +00:00
|
|
|
* Mon Jan 06 2006 Jason Vas Dias <jvdias@redhat.com> - 0.10-2
|
|
|
|
- rebuild for new gcc / glibc
|
|
|
|
|
2005-12-17 01:57:38 +00:00
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> - 0.10-1.1
|
|
|
|
- rebuild on new gcc
|
|
|
|
|
|
|
|
* Wed Dec 7 2005 Jason Vas Dias <jvdias@redhat.com> - 0.10-1
|
2005-12-07 18:38:32 +00:00
|
|
|
- Update to 0.10
|
|
|
|
|
2005-10-21 16:07:29 +00:00
|
|
|
* Thu Oct 20 2005 Alexander Larsson <alexl@redhat.com> - 0.8-1
|
2005-10-21 16:15:30 +00:00
|
|
|
- Update to 0.8, move from extras to core, split out devel package
|
|
|
|
|
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.6-6
|
|
|
|
- rebuild on all arches
|
|
|
|
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu May 13 2004 Aaron Bennett <aaron.bennett@olin.edu> 0:0.6-0.fdr.4
|
|
|
|
- Added post and postun scripts to run ldconfig
|
|
|
|
- changed group to standard System/Libraries group
|
|
|
|
- removed libtool *.la files
|
|
|
|
|
|
|
|
* Tue May 4 2004 Aaron Bennett <aaron.bennett@olin.edu> 0:0.6.-0.fdr.3
|
|
|
|
- Signed packaged with GPG key
|
|
|
|
|
|
|
|
* Tue May 4 2004 Aaron Bennett <aaron.bennett@olin.edu> - 0:0.6-0.fdr.2
|
|
|
|
- Changed URL and Source tag for Fedora.us packaging compliance
|
|
|
|
- Incremented release tag
|
|
|
|
|
|
|
|
* Thu Apr 29 2004 Aaron Bennett <abennett@olin.edu> - 0:0.6-1
|
|
|
|
- Changed to version 0.6 of libdaemon
|
|
|
|
|
|
|
|
* Wed Mar 31 2004 Aaron Bennett <abennett@olin.edu>
|
|
|
|
- Initial build.
|