libdaemon/libdaemon.spec

81 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:55:18 -04:00
Name: libdaemon
Version: 0.14
Release: 21
2019-09-30 10:55:18 -04:00
Summary: A lightweight daemon framework in C
License: LGPLv2+
URL: http://0pointer.de/lennart/projects/libdaemon/
Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
Patch0001:0001-examples-testd.c-fix-some-typos.patch
2019-09-30 10:55:18 -04:00
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
%make_build
%install
%make_install
%check
make check
%ldconfig_scriptlets
%files
%defattr(-,root,root)
2019-11-06 19:37:31 +08:00
%doc README
%license LICENSE
2019-09-30 10:55:18 -04:00
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.a
%{_libdir}/*.la
%files help
%doc doc/README.html doc/style.css
%{_datadir}/doc/%{name}/*
%changelog
* 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
2019-11-06 19:37:31 +08:00
* Fri Oct 18 2019 fangyufa<fangyufa1@huawei.com> - 0.14-20
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix spec in openEuler rule
2019-09-30 10:55:18 -04:00
* 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