rpms/transifex/devel transifex.spec,1.11,1.12
Diego Búrigo Zacarão
diegobz at fedoraproject.org
Tue Dec 22 17:09:50 UTC 2009
Author: diegobz
Update of /cvs/pkgs/rpms/transifex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9979
Modified Files:
transifex.spec
Log Message:
Fixed some issues in the SPEC
Index: transifex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/devel/transifex.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- transifex.spec 22 Dec 2009 14:34:38 -0000 1.11
+++ transifex.spec 22 Dec 2009 17:09:50 -0000 1.12
@@ -2,7 +2,7 @@
Name: transifex
Version: 0.7.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A system for distributed translation submissions
Group: Applications/Internet
@@ -55,15 +55,9 @@ cd transifex
rm -rf .hg* build-tools
rm -r vcs/tests
python manage.py syncdb --noinput # Setup DB tables
-#python manage.py migrate # Setup more DB tables
-#python manage.py txcreatelanguages # Create a standard set of languages
-#python manage.py txcreatenoticetypes # Create a standard set of notice types
-#python manage.py txcompilemessages # Create message catalogs for i18n
-cd ..
-cd docs
-make html
-cd ..
-find transifex/locale -name django.po -execdir msgfmt --check-format -o django.mo {} \;
+python manage.py migrate # Setup more DB tables
+python manage.py txcreatelanguages # Create a standard set of languages
+python manage.py txcompilemessages # Create message catalogs for i18n
%install
rm -rf $RPM_BUILD_ROOT
@@ -73,6 +67,7 @@ find -mindepth 1 -maxdepth 1 -type d \(
-name build-tools -o -name docs -o -name settings \) -prune -o \
-print \) | xargs cp -a -t $RPM_BUILD_ROOT/%{_datadir}/%{name}
cp -a *.py $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a *.db.sqlite $RPM_BUILD_ROOT%{_datadir}/%{name}
find $RPM_BUILD_ROOT%{_datadir}/%{name}/locale -name \*.po -exec rm {} +
for vcs in cvs svn bzr hg git tar
@@ -134,6 +129,7 @@ fi
%{_datadir}/%{name}/settings.py[co]
%{_datadir}/%{name}/urls.py
%{_datadir}/%{name}/urls.py[co]
+%{_datadir}/%{name}/transifex.db.sqlite
%{_datadir}/%{name}/actionlog
%{_datadir}/%{name}/codebases
%{_datadir}/%{name}/external
@@ -205,6 +201,13 @@ fi
%dir %{_localstatedir}/lib/%{name}/scratchdir/sources/git
%changelog
+* Tue Dec 22 2009 Diego Búrigo Zacarão <diegobz at indifex.com> - 0.7.3-2
+- Changed SPEC for copying the SQLite database.
+- Do not try to build the docs, once the 0.7.3 tarball does not have a
+ Makefile for it.
+- It is not necessary anymore to create the .mo files manually. The management
+ command txcompilemessages does it.
+
* Tue Dec 22 2009 Rakesh Pandit <rakesh at fedoraproject.org> - 0.7.3
- (patched by petersen) Updated to 0.7.3, for details:
- http://code.transifex.org/index.cgi/tx-0.7.x/file/0fafc780e303/docs/releases/0.7.txt
More information about the fedora-extras-commits
mailing list