[virtaal] Update to 0.7.0 beta5 Disable profiling option - not useful in production Try to optimise glade by r

dwayne dwayne at fedoraproject.org
Wed Apr 20 15:13:26 UTC 2011


commit 523f52595e7566a4d7f8290b293fbf566daf0f7e
Author: Dwayne Bailey <dwayne at translate.org.za>
Date:   Sat Apr 16 21:45:44 2011 +0200

    Update to 0.7.0 beta5
    Disable profiling option - not useful in production
    Try to optimise glade by removing leading space
    Drop patch for rhbug #675623 - pt spell checking
    Patch no_depcheck - don't perform dependency checks

 .gitignore                                         |    1 +
 sources                                            |    1 +
 ....1-bug611751-libtranslate_error_reporting.patch |   17 -------
 virtaal-0.6.1-bug675623-pt_spellchecking.patch     |   13 -----
 virtaal.spec                                       |   50 ++++++++++++++++----
 5 files changed, 43 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e1935c6..491e051 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 virtaal-0.6.1.tar.bz2
+/virtaal-0.7.0-beta5.tar.bz2
diff --git a/sources b/sources
index 4765586..8697686 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 5a636e1b6302cba4244a017367953227  virtaal-0.6.1.tar.bz2
+74d15c924adbb436525afe405542579e  virtaal-0.7.0-beta5.tar.bz2
diff --git a/virtaal.spec b/virtaal.spec
index ee0aee5..80ace18 100644
--- a/virtaal.spec
+++ b/virtaal.spec
@@ -1,20 +1,26 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
+%global         subrelease beta5
+
 Name:           virtaal
-Version:        0.6.1
-Release:        7%{?dist}
+Version:        0.7.0
+#Release:        1%{?dist}
+Release:        0.6.%{subrelease}%{?dist}
 Summary:        Localization and translation editor
 
 Group:          Development/Tools
 License:        GPLv2+
 URL:            http://translate.sourceforge.net/wiki/virtaal/index
-Source0:        http://sourceforge.net/projects/translate/files/Virtaal/%{version}/%{name}-%{version}.tar.bz2
+# Final releases are found at this URL
+#Source0:        http://sourceforge.net/projects/translate/files/Virtaal/%{version}/%{name}-%{version}.tar.bz2
+# Snapshot releases are found at this URL
+Source0:        http://translate.sourceforge.net/snapshots/%{name}-%{version}-%{subrelease}/%{name}-%{version}-%{subrelease}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch0:         virtaal-0.5.0-setup_drop_MO_generation.patch
 Patch1:         virtaal-0.3.0-autocorr_shared_location.patch
-Patch2:         virtaal-0.6.1-bug611751-libtranslate_error_reporting.patch
-Patch3:         virtaal-0.6.1-bug675623-pt_spellchecking.patch
+Patch2:         virtaal-0.7.0b4-no_depcheck.patch
+Patch3:         virtaal-0.7.0b5-no_profiling.patch
 
 BuildArch:      noarch
 BuildRequires:  python
@@ -26,7 +32,7 @@ BuildRequires:  python-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  gettext
 BuildRequires:  intltool
-Requires:       translate-toolkit >= 1.5.1
+Requires:       translate-toolkit >= 1.9.0
 Requires:       pygtk2
 Requires:       pygtk2-libglade
 %{?fedora:Requires:       pygobject2}
@@ -78,11 +84,14 @@ DTD files, subtitles, and other formats.
 
 
 %prep
-%setup -q
+# Final release setup
+#%setup -q
+# Snapshot setup
+%setup -q -n %{name}-%{version}-%{subrelease}
 %patch0 -p1 -b .setup_drop_MO_generation
 %patch1 -p1 -b .autocorr_shared_location
-%patch2 -p3 -b .bug611751_libtranslate_error
-%patch3 -p1 -b .bug675623_pt_spelling
+%patch2 -p1 -b .no_depcheck
+%patch3 -p1 -b .no_profiling
 
 %build
 %{__python} setup.py build
@@ -94,6 +103,8 @@ do
     msgfmt $po --output-file=locale/$(basename $po .po)/LC_MESSAGES/%{name}.mo
 done
 popd
+# Remove leading space to try optimise IO in loading
+sed -ir "s/^\s*?//" share/virtaal/virtaal.glade
 
 
 %install
@@ -169,12 +180,33 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Apr 20 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.6.beta5
+- Disable profiling option - not useful in production
+- Try to optimise glade by removing leading space
+- Drop patch for rhbug #675623 - pt spell checking
+
+* Sun Apr 17 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.5.beta5
+- Update to 0.7.0 beta5
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.1-7
 - Fix bug #675623 - pt uses pt_BR instead of pt_PT for spell checking
 
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.1-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
+* Fri Jan 22 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.4.beta4
+- Patch no_depcheck - don't perform dependency checks
+
+* Thu Jan 20 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.3.beta4
+- Require translate-tools >= 1.9.0
+
+* Thu Jan 20 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.2.beta4
+- Update to 0.7.0 beta4
+
+* Tue Jan 11 2011 Dwayne Bailey <dwayne at translate.org.za> - 0.7.0-0.1.beta3
+- Update to 0.7.0 beta3
+- Remove patch for bug 611751
+
 * Fri Jul 23 2010 Dwayne Bailey <dwayne at translate.org.za> - 0.6.1-5
 - Install .desktop in a RHEL/Fedora neutral way
 


More information about the scm-commits mailing list