[packages/python-django-voting] new, version 0.2

glen glen at pld-linux.org
Sat Mar 16 23:33:43 CET 2013


commit b16f754c9fee07fe6862b75fc4c8da4dd5a064ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Mar 17 00:33:28 2013 +0200

    new, version 0.2

 python-django-voting.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
---
diff --git a/python-django-voting.spec b/python-django-voting.spec
new file mode 100644
index 0000000..fb66e8a
--- /dev/null
+++ b/python-django-voting.spec
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django-voting.git/commitdiff/b16f754c9fee07fe6862b75fc4c8da4dd5a064ed



More information about the pld-cvs-commit mailing list