This commit is contained in:
parent
fe484fcc7e
commit
ea647dba15
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 04:05:04 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
- libdaemon --> libdaemon0
|
||||
- remove static libraries
|
||||
- remove "la" files
|
||||
- fix -devel package dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 13 22:37:06 CEST 2007 - mauro@suse.de
|
||||
|
||||
|
@ -14,20 +14,53 @@ Name: libdaemon
|
||||
BuildRequires: doxygen
|
||||
Url: http://0pointer.de/lennart/projects/libdaemon/
|
||||
Version: 0.12
|
||||
Release: 15
|
||||
Release: 27
|
||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||
License: LGPL v2 or later
|
||||
License: LGPL v2.1 or later
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: libdaemon-0.10-testd-fix-FD_SET.diff
|
||||
Patch1: bnc-309132.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Prefix: /usr
|
||||
|
||||
%package -n libdaemon0
|
||||
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
||||
Group: System/Libraries
|
||||
Provides: %{name} = %{version}
|
||||
#opensuse 10.3
|
||||
Obsoletes: %{name} <= 0.12
|
||||
|
||||
%description -n libdaemon0
|
||||
libdaemon is a lightweight C library that eases the writing of UNIX
|
||||
daemons. It consists of the following parts:
|
||||
|
||||
* A wrapper around fork() that does the correct daemonization
|
||||
procedure of a process
|
||||
|
||||
* A wrapper around syslog() for simpler log output compatible with
|
||||
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
|
||||
|
||||
APIs like these are used in most daemon software available. It is not
|
||||
that simple to get it done right and code duplication is not a goal.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering <mzqnrzba (at) 0pointer (dot) de>
|
||||
|
||||
%package devel
|
||||
Summary: libdaemon is a lightweight C library that eases the writing of UNIX daemons.
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: libdaemon0 = %{version} glibc-devel
|
||||
|
||||
%description
|
||||
libdaemon is a lightweight C library that eases the writing of UNIX
|
||||
@ -84,40 +117,43 @@ Authors:
|
||||
Lennart Poettering <mzqnrzba (at) 0pointer (dot) de>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure --prefix=/usr --libdir=%{_libdir} --disable-lynx
|
||||
%configure --disable-lynx --disable-static --with-pic
|
||||
make
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f %{buildroot}%{_libdir}/libdaemon.la
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
%post -n libdaemon0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
%postun -n libdaemon0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libdaemon0
|
||||
%defattr (-,root,root)
|
||||
%{_libdir}/libdaemon.so.*
|
||||
%{_libdir}/libdaemon.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr (-,root,root)
|
||||
%{_libdir}/libdaemon.so
|
||||
%{_libdir}/libdaemon.la
|
||||
%{_libdir}/libdaemon.a
|
||||
%{_libdir}/pkgconfig/libdaemon.pc
|
||||
/usr/include/libdaemon
|
||||
%dir %{_includedir}/libdaemon
|
||||
%{_includedir}/libdaemon/*.h
|
||||
|
||||
%changelog
|
||||
* Wed Nov 28 2007 - crrodriguez@suse.de
|
||||
- libdaemon --> libdaemon0
|
||||
- remove static libraries
|
||||
- remove "la" files
|
||||
- fix -devel package dependencies
|
||||
* Thu Sep 13 2007 - mauro@suse.de
|
||||
- Applied a patch from upstream, to fix bnc #309132.
|
||||
* Sun Jul 22 2007 - coolo@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user