rpms/virtaal/F-10 virtaal-0.3beta1-setup_drop_MO_generation.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 virtaal.spec, 1.1, 1.2 virtaal-0.2-setup_drop_MO_generation.patch, 1.1, NONE
Dwayne Bailey
dwayne at fedoraproject.org
Tue Feb 3 14:50:34 UTC 2009
Author: dwayne
Update of /cvs/pkgs/rpms/virtaal/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23198
Modified Files:
.cvsignore sources virtaal.spec
Added Files:
virtaal-0.3beta1-setup_drop_MO_generation.patch
Removed Files:
virtaal-0.2-setup_drop_MO_generation.patch
Log Message:
* Tue Feb 3 2009 Dwayne Bailey <dwayne at translate.org.za> - 0.3-0.1.rc1
- Update for 0.3-rc1
- Refresh MO setup patch
virtaal-0.3beta1-setup_drop_MO_generation.patch:
--- NEW FILE virtaal-0.3beta1-setup_drop_MO_generation.patch ---
diff -up virtaal-0.3beta1/setup.py.setup_drop_MO_generation virtaal-0.3beta1/setup.py
--- virtaal-0.3beta1/setup.py.setup_drop_MO_generation 2009-01-22 19:32:07.000000000 +0200
+++ virtaal-0.3beta1/setup.py 2009-01-22 22:28:32.000000000 +0200
@@ -60,23 +60,6 @@ classifiers = [
]
#TODO: add Natural Language classifiers
-# Compile .mo files from available .po files
-from translate.tools.pocompile import convertmo
-mo_files = []
-
-for po_filename in glob.glob(path.join('po', '*.po')):
- lang = path.split(po_filename[:-3])[1] # Chop off '.po'
- mo_filename = path.join('mo', lang, 'virtaal.mo')
-
- if not path.exists(path.join('mo', lang)):
- os.makedirs(path.join('mo', lang))
-
- convertmo(open(po_filename), open(mo_filename, 'w'), None)
-
- mo_files.append(
- ( path.join(TARGET_DATA_DIR, 'locale', lang, 'LC_MESSAGES'), [mo_filename])
- )
-
# Some of these depend on some files to be built externally before running
# setup.py, like the .xml and .desktop files
options = {
@@ -84,7 +67,7 @@ options = {
(path.join(TARGET_DATA_DIR, "virtaal"), glob.glob(path.join(SOURCE_DATA_DIR, "virtaal", "*.*"))),
(path.join(TARGET_DATA_DIR, "virtaal", "autocorr"), glob.glob(path.join(SOURCE_DATA_DIR, "virtaal", "autocorr", "*"))),
(path.join(TARGET_DATA_DIR, "icons"), glob.glob(path.join(SOURCE_DATA_DIR, "icons", "*.*"))),
- ] + mo_files,
+ ],
'scripts': [
"bin/virtaal",
],
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-10/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 4 Jan 2009 21:58:02 -0000 1.2
+++ .cvsignore 3 Feb 2009 14:50:03 -0000 1.3
@@ -1 +1,2 @@
virtaal-0.2.tar.bz2
+virtaal-0.3-rc1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-10/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 4 Jan 2009 21:58:02 -0000 1.2
+++ sources 3 Feb 2009 14:50:03 -0000 1.3
@@ -1 +1,2 @@
cd01398cc6c916317829a88c72af2253 virtaal-0.2.tar.bz2
+210be56096fe24f4d5d2709f1aab6635 virtaal-0.3-rc1.tar.bz2
Index: virtaal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/virtaal/F-10/virtaal.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- virtaal.spec 4 Jan 2009 21:58:02 -0000 1.1
+++ virtaal.spec 3 Feb 2009 14:50:03 -0000 1.2
@@ -1,17 +1,18 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: virtaal
-Version: 0.2
-Release: 2%{?dist}
+Version: 0.3
+Release: 0.1.rc1%{?dist}
Summary: Localization and translation editor
Group: Development/Tools
License: GPLv2+
URL: http://translate.sourceforge.net/wiki/virtaal/index
-Source0: http://downloads.sourceforge.net/translate/%{name}-%{version}.tar.bz2
+#Source0: http://downloads.sourceforge.net/translate/%{name}-%{version}.tar.bz2
+Source0: http://translate.sourceforge.net/snapshots/virtaal-0.3-rc1/virtaal-0.3-rc1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0: virtaal-0.2-setup_drop_MO_generation.patch
+Patch0: virtaal-0.3beta1-setup_drop_MO_generation.patch
BuildArch: noarch
BuildRequires: python
@@ -19,7 +20,7 @@
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: intltool
-Requires: translate-toolkit >= 1.2
+Requires: translate-toolkit >= 1.3
Requires: pygtk2
Requires: pygtk2-libglade
Requires: python-lxml
@@ -42,8 +43,8 @@
%prep
-%setup -q -n %{name}-%{version}
-%patch0 -p1
+%setup -q -n %{name}-%{version}-rc1
+%patch0 -p1 -b .setup_drop_MO_generation
%build
%{__python} setup.py build
@@ -103,6 +104,10 @@
%changelog
+* Tue Feb 3 2009 Dwayne Bailey <dwayne at translate.org.za> - 0.3-0.1.rc1
+- Update for 0.3-rc1
+- Refresh MO setup patch
+
* Sat Dec 6 2008 Dwayne Bailey <dwayne at translate.org.za> - 0.2-2
- Cleanups from package review
--- virtaal-0.2-setup_drop_MO_generation.patch DELETED ---
More information about the fedora-extras-commits
mailing list