provide systemd files from source [release 1.2.5-2mamba;Wed Sep 05 2018]

This commit is contained in:
Silvan Calarco 2024-01-05 17:28:41 +01:00
parent 4ba2cfd6d9
commit 68672aa462

View File

@ -2,7 +2,7 @@
%define userid 59 %define userid 59
Name: rpcbind Name: rpcbind
Version: 1.2.5 Version: 1.2.5
Release: 1mamba Release: 2mamba
Summary: A replacement for portmap required for import or export of NFS shared directories Summary: A replacement for portmap required for import or export of NFS shared directories
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -19,6 +19,7 @@ Patch2: rpcbind-0.2.3-services-sunrpc.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libsystemd-devel
BuildRequires: libtirpc-devel BuildRequires: libtirpc-devel
BuildRequires: libwrap-devel BuildRequires: libwrap-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -53,9 +54,9 @@ autoreconf -fisv
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/rpcbind.service #install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/rpcbind.service
install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/rpcbind.socket #install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/rpcbind.socket
install -D -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/rpcbind #install -D -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/rpcbind
install -d %{buildroot}/var/lib/rpcbind install -d %{buildroot}/var/lib/rpcbind
%clean %clean
@ -86,7 +87,7 @@ fi
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/rpcbind #%config(noreplace) %{_sysconfdir}/sysconfig/rpcbind
%{_sbindir}/rpcbind %{_sbindir}/rpcbind
%{_bindir}/rpcinfo %{_bindir}/rpcinfo
%{_unitdir}/rpcbind.service %{_unitdir}/rpcbind.service
@ -97,6 +98,9 @@ fi
%doc AUTHORS COPYING %doc AUTHORS COPYING
%changelog %changelog
* Wed Sep 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-2mamba
- provide systemd files from source
* Thu Aug 23 2018 Automatic Build System <autodist@mambasoft.it> 1.2.5-1mamba * Thu Aug 23 2018 Automatic Build System <autodist@mambasoft.it> 1.2.5-1mamba
- automatic version update by autodist - automatic version update by autodist