Author: witekfl Date: Thu Apr 23 07:54:09 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: python-django_reversion.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-django_reversion.spec diff -u /dev/null SPECS/python-django_reversion.spec:1.1 --- /dev/null Thu Apr 23 09:54:09 2009 +++ SPECS/python-django_reversion.spec Thu Apr 23 09:54:03 2009 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +%define module reversion +Summary: Flexible Version Control for Django +Name: python-django_reversion +Version: 1.1.1 +Release: 1 +License: BSD +Group: Development/Languages/Python +Source0: http://django-reversion.googlecode.com/files/django-%{module}-%{version}.tar.gz +# Source0-md5: 6e21ed1a07ea0ff7d2c43537ba43243a +URL: http://code.google.com/p/django-reversion/ +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 +Reversion is an extension to the Django web framework that provides +comprehensive version control facilities. + +Features + +- Roll back to any point in a model's history - an unlimited undo + facility! +- Recover deleted models - never lose data again! +- Admin integration for maximum usability. +- Group related changes into revisions that can be rolled back in a + single transaction. +- Automatically save a new version whenever your model changes using + Django's flexible signalling framework. +- Automate your revision management with easy-to-use middleware. + +Reversion can be easily added to your existing Django project with an +absolute minimum of code changes. + +%prep +%setup -q -n django-%{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} +%{py_sitescriptdir}/django_reversion-%{version}-*.egg-info + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/04/23 07:54:03 witekfl +- new + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
