52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
Name: icfg
|
|
Version: 0.9
|
|
Release: 18
|
|
Summary: A Command line tool used to edit network configuration files
|
|
License: GPLv2
|
|
URL: https://fedorahosted.org/icfg
|
|
Source0: https://fedorahosted.org/releases/i/c/icfg/%{name}-%{version}.tbz2
|
|
Requires: python3
|
|
BuildArch: noarch
|
|
|
|
Patch0: icfg-python.patch
|
|
Patch1: icfg-python3.patch
|
|
|
|
%description
|
|
Icfg is a command line tool used to handle SysV network interface configuration files.
|
|
It solved the problems of manual editing during the process of editing network interface
|
|
configuration files, and creates a scriptable interface which allows administrators to
|
|
configure (system network interface) during installation without having to roll back
|
|
using a series of sed and awk commands.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
|
|
%install
|
|
install -d %{buildroot}/usr/bin
|
|
install -d %{buildroot}/usr/share/man/man1
|
|
install -m755 -p src/icfg %{buildroot}/usr/bin/icfg
|
|
install -m644 -p doc/icfg.1 %{buildroot}/usr/share/man/man1/icfg.1
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%{_bindir}/icfg
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man1/icfg.1.*
|
|
|
|
%changelog
|
|
* Fri Oct 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9-18
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:change the directory of the license file
|
|
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9-17
|
|
- Package init
|