[icfg] initial import
Neil Horman
nhorman at fedoraproject.org
Tue Jan 3 16:14:41 UTC 2012
commit 55f6aa0febdb98c919a140e40bb9abecd2bd96f7
Author: Neil Horman <nhorman at tuxdriver.com>
Date: Tue Jan 3 11:14:31 2012 -0500
initial import
.gitignore | 1 +
icfg.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a50649e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/icfg-0.9.tbz2
diff --git a/icfg.spec b/icfg.spec
new file mode 100644
index 0000000..b24799d
--- /dev/null
+++ b/icfg.spec
@@ -0,0 +1,47 @@
+Name: icfg
+Version: 0.9
+Release: 1%{?dist}
+Summary: Command line utility to edit network configuration (icfg-*) files
+Group: System Environment/Base
+License: GPLv2
+URL: https://fedorahosted.org/icfg
+Source0: https://fedorahosted.org/releases/i/c/icfg/%{name}-%{version}.tbz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: python
+BuildArch: noarch
+
+%description
+This is a utility for manipulating SysV network interface configuration files
+(the files matching the glob /etc/sysconfig/network-scripts/icfg-*). These are
+text based files, that are normally easily edited by hand, but in many
+environments hand editing is not desirable (for instance, during kickstart
+installations). Icfg creates a scriptable interface to allow an admin to
+provision a systems network interfaces during install, without having to fall
+back to using a series of sed and awk commands
+
+%prep
+%setup -q
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/usr/bin
+mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
+
+install -m755 -p src/icfg $RPM_BUILD_ROOT/usr/bin/icfg
+install -m644 -p doc/icfg.1 $RPM_BUILD_ROOT/usr/share/man/man1/icfg.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%changelog
+* Mon Dec 12 2011 Neil Horman <nhorman at redhat.com> - 0.9-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..f99cb99 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8cb6d47b5b9970ffb927f2fae089173d icfg-0.9.tbz2
More information about the scm-commits
mailing list