[edg-mkgridmap] Initial import (#957815).
Alejandro Alvarez
aalvarez at fedoraproject.org
Thu May 23 15:04:28 UTC 2013
commit c4f97228262e757c22728bfe226b41b0f79cc36f
Author: aalvarez <alejandro.alvarez.ayllon at cern.ch>
Date: Thu May 23 17:03:52 2013 +0200
Initial import (#957815).
.gitignore | 1 +
edg-mkgridmap-disable-docs.patch | 12 ++++++
edg-mkgridmap.spec | 69 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8621e25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/edg-mkgridmap-4.0.0.tar.gz
diff --git a/edg-mkgridmap-disable-docs.patch b/edg-mkgridmap-disable-docs.patch
new file mode 100644
index 0000000..239c19e
--- /dev/null
+++ b/edg-mkgridmap-disable-docs.patch
@@ -0,0 +1,12 @@
+--- Makefile 2011-04-03 17:05:21.000000000 +0200
++++ Makefile-patched 2013-04-29 16:25:44.818079859 +0200
+@@ -43,9 +43,6 @@
+ @install -m 0755 sbin/edg-mkgridmap.pl $(lxc_dir)
+ @install -m 0644 doc/edg-mkgridmap.8 $(man8_dir)
+ @install -m 0644 doc/edg-mkgridmap.conf.5 $(man5_dir)
+- @install -m 0644 AUTHORS $(doc_dir)
+- @install -m 0644 LICENSE $(doc_dir)
+- @install -m 0644 MAINTAINERS $(doc_dir)
+
+ ####################################################################
+ # Build Distribution
diff --git a/edg-mkgridmap.spec b/edg-mkgridmap.spec
new file mode 100644
index 0000000..74ad473
--- /dev/null
+++ b/edg-mkgridmap.spec
@@ -0,0 +1,69 @@
+Name: edg-mkgridmap
+Version: 4.0.0
+Release: 3
+Summary: A tool to build the grid map-file from VO servers
+Group: Applications/Internet
+License: ASL 2.0
+Url: http://jra1mw.cvs.cern.ch:8180/cgi-bin/jra1mw.cgi/Auth/edg-mkgridmap/
+
+Source0: http://jra1mw.cvs.cern.ch:8180/cgi-bin/jra1mw.cgi/Auth/edg-mkgridmap.tar.gz?view=tar&pathrev=v4_0_0#/%{name}-%{version}.tar.gz
+# Avoid doc files from being installed in the wrong place
+# The spec file handles these files using %doc
+Patch0: edg-mkgridmap-disable-docs.patch
+
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Requires: perl(URI)
+Requires: perl(Net::LDAP)
+Requires: perl(Net::LDAPS)
+Requires: perl(Term::ReadKey)
+Requires: perl(IO::Socket::SSL) >= 0.90
+Requires: perl(Net::SSLeay) >= 1.16
+Requires: perl(Crypt::SSLeay)
+Requires: perl(LWP)
+Requires: perl(XML::DOM)
+Requires: perl(Date::Manip)
+
+%description
+edg-mkgridmap is a tool to build the grid map-file from VO servers,
+taking into account both VO and local policies.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p0
+
+# Remove executable bits from doc files
+chmod a-x AUTHORS LICENSE MAINTAINERS
+
+%build
+
+%install
+rm -rf %{buildroot}
+make install prefix=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS LICENSE MAINTAINERS
+%dir %{_libexecdir}/edg-mkgridmap
+%{_libexecdir}/edg-mkgridmap
+%{_libexecdir}/edg-mkgridmap/edg-mkgridmap.pl
+%{_sbindir}/edg-mkgridmap
+%{_mandir}/man5/edg-mkgridmap.conf.5*
+%{_mandir}/man8/edg-mkgridmap.8*
+
+%changelog
+* Wed May 08 2013 <aalvarez at cern.ch> - 4.0.0-3
+- Marking libexec/edg-mkgridmap as owned
+
+* Mon Apr 29 2013 <aalvarez at cern.ch> - 4.0.0-2
+- Preparing for release in Fedora/EPEL
+
+* Sun Apr 3 2011 <Maarten.Litmaath at cern.ch> - 4.0.0-1
+- Adaptations for EMI.
+- Removed obsolete components.
+- Version 4.0.0
+
diff --git a/sources b/sources
index e69de29..efd481a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+610c75f8a4bb727b1b1e53b93e0c4666 edg-mkgridmap-4.0.0.tar.gz
More information about the scm-commits
mailing list