[pytrailer] initial commit

Stanislav Ochotnicky sochotni at fedoraproject.org
Thu Oct 21 13:46:07 UTC 2010


commit 7a67129f097e9af66057e080b81b29c8356bc98e
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Thu Oct 21 15:45:59 2010 +0200

    initial commit

 .gitignore     |    1 +
 pytrailer.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..63a4375 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytrailer-0.3.1.tar.gz
diff --git a/pytrailer.spec b/pytrailer.spec
new file mode 100644
index 0000000..6e7618f
--- /dev/null
+++ b/pytrailer.spec
@@ -0,0 +1,52 @@
+%if 0%{?fedora} < 13 && 0%{?rhel} < 6
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
+
+Name:           pytrailer
+Version:        0.3.1
+Release:        2%{?dist}
+Summary:        Python module to simplify access to movie trailers on apple.com
+Group:          Development/Libraries
+License:        LGPLv3
+URL:            http://github.com/sochotnicky/%{name}
+Source0:        http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel,python-setuptools
+
+%description
+Pytrailer is very simple python module using JSON and few simple
+regular expressions to simplify access to trailer information on
+www.apple.com/trailers.
+
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE README
+%{python_sitelib}/pytrailer*
+%{python_sitelib}/*.egg-info
+
+%changelog
+* Fri Oct 15 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0.3.1-2
+- Fix License tag to match license of the package
+- Change RPM_BUILD_ROOT to buildroot macro
+
+* Fri Oct 15 2010 Stanislav Ochotnicky <sochotnicky at redhat.com> - 0.3.1-1
+- Initial version of package
diff --git a/sources b/sources
index e69de29..9652cde 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e563e9ecdcb7cf8491d17a9758446b6a  pytrailer-0.3.1.tar.gz


More information about the scm-commits mailing list