7be89c
Name: libdaemon
7be89c
Version: 0.14
a082fc
Release: 7%{?dist}
7be89c
Summary: Library for writing UNIX daemons
7be89c
Group: System Environment/Libraries
7be89c
License: LGPLv2+
7be89c
URL: http://0pointer.de/lennart/projects/libdaemon/
7be89c
Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
7be89c
7be89c
# Requires lynx to build the docs
7be89c
BuildRequires:  lynx
7be89c
7be89c
%description
7be89c
libdaemon is a lightweight C library which eases the writing of UNIX daemons.
7be89c
It consists of the following parts:
7be89c
* A wrapper around fork() which does the correct daemonization
7be89c
  procedure of a process
7be89c
* A wrapper around syslog() for simpler and compatible log output to
7be89c
  Syslog or STDERR
7be89c
* An API for writing PID files
7be89c
* An API for serializing UNIX signals into a pipe for usage with
7be89c
  select() or poll()
7be89c
* An API for running subprocesses with STDOUT and STDERR redirected
7be89c
  to syslog.
7be89c
7be89c
%package devel
7be89c
Group: Development/Libraries
7be89c
Summary: Libraries and header files for libdaemon development
7be89c
Requires: libdaemon = %{version}-%{release}
7be89c
7be89c
%description devel
7be89c
The libdaemon-devel package contains the header files and libraries
7be89c
necessary for developing programs using libdaemon.
7be89c
7be89c
%prep
7be89c
%setup -q
7be89c
7be89c
%build
7be89c
%configure --disable-static
7be89c
make %{?_smp_mflags}
7be89c
7be89c
%install
7be89c
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
7be89c
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
7be89c
7be89c
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README
7be89c
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README.html
7be89c
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css
7be89c
7be89c
%post -p /sbin/ldconfig
7be89c
7be89c
%postun -p /sbin/ldconfig
7be89c
7be89c
%files
7be89c
%defattr(-,root,root,-)
7be89c
%doc LICENSE README
7be89c
%{_libdir}/*so.*
7be89c
7be89c
%files devel
7be89c
%defattr(-,root,root,-)
7be89c
%doc doc/README.html doc/style.css
7be89c
%{_includedir}/*
7be89c
%{_libdir}/*.so
7be89c
%{_libdir}/pkgconfig/*.pc
7be89c
7be89c
%changelog
a082fc
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.14-7
a082fc
- Mass rebuild 2014-01-24
a082fc
a082fc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.14-6
a082fc
- Mass rebuild 2013-12-27
a082fc
7be89c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-5
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7be89c
7be89c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7be89c
7be89c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7be89c
7be89c
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7be89c
7be89c
* Fri Sep 10 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.14-2
7be89c
- Merge-review cleanup (#225995)
7be89c
7be89c
* Sun Oct 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.14-1
7be89c
- New release 0.14
7be89c
7be89c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7be89c
7be89c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
7be89c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7be89c
7be89c
* Tue Jul 29 2008 Lennart Poettering <lpoetter@redhat.com> - 0.13-1
7be89c
- New release 0.13
7be89c
7be89c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12-3
7be89c
- Autorebuild for GCC 4.3
7be89c
7be89c
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.12-2
7be89c
- Rebuild for selinux ppc32 issue.
7be89c
7be89c
* Wed Jul 11 2007 Lennart Poettering <lpoetter@redhat.com> - 0.12-1
7be89c
- Update to upstream 0.12. (Basically just includes patch from 0.11-2)
7be89c
7be89c
* Mon Jul  2 2007 Dan Williams <dcbw@redhat.com> - 0.11-2
7be89c
- Fix double-free bug when closing daemon file descriptor (avahi.org #148)
7be89c
7be89c
* Fri Jun 22 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.11-1
7be89c
- Upgrade to new upstream version 0.11
7be89c
7be89c
* Thu Apr  5 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.10-4
7be89c
- Resolves: #222855: fileconflict for /usr/share/doc/libdaemon-devel-0.10/Makefile 
7be89c
7be89c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
7be89c
- rebuild
7be89c
7be89c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.10-3.1
7be89c
- bump again for double-long bug on ppc(64)
7be89c
7be89c
* Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.10-3
7be89c
- rebuild for new gcc, glibc, glibc-kernheaders
7be89c
7be89c
* Mon Jan 06 2006 Jason Vas Dias <jvdias@redhat.com> - 0.10-2
7be89c
- rebuild for new gcc / glibc
7be89c
7be89c
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com> - 0.10-1.1
7be89c
- rebuild on new gcc
7be89c
7be89c
* Wed Dec  7 2005 Jason Vas Dias <jvdias@redhat.com> - 0.10-1
7be89c
- Update to 0.10
7be89c
7be89c
* Thu Oct 20 2005 Alexander Larsson <alexl@redhat.com> - 0.8-1
7be89c
- Update to 0.8, move from extras to core, split out devel package
7be89c
7be89c
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.6-6
7be89c
- rebuild on all arches
7be89c
7be89c
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
7be89c
- rebuilt
7be89c
7be89c
* Thu May 13 2004 Aaron Bennett <aaron.bennett@olin.edu> 0:0.6-0.fdr.4
7be89c
- Added post and postun scripts to run ldconfig
7be89c
- changed group to standard System/Libraries group
7be89c
- removed libtool *.la files
7be89c
7be89c
* Tue May 4 2004 Aaron Bennett <aaron.bennett@olin.edu> 0:0.6.-0.fdr.3
7be89c
- Signed packaged with GPG key
7be89c
7be89c
* Tue May 4 2004 Aaron Bennett <aaron.bennett@olin.edu> - 0:0.6-0.fdr.2
7be89c
- Changed URL and Source tag for Fedora.us packaging compliance
7be89c
- Incremented release tag
7be89c
7be89c
* Thu Apr 29 2004 Aaron Bennett <abennett@olin.edu> - 0:0.6-1
7be89c
- Changed to version 0.6 of libdaemon
7be89c
7be89c
* Wed Mar 31 2004 Aaron Bennett <abennett@olin.edu>
7be89c
- Initial build.