Репозитории ALT
Группа :: Система/Настройка/Сеть
Пакет: libdaemon
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
Name: libdaemon
Version: 0.12
Release: alt2
Summary: Lightweight C library which eases the writing of UNIX daemons
License: LGPL
Group: System/Configuration/Networking
Url: http://0pointer.de/lennart/projects/libdaemon/
Source: %url/%name-%version.tar.gz
# Automatically added by buildreq on Thu Apr 08 2004
BuildRequires: doxygen gcc-c++ hostinfo libstdc++-devel lynx mailcap
%description
libdaemon is a leightweight C library which 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()
Routines like these are included in most of the daemon software available. It
is not that simple to get it done right and code duplication cannot be a goal.
%package devel
Summary: Development part of libdaemon
License: GPL
Group: Development/C
Requires: %name = %version-%release
%description devel
This is the development part (header files and documentation) for
%name.
%if_enabled static
%package devel-static
Summary: Static libraries from libdaemon
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static library to build statically linked %name
applications.
%endif
%prep
%setup -q
%build
%configure \
%if_disabled static
--disable-static
%endif
%make_build
%make doxygen
%install
%makeinstall
install -d %buildroot%_man3dir
cp -a doc/reference/man/* %buildroot%_mandir/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%files devel
%doc doc/README doc/reference/html/
%_man3dir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/%name/
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: libdaemon
Version: 0.12
Release: alt2
Summary: Lightweight C library which eases the writing of UNIX daemons
License: LGPL
Group: System/Configuration/Networking
Url: http://0pointer.de/lennart/projects/libdaemon/
Source: %url/%name-%version.tar.gz
# Automatically added by buildreq on Thu Apr 08 2004
BuildRequires: doxygen gcc-c++ hostinfo libstdc++-devel lynx mailcap
%description
libdaemon is a leightweight C library which 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()
Routines like these are included in most of the daemon software available. It
is not that simple to get it done right and code duplication cannot be a goal.
%package devel
Summary: Development part of libdaemon
License: GPL
Group: Development/C
Requires: %name = %version-%release
%description devel
This is the development part (header files and documentation) for
%name.
%if_enabled static
%package devel-static
Summary: Static libraries from libdaemon
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This package contains static library to build statically linked %name
applications.
%endif
%prep
%setup -q
%build
%configure \
%if_disabled static
--disable-static
%endif
%make_build
%make doxygen
%install
%makeinstall
install -d %buildroot%_man3dir
cp -a doc/reference/man/* %buildroot%_mandir/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%_libdir/*.so.*
%files devel
%doc doc/README doc/reference/html/
%_man3dir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%_includedir/%name/
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь