Package init
This commit is contained in:
commit
635a10005b
BIN
libdaemon-0.14.tar.gz
Normal file
BIN
libdaemon-0.14.tar.gz
Normal file
Binary file not shown.
65
libdaemon.spec
Normal file
65
libdaemon.spec
Normal file
@ -0,0 +1,65 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user