[python-confparser/el5] Adding el5 adding .src.rpm, .tar.gz, spec

Douglas Schilling Landgraf dougsland at fedoraproject.org
Fri Jul 29 15:21:53 UTC 2011


commit 30b7465370aa72e63eef6bf241d6743ffd75be48
Author: Douglas Schilling Landgraf <dougsland at redhat.com>
Date:   Fri Jul 29 12:45:15 2011 -0300

    Adding el5 adding .src.rpm, .tar.gz, spec

 python-confparser-1.0.0-3.fc13.src.rpm |  Bin 0 -> 18222 bytes
 python-confparser-1.0.0.tar.gz         |  Bin 0 -> 14601 bytes
 python-confparser.spec                 |   58 ++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/python-confparser-1.0.0-3.fc13.src.rpm b/python-confparser-1.0.0-3.fc13.src.rpm
new file mode 100644
index 0000000..cfb99e7
Binary files /dev/null and b/python-confparser-1.0.0-3.fc13.src.rpm differ
diff --git a/python-confparser-1.0.0.tar.gz b/python-confparser-1.0.0.tar.gz
new file mode 100644
index 0000000..a903250
Binary files /dev/null and b/python-confparser-1.0.0.tar.gz differ
diff --git a/python-confparser.spec b/python-confparser.spec
new file mode 100644
index 0000000..475d934
--- /dev/null
+++ b/python-confparser.spec
@@ -0,0 +1,58 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name:           python-confparser
+Version:        1.0.0
+Release:        3%{?dist}
+Summary:        A KISS python module to parse *nix config files
+
+Group:          Development/Libraries
+License:        LGPLv2+
+URL:            https://github.com/dougsland/python-confparser/wiki
+Source0:        https://github.com/dougsland/python-confparser/raw/master/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires: python-devel, python-setuptools-devel
+
+%description
+Parser for *nix config files
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc README COPYING
+%{python_sitelib}/confparser.py*
+%{python_sitelib}/*.egg-info
+
+%changelog
+* Wed Jul 27 2011 Douglas Schilling Landgraf <dougsland at redhat.com> 1.0.0-3
+- Renamed project/module name to python-confparser
+- Fixed the BuildArch space
+- Fixed the spec to fit the new project/module name
+
+* Tue Jul 26 2011 Douglas Schilling Landgraf <dougsland at redhat.com> 1.0.0-2
+- Don't repeat the name in the summary.
+- Fixed BuildArchitectures is practically always written short as BuildArch.
+- Fixed License tag is incorrect, it should be LGPLv2+.
+- Added python-devel, which is required for python packages.
+- Fixed BuildRequires
+- Added COPYING to doc.
+- Fixed python_sitelib macro
+- Added python macro to all python entries
+- Improved Summary
+
+* Mon Jul 25 2011 Douglas Schilling Landgraf <dougsland at redhat.com> 1.0.0
+- Initial Commit


More information about the scm-commits mailing list