Initial import
This commit is contained in:
parent
bbfe290877
commit
3522a85cfe
2 changed files with 416 additions and 0 deletions
55
python-xmltramp.spec
Normal file
55
python-xmltramp.spec
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: python-xmltramp
|
||||
Version: 2.17
|
||||
Release: 3%{?dist}
|
||||
Summary: Pythonic API for XML
|
||||
|
||||
Group: Development/Languages
|
||||
License: GPLv2
|
||||
# License text is not present in the upstream file, though clearly marked as GPLv2
|
||||
# See https://www.redhat.com/archives/fedora-legal-list/2008-January/msg00010.html
|
||||
|
||||
URL: http://www.aaronsw.com/2002/xmltramp/
|
||||
Source0: http://www.aaronsw.com/2002/xmltramp/xmltramp-%{version}.py
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description
|
||||
xmltramp is a simple Pythonic API for working with XML
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
|
||||
%build
|
||||
# noarch
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{python_sitelib}/
|
||||
cp -p %{SOURCE0} $RPM_BUILD_ROOT/%{python_sitelib}/xmltramp.py
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/xmltramp.py*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 18 2008 David Malcolm <dmalcolm@redhat.com> - 2.17-3
|
||||
- add comment in specfile about the License text
|
||||
|
||||
* Tue Nov 13 2007 David Malcolm <dmalcolm@redhat.com> - 2.17-2
|
||||
- fix License tag
|
||||
- fix capitalization of Summary tag
|
||||
- preserve timestamp when installing
|
||||
|
||||
* Fri Aug 3 2007 David Malcolm <dmalcolm@redhat.com> - 2.17-1
|
||||
- initial packaging
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue