libdaemon/libdaemon.spec
Funda Wang 8ba0f999e3 cleanup spec
(cherry picked from commit 9af44548086d668e04fd9d3230ece057ac92f64f)
2024-09-05 18:06:57 +08:00

79 lines
1.6 KiB
RPMSpec

Name: libdaemon
Version: 0.14
Release: 22
Summary: A lightweight daemon framework in C
License: LGPL-2.1-or-later
URL: https://0pointer.de/lennart/projects/libdaemon/
Source0: https://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
Patch0001:0001-examples-testd.c-fix-some-typos.patch
BuildRequires: gcc lynx
%description
libdaemon is a lightweight C library that eases the writing of UNIX daemons.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Development files for %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%check
%make_build check
%files
%doc README
%license LICENSE
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files help
%doc doc/README.html doc/style.css
%{_datadir}/doc/%{name}/*
%changelog
* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 0.14-22
- cleanup spec
* Tue May 31 2022 Bin Hu<hubin73@huawei.com> - 0.14-21
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:examples/testd.c: fix some typos
* Fri Oct 18 2019 fangyufa<fangyufa1@huawei.com> - 0.14-20
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix spec in openEuler rule
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 0.14-19
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise help package
* Mon Sep 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.14-18
- Modify Spec
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.14-17
- Package init