SPECS: python-django_tagging.spec (NEW) - initial release

emes emes at pld-linux.org
Thu Sep 18 15:50:03 CEST 2008


Author: emes                         Date: Thu Sep 18 13:50:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   python-django_tagging.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-django_tagging.spec
diff -u /dev/null SPECS/python-django_tagging.spec:1.1
--- /dev/null	Thu Sep 18 15:50:03 2008
+++ SPECS/python-django_tagging.spec	Thu Sep 18 15:49:58 2008
@@ -0,0 +1,56 @@
+%define		module		tagging
+Summary:	A generic tagging application for Django projects.
+Summary(pl.UTF-8):	Aplikacja do obsługi tagów w projektach Django.
+Name:		python-django_tagging
+Version:	0.2
+Release:	1
+License:	MIT
+Group:		Development/Languages/Python
+Source0:	http://django-tagging.googlecode.com/files/%{module}-%{version}.zip
+# Source0-md5:	b2e50e65ae11af31a36ef34b13a2bfb1
+URL:		http://code.google.com/p/django-tagging/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+#%pyrequires_eq	python-libs
+%pyrequires_eq	python-modules
+Requires:	python-django >= 1.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{module}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/09/18 13:49:58  emes
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list