move in a separate package and require iana-etc [release 1.1.28-2mamba;Fri Mar 13 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:45:24 +01:00
parent 7c3d1f21e5
commit 6c24a431cc
2 changed files with 9 additions and 19 deletions

View File

@ -1,4 +0,0 @@
#
# The remaining port numbers are not allocated by IANA
#
swat 901/tcp

View File

@ -1,18 +1,14 @@
%define ianaetcver 2.20
%define daemon_id 6 %define daemon_id 6
Name: setup Name: setup
Version: 1.1.28 Version: 1.1.28
Release: 1mamba Release: 2mamba
Summary: A set of system configuration and setup files Summary: A set of system configuration and setup files
Group: System/Configuration Group: System/Configuration
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openmamba.org/packages.html URL: http://git.openmamba.org/openmamba/setup
Source0: setup-%{version}.tar.bz2 Source0: http://gitlab.mambasoft.it/openmamba/setup.git/v%{version}/setup-%{version}.tar.bz2
Source1: http://www.sethwklein.net/projects/iana-etc/downloads/iana-etc-%{ianaetcver}.tar.bz2
Source2: setup-additional-services
License: GPL License: GPL
BuildArch: noarch BuildArch: noarch
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -21,6 +17,7 @@ Requires(post):sed
Requires(post):glibc Requires(post):glibc
Requires(post):/usr/sbin/useradd Requires(post):/usr/sbin/useradd
Requires: /bin/hostname Requires: /bin/hostname
Requires: iana-etc
Provides: /etc/profile.d Provides: /etc/profile.d
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -29,19 +26,15 @@ The setup package contains a set of very important system configuration and setu
You should install the setup package because you will find yourself using its many features for system administration. You should install the setup package because you will find yourself using its many features for system administration.
%prep %prep
%setup -q -a1 %setup -q
%build %build
make -C iana-etc-%{ianaetcver} %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
cat %{S:2} >> iana-etc-%{ianaetcver}/services
install -D -m644 iana-etc-%{ianaetcver}/{protocols,services} \
%{buildroot}%{_sysconfdir}/
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -96,11 +89,12 @@ fi
%dir %{_sysconfdir}/profile.d %dir %{_sysconfdir}/profile.d
%config(noreplace) %{_sysconfdir}/profile.d/*.csh %config(noreplace) %{_sysconfdir}/profile.d/*.csh
%config(noreplace) %{_sysconfdir}/profile.d/*.sh %config(noreplace) %{_sysconfdir}/profile.d/*.sh
%config %{_sysconfdir}/protocols
%config %{_sysconfdir}/services
%doc AUTHORS ChangeLog %doc AUTHORS ChangeLog
%changelog %changelog
* Fri Mar 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.28-2mamba
- move in a separate package and require iana-etc
* Sun Jun 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.28-1mamba * Sun Jun 29 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.28-1mamba
- update to 1.1.28 - update to 1.1.28