[pakiti] Initial import pakiti

Devresse adev at fedoraproject.org
Fri Dec 19 15:00:19 UTC 2014


commit a3ec39c6fd36b0cb5faadeb4e1ee605a84461f85
Author: Adrien Devresse <adrien.devresse at cern.ch>
Date:   Fri Dec 19 10:00:07 2014 -0500

    Initial import pakiti

 .gitignore  |    1 +
 pakiti.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..42ffead 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pakiti-1f59f72.tar.gz
diff --git a/pakiti.spec b/pakiti.spec
new file mode 100644
index 0000000..c121b3b
--- /dev/null
+++ b/pakiti.spec
@@ -0,0 +1,57 @@
+## github commit ference 
+%global commit 1f59f72da85834a3e686e4a26c9e6bb3410a4389
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global github_name pakiti3
+
+
+Summary:	Patching status monitoring tool
+Name:		pakiti
+Version:	3.0.0
+Release:	1%{?dist}
+URL:		https://github.com/CESNET/pakiti3
+License:	ASL 2.0 and BSD
+Group:		Applications/Internet
+Source0:	%{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch:	noarch
+BuildRequires:	perl
+
+%description
+Runs rpm -qa or dpkg -l on the hosts and sends results to a central server.
+
+Central server then process the results and checks whether the packages are
+installed in the recent version. Central server also provides web GUI where
+all results can be seen.
+
+%package client
+Summary:	Client for the Pakiti tool
+Group:		Utilities/System
+
+%description client
+Runs rpm -qa or dpkg -l, depends on the linux distro. Results are sent to the
+central Pakiti server using openssl s_client or curl.
+
+%prep
+%setup -qn %{github_name}-%{commit} 
+
+%build
+mkdir man
+pod2man --section=1 bin/pakiti-client > man/pakiti-client.1
+
+%install
+rm -rf %{buildroot}
+install -D -m755 bin/pakiti-client   %{buildroot}%{_bindir}/pakiti-client
+install -D -m644 man/pakiti-client.1 %{buildroot}%{_mandir}/man1/pakiti-client.1
+
+%clean
+rm -rf %{buildroot}
+
+%files client
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_mandir}/man?/*
+
+
+%changelog
+* Tue Dec 09 2014 Adrien Devresse <adevress at cern.ch> - 3.0.0-1
+ - Initial release for pakiti 3.0.0
diff --git a/sources b/sources
index e69de29..c31f966 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7be360a6f09fa461ed1df66c0217daab  pakiti-1f59f72.tar.gz


More information about the scm-commits mailing list