rpms/transifex/F-10 transifex-0.5-docdb.patch, NONE, 1.1 import.log, 1.2, 1.3 sources, 1.3, 1.4 transifex.spec, 1.2, 1.3
Ignacio Vazquez-Abrams
ivazquez at fedoraproject.org
Thu Mar 19 03:39:49 UTC 2009
- Previous message (by thread): rpms/transifex/EL-5 transifex-0.5-docdb.patch, NONE, 1.1 import.log, 1.2, 1.3 sources, 1.3, 1.4 transifex.spec, 1.2, 1.3
- Next message (by thread): rpms/transifex/F-9 transifex-0.5-docdb.patch, NONE, 1.1 import.log, 1.2, 1.3 sources, 1.3, 1.4 transifex.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ivazquez
Update of /cvs/pkgs/rpms/transifex/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19721/F-10
Modified Files:
import.log sources transifex.spec
Added Files:
transifex-0.5-docdb.patch
Log Message:
Updated to final release
transifex-0.5-docdb.patch:
--- NEW FILE transifex-0.5-docdb.patch ---
diff -up transifex/docs/Makefile.docdb transifex/docs/Makefile
--- transifex/docs/Makefile.docdb 2009-03-18 23:20:20.000000000 -0400
+++ transifex/docs/Makefile 2009-03-18 23:20:29.000000000 -0400
@@ -3,7 +3,7 @@
# You can set these variables from the command line.
SPHINXOPTS =
-SPHINXBUILD = env PYTHONPATH=".." DJANGO_SETTINGS_MODULE="settings" sphinx-build
+SPHINXBUILD = env PYTHONPATH=".." sphinx-build
PAPER =
# Internal variables.
Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- import.log 18 Mar 2009 04:28:17 -0000 1.2
+++ import.log 19 Mar 2009 03:39:18 -0000 1.3
@@ -1,2 +1,3 @@
transifex-0_5-0_6_rc1_hgc3439806202e:F-10:transifex-0.5-0.6.rc1.hgc3439806202e.src.rpm:1236983958
transifex-0_5-0_7_rc1_hge0ede2b7056e:F-10:transifex-0.5-0.7.rc1.hge0ede2b7056e.src.rpm:1237350460
+transifex-0_5-1:F-10:transifex-0.5-1.src.rpm:1237433919
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 18 Mar 2009 04:28:17 -0000 1.3
+++ sources 19 Mar 2009 03:39:18 -0000 1.4
@@ -1 +1 @@
-68dbdff9944edd69fc94def11bef78ac transifex-0.5.tar.gz
+f5e725ebd397bd67170c9ef3f4331287 transifex-0.5.tar.gz
Index: transifex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/transifex/F-10/transifex.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- transifex.spec 18 Mar 2009 04:28:17 -0000 1.2
+++ transifex.spec 19 Mar 2009 03:39:18 -0000 1.3
@@ -1,22 +1,20 @@
%define confdir %{_sysconfdir}/%{name}
-%define alphatag e0ede2b7056e
Name: transifex
Version: 0.5
-Release: 0.7.rc1%{?dist}.hg%{alphatag}
+Release: 1
Summary: A system for distributed translation submissions
Group: Applications/Internet
License: GPLv2
URL: http://transifex.org/
-# hg clone -r %{alphatag} http://code.transifex.org/mainline/ transifex-0.5
-# tar zcf transifex-0.5.tar.gz transifex-0.5
-Source0: transifex-0.5.tar.gz
+Source0: http://transifex.org/files/transifex-0.5.tar.gz
Source1: django-settings.py.in
+Patch0: transifex-0.5-docdb.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: python-sphinx
+BuildRequires: Django python-sphinx gettext-devel
Requires: Django django-authopenid django-contact-form
Requires: django-notification django-pagination django-tagging
Requires: python-markdown python-pygments
@@ -42,13 +40,17 @@
* git support
%prep
-%setup -q
+%setup -qn %{name}
+%patch0 -p 1 -b .docdb
+sed -e 's!share/locale!.*/locale!' /usr/lib/rpm/find-lang.sh > my-find-lang.sh
%build
rm -rf .hg* build-tools
rm -r vcs/tests
cd docs
make html
+cd ..
+python manage.py compilemessages --settings settings
%install
rm -rf $RPM_BUILD_ROOT
@@ -57,6 +59,7 @@
-name build-tools -o -name docs \) -prune -o -print \) | \
xargs cp -a -t $RPM_BUILD_ROOT/%{_datadir}/%{name}
cp -a *.py $RPM_BUILD_ROOT%{_datadir}/%{name}
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/locale/*/LC_MESSAGES/django.po
for vcs in cvs svn bzr hg git
do
@@ -76,6 +79,8 @@
sed -e 's!\[\[confpath\]\]!%{confdir}!' %{SOURCE1} > \
$RPM_BUILD_ROOT%{_datadir}/%{name}/settings.py
+sh my-find-lang.sh $RPM_BUILD_ROOT django transifex.lst
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -92,7 +97,7 @@
%{confdir}/00-default.conf
fi
-%files
+%files -f transifex.lst
%defattr(-,root,root,-)
%doc LICENSE README docs/_build/html
%dir %{confdir}
@@ -138,7 +143,6 @@
%{_datadir}/%{name}/vcs/lib/types/dummy.py[co]
%{_datadir}/%{name}/vcs/lib/types/hg.py
%{_datadir}/%{name}/vcs/lib/types/hg.py[co]
-%{_datadir}/%{name}/vcs/management/
%dir %{_localstatedir}/lib/%{name}
%dir %{_localstatedir}/lib/%{name}/scratchdir
%dir %{_localstatedir}/lib/%{name}/scratchdir/sources
@@ -166,6 +170,9 @@
%dir %{_localstatedir}/lib/%{name}/scratchdir/sources/git
%changelog
+* Wed Mar 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5-1
+- Updated to final release
+
* Wed Mar 18 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> 0.5-0.7.rc1.hge0ede2b7056e
- Updated from hg
- Previous message (by thread): rpms/transifex/EL-5 transifex-0.5-docdb.patch, NONE, 1.1 import.log, 1.2, 1.3 sources, 1.3, 1.4 transifex.spec, 1.2, 1.3
- Next message (by thread): rpms/transifex/F-9 transifex-0.5-docdb.patch, NONE, 1.1 import.log, 1.2, 1.3 sources, 1.3, 1.4 transifex.spec, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list