jbenc pushed to plotnetcfg (epel7). "Initial import (bz#1212157)"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 28 12:41:05 UTC 2015


>From 0b23a639d9e0ffedbbcd6b2b737ab28e678d938c Mon Sep 17 00:00:00 2001
From: Jiri Benc <jbenc at redhat.com>
Date: Tue, 28 Apr 2015 14:19:33 +0200
Subject: Initial import (bz#1212157)


diff --git a/.gitignore b/.gitignore
index e69de29..6aec1a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plotnetcfg-0.3-d79ff1d.tar.gz
diff --git a/plotnetcfg.spec b/plotnetcfg.spec
new file mode 100644
index 0000000..0b8b456
--- /dev/null
+++ b/plotnetcfg.spec
@@ -0,0 +1,39 @@
+%global commit d79ff1d8f69a25083c54acf010e319d70be998c1
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name:           plotnetcfg
+Version:        0.3
+Release:        1%{?dist}
+Summary:        A tool to plot network configuration
+
+Group:          Applications/System
+# The entire source code is GPLv2+ except parson/ which is MIT
+License:        GPLv2+ and MIT
+URL:            https://github.com/jbenc/plotnetcfg
+Source0:        https://github.com/jbenc/plotnetcfg/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+# https://fedorahosted.org/fpc/ticket/525
+Provides:       bundled(parson)
+
+%description
+plotnetcfg is a tool that output a diagram of network configuration on the
+host in a form suitable for graphviz.
+
+%prep
+%setup -q -n %{name}-%{commit}
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+%make_install
+
+%files
+%license COPYING
+%doc README
+%{_sbindir}/plotnetcfg
+%{_mandir}/man8/*
+
+%changelog
+* Wed Apr 15 2015 Jiri Benc <jbenc at redhat.com> - 0.3-1
+- initial packaging
diff --git a/sources b/sources
index e69de29..f354e1f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1def8c76fdd74e8e5f77167db9748e2b  plotnetcfg-0.3-d79ff1d.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/plotnetcfg.git/commit/?h=epel7&id=0b23a639d9e0ffedbbcd6b2b737ab28e678d938c


More information about the scm-commits mailing list