2006-12-14 17:54:19 +01:00
|
|
|
#
|
2012-02-15 16:15:48 +01:00
|
|
|
# spec file for package libdaemon
|
2006-12-14 17:54:19 +01:00
|
|
|
#
|
2021-08-30 09:30:14 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2006-12-14 17:54:19 +01:00
|
|
|
#
|
2008-11-28 15:25:53 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2021-08-30 09:30:14 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-14 17:54:19 +01:00
|
|
|
#
|
|
|
|
|
2008-11-28 15:25:53 +01:00
|
|
|
|
2006-12-14 17:54:19 +01:00
|
|
|
Name: libdaemon
|
2010-10-08 01:20:38 +02:00
|
|
|
Version: 0.14
|
2012-02-15 16:15:48 +01:00
|
|
|
Release: 0
|
2006-12-14 17:54:19 +01:00
|
|
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
2021-08-30 09:30:14 +02:00
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
URL: http://0pointer.de/lennart/projects/libdaemon
|
2015-03-13 12:22:41 +01:00
|
|
|
Source: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
|
2010-10-08 01:20:38 +02:00
|
|
|
BuildRequires: doxygen
|
2017-03-24 15:47:34 +01:00
|
|
|
BuildRequires: pkgconfig
|
2007-12-06 01:06:18 +01:00
|
|
|
|
2010-10-08 01:20:38 +02:00
|
|
|
%description
|
|
|
|
libdaemon is a lightweight C library that eases the writing of UNIX
|
|
|
|
daemons.
|
|
|
|
|
2007-12-06 01:06:18 +01:00
|
|
|
%package -n libdaemon0
|
|
|
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
2021-08-30 09:30:14 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2007-12-06 01:06:18 +01:00
|
|
|
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
|
2010-10-08 01:20:38 +02:00
|
|
|
daemons.
|
2007-09-14 00:44:45 +02:00
|
|
|
|
2006-12-14 17:54:19 +01:00
|
|
|
%package devel
|
2010-10-08 01:20:38 +02:00
|
|
|
Summary: Lightweight C library That Eases the Writing of UNIX Daemons
|
2021-08-30 09:30:14 +02:00
|
|
|
License: GPL-2.0-or-later
|
2006-12-14 17:54:19 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-10-08 01:20:38 +02:00
|
|
|
Requires: glibc-devel
|
2015-03-13 12:22:41 +01:00
|
|
|
Requires: libdaemon0 = %{version}
|
2006-12-14 17:54:19 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libdaemon is a lightweight C library that eases the writing of UNIX
|
2010-10-08 01:20:38 +02:00
|
|
|
daemons.
|
2006-12-14 17:54:19 +01:00
|
|
|
|
|
|
|
%prep
|
2021-08-30 09:30:14 +02:00
|
|
|
%autosetup
|
2006-12-14 17:54:19 +01:00
|
|
|
|
|
|
|
%build
|
2010-10-08 01:20:38 +02:00
|
|
|
%configure \
|
2015-03-13 12:22:41 +01:00
|
|
|
--disable-static \
|
2010-10-08 01:20:38 +02:00
|
|
|
--disable-lynx
|
2021-08-30 09:30:14 +02:00
|
|
|
%make_build
|
2006-12-14 17:54:19 +01:00
|
|
|
|
|
|
|
%install
|
2017-03-24 15:47:34 +01:00
|
|
|
%make_install
|
2012-02-15 16:15:48 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/libdaemon.la
|
2010-10-08 01:20:38 +02:00
|
|
|
# We don't care about the HTML README
|
|
|
|
rm %{buildroot}%{_datadir}/doc/libdaemon/{README.html,style.css}
|
2006-12-14 17:54:19 +01:00
|
|
|
|
2007-12-06 01:06:18 +01:00
|
|
|
%post -n libdaemon0 -p /sbin/ldconfig
|
|
|
|
%postun -n libdaemon0 -p /sbin/ldconfig
|
2006-12-14 17:54:19 +01:00
|
|
|
|
2007-12-06 01:06:18 +01:00
|
|
|
%files -n libdaemon0
|
2010-10-08 01:20:38 +02:00
|
|
|
%doc LICENSE README
|
2012-02-15 16:15:48 +01:00
|
|
|
%{_libdir}/libdaemon.so.0*
|
2006-12-14 17:54:19 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/libdaemon.so
|
|
|
|
%{_libdir}/pkgconfig/libdaemon.pc
|
2007-12-06 01:06:18 +01:00
|
|
|
%dir %{_includedir}/libdaemon
|
|
|
|
%{_includedir}/libdaemon/*.h
|
2006-12-14 17:54:19 +01:00
|
|
|
|
2007-07-05 00:43:19 +02:00
|
|
|
%changelog
|