2024-01-06 04:04:05 +01:00
|
|
|
Name: libdaemon
|
|
|
|
Version: 0.14
|
2024-01-06 04:04:05 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 04:04:05 +01:00
|
|
|
Summary: A lightweight C library that eases the writing of UNIX daemons
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://0pointer.de/lennart/projects/libdaemon/
|
|
|
|
Source: http://0pointer.de/lennart/projects/libdaemon/libdaemon-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libdaemon is a lightweight C library that eases the writing of UNIX daemons. 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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libdaemon is a lightweight C library that eases the writing of UNIX daemons. 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.
|
|
|
|
|
2024-01-06 04:04:05 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:04:05 +01:00
|
|
|
|
2024-01-06 04:04:05 +01:00
|
|
|
%debug_package
|
2024-01-06 04:04:05 +01:00
|
|
|
|
2024-01-06 04:04:05 +01:00
|
|
|
%prep
|
2024-01-06 04:04:05 +01:00
|
|
|
%setup -q
|
2024-01-06 04:04:05 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
2024-01-06 04:04:05 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libdaemon.so.*
|
|
|
|
%doc LICENSE README
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libdaemon
|
|
|
|
%{_includedir}/libdaemon/*.h
|
|
|
|
%{_libdir}/libdaemon.so
|
|
|
|
%{_libdir}/libdaemon.a
|
|
|
|
%{_libdir}/libdaemon.la
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_docdir}/libdaemon/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:04:05 +01:00
|
|
|
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14-2mamba
|
|
|
|
- rebuilt with debug package and build fix for aarch64
|
|
|
|
|
2024-01-06 04:04:05 +01:00
|
|
|
* Wed Oct 21 2009 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
|
|
|
|
- package created by autospec
|