rpms/django-sct/F-10 django-sct-0.5-compile.patch, NONE, 1.1 django-sct.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Ignacio Vazquez-Abrams
ivazquez at fedoraproject.org
Wed Apr 8 12:36:26 UTC 2009
- Previous message (by thread): rpms/django-sct/devel django-sct-0.5-compile.patch, NONE, 1.1 django-sct.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ccrtp/EL-5 .cvsignore, 1.5, 1.6 ccrtp.spec, 1.7, 1.8 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ivazquez
Update of /cvs/pkgs/rpms/django-sct/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18346/F-10
Modified Files:
.cvsignore sources
Added Files:
django-sct-0.5-compile.patch django-sct.spec import.log
Log Message:
Initial import
django-sct-0.5-compile.patch:
--- NEW FILE django-sct-0.5-compile.patch ---
diff -up sct-0.5/communitytools/dist/scripts/compile-all-sph-messages.py.admin sct-0.5/communitytools/dist/scripts/compile-all-sph-messages.py
--- sct-0.5/communitytools/dist/scripts/compile-all-sph-messages.py.admin 2009-03-07 08:05:44.000000000 -0500
+++ sct-0.5/communitytools/dist/scripts/compile-all-sph-messages.py 2009-03-07 08:06:50.000000000 -0500
@@ -4,8 +4,7 @@
## Very simple script to compile all language files for all
## SCT apps.
-#from django.bin.compile-messages import compile_messages
-c = __import__('django.bin.compile-messages', None, None, 'compile_messages')
+import django.core.management.commands.compilemessages as c
import os
--- NEW FILE django-sct.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: django-sct
Version: 0.5
Release: 2%{?dist}
Summary: A collection of Django applications for building community websites
Group: Development/Languages
License: BSD
URL: http://sct.sphene.net/
Source0: http://sct-project.googlecode.com/files/sct-0.5.tar.gz
Patch0: django-sct-0.5-compile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel gettext-devel Django
Requires: Django
%description
Sphene Community Tools is a collection of Django applications which can be used
to build community websites, news sites or blogs.
%prep
%setup -q -n sct-%{version}
%patch0 -p 1 -b .admin
find -type f -exec chmod -x {} \;
sed -e 's/\r//' -i communitydraft/community/locale/*/LC_MESSAGES/django.po communitydraft/README
mv communitytools/README communitytools/README.sct
sed -e 's!share/locale!.*/locale!' /usr/lib/rpm/find-lang.sh > my-find-lang.sh
%build
cd communitytools/dist/scripts
python compile-all-sph-messages.py
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
cp -a communitytools/sphenecoll/sphene $RPM_BUILD_ROOT%{python_sitelib}
find $RPM_BUILD_ROOT%{python_sitelib}/sphene -name '*.po' -exec rm {} +
mkdir -p $RPM_BUILD_ROOT%{_datadir}/django-sct
cp -a communitytools/static $RPM_BUILD_ROOT%{_datadir}/django-sct
sh my-find-lang.sh $RPM_BUILD_ROOT django sphene.lst
find $RPM_BUILD_ROOT%{python_sitelib} -mindepth 1 \
\( -name locale -prune \) -o \
-type d -printf '%%%%dir %{python_sitelib}/%%P\n' -o \
! -name '*.py' -printf '%{python_sitelib}/%%P\n' -o \
-printf '%{python_sitelib}/%%P\n' \
-printf '%{python_sitelib}/%%P[co]\n' >> sphene.lst
%clean
rm -rf $RPM_BUILD_ROOT
%files -f sphene.lst
%defattr(-,root,root,-)
%doc AUTHORS LICENSE README communitytools/README.sct
%doc communitytools/examples communitydraft
%{_datadir}/django-sct
%changelog
* Fri Mar 27 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5-2
- Cleaned up some rpmlint errors
* Tue Mar 24 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5-1
- Initial RPM release
--- NEW FILE import.log ---
django-sct-0_5-2:F-10:django-sct-0.5-2.src.rpm:1239194101
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/django-sct/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Apr 2009 02:40:54 -0000 1.1
+++ .cvsignore 8 Apr 2009 12:35:56 -0000 1.2
@@ -0,0 +1 @@
+sct-0.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/django-sct/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2009 02:40:54 -0000 1.1
+++ sources 8 Apr 2009 12:35:56 -0000 1.2
@@ -0,0 +1 @@
+e5980b3a9d6653adbe42107d1810c638 sct-0.5.tar.gz
- Previous message (by thread): rpms/django-sct/devel django-sct-0.5-compile.patch, NONE, 1.1 django-sct.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ccrtp/EL-5 .cvsignore, 1.5, 1.6 ccrtp.spec, 1.7, 1.8 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list