diff --git a/.gitignore b/.gitignore index e69de29..4c092fe 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/glue-validator-1.0.2.tar.gz diff --git a/glue-validator.spec b/glue-validator.spec new file mode 100644 index 0000000..5b7745d --- /dev/null +++ b/glue-validator.spec @@ -0,0 +1,56 @@ +%if 0%{?rhel} <= 5 +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%endif +Summary: A validation framework for Grid information providers +Name: glue-validator +Version: 1.0.2 +Release: 3%{?dist} +# The source for this package was pulled from upstream's vcs. Use the +# following commands to generate the tarball: +# svn export http://svnweb.cern.ch/guest/gridinfo/glue-validator/tags/R_1_0_2 %{name}-%{version} +# tar -czvf %{name}-%{version}.tar.gz %{name}-%{version} +Source0: %{name}-%{version}.tar.gz +License: ASL 2.0 +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +BuildArch: noarch +BuildRequires: python-devel +Requires: openldap-clients +Url: http://cern.ch/glue + +%description +A validation framework for Grid information providers. +This framework validates the information return against the GLUE information +model from the Open Grid Forum. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_mandir}/man1 +install -p -m 0644 man/glue-validator.1 %{buildroot}%{_mandir}/man1 + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE +%{python_sitelib}/* +%{_bindir}/glue-validator +%{_mandir}/man1/glue-validator.1* + +%changelog +* Tue Dec 20 2011 Laurence Field - 1.0.2-3 +- A couple of small spec file fixes +* Wed Dec 14 2011 Laurence Field - 1.0.2-1 +- New upstream version and packaging improvements +* Mon Dec 05 2011 Laurence Field - 1.0.1-1 +- New upstream version and packaging improvements +* Fri Nov 11 2011 Laurence Field - 1.0.0-1 +- Initial Release diff --git a/sources b/sources index e69de29..6f9ba05 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fa0338b39744f9cc2ee7f19afa179d23 glue-validator-1.0.2.tar.gz