libdaemon/libdaemon.spec
2019-09-30 10:55:18 -04:00

66 lines
1.3 KiB
RPMSpec

Name: libdaemon
Version: 0.14
Release: 19
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
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)
%doc README LICENSE
%{_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 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