]> git.pld-linux.org Git - packages/python-django-voting.git/commitdiff
new, version 0.2 auto/th/python-django-voting-0.2-1
authorElan Ruusamäe <glen@delfi.ee>
Sat, 16 Mar 2013 22:33:28 +0000 (00:33 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 16 Mar 2013 22:33:28 +0000 (00:33 +0200)
python-django-voting.spec [new file with mode: 0644]

diff --git a/python-django-voting.spec b/python-django-voting.spec
new file mode 100644 (file)
index 0000000..fb66e8a
--- /dev/null
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%define        module  django-voting
+Summary:       Generic voting application for Django
+Name:          python-%{module}
+Version:       0.2
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+Source0:       https://pypi.python.org/packages/source/d/django-voting/django-voting-%{version}.tar.gz
+# Source0-md5: d4dbc8c0530f127027f6af6e76f91ead
+URL:           https://pypi.python.org/pypi/django-voting
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a generic voting application for Django projects.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/voting/tests
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.txt INSTALL.txt LICENSE.txt README.txt docs/overview.txt
+%dir %{py_sitescriptdir}/voting
+%{py_sitescriptdir}/voting/*.py[co]
+%{py_sitescriptdir}/voting/migrations
+%{py_sitescriptdir}/voting/templatetags
+%{py_sitescriptdir}/django_voting-%{version}-py*.egg-info
This page took 0.074617 seconds and 4 git commands to generate.