[stardict] update to 3.0.4

paragn paragn at fedoraproject.org
Wed Jan 16 12:56:16 UTC 2013


commit 224ecc36a69912e984c2b7816143d1b349e1e5c3
Author: Parag Nemade <pnemade at redhat.com>
Date:   Wed Jan 16 18:27:55 2013 +0530

    update to 3.0.4
    
    - thanks to Robin Lee for configure patch

 stardict-3.0.1-gcc46.patch         |   11 -----------
 stardict-default-netdict-off.patch |   26 --------------------------
 stardict-glib2.patch               |   11 -----------
 stardict.spec                      |   34 +++++++++++++++++++---------------
 4 files changed, 19 insertions(+), 63 deletions(-)
---
diff --git a/stardict.spec b/stardict.spec
index e976db9..f14a2e6 100644
--- a/stardict.spec
+++ b/stardict.spec
@@ -1,22 +1,21 @@
 Name:		stardict
 Summary:        A powerful dictionary platform written in GTK+2
-Version:        3.0.2
-Release:        6%{?dist}
+Version:        3.0.4
+Release:        1%{?dist}
 Group:          Applications/System
 License:        GPLv3
-URL:            http://stardict.sourceforge.net
-Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+URL:            http://code.google.com/p/stardict-3/
+Source0:        http://stardict-3.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:        defaultdict.cfg
-Patch1:         stardict-default-netdict-off.patch
-Patch2:         stardict-3.0.1-gcc46.patch
-Patch3:         stardict-glib2.patch
+# http://code.google.com/p/stardict-3/issues/detail?id=45
+Patch1:         stardict-3.0.4-configure.patch
 
 BuildRequires: GConf2
 Requires(pre): GConf2
 Requires(post): GConf2
 Requires(preun): GConf2
 #Requires: festival, speech-tools
-#BuildRequires: autoconf, automake, libtool, gettext
+BuildRequires: autoconf, automake, libtool, gettext
 BuildRequires: desktop-file-utils
 BuildRequires: enchant-devel
 BuildRequires: intltool
@@ -25,6 +24,8 @@ BuildRequires: libgnomeui-devel
 BuildRequires: libsigc++20-devel
 BuildRequires: perl-XML-Parser
 BuildRequires: rarian-compat
+BuildRequires: pcre-devel, mysql-devel
+
 #Bz #641955: remove gucharmap dependency as gucharmap use gtk3, but stardict still use gtk2.
 #BuildRequires: festival-devel, speech-tools-devel, espeak-devel
 
@@ -35,17 +36,17 @@ scan selection, and fuzzy matching.
 
 %prep
 %setup -q
-%patch1 -p1 -b .orig
-%patch2 -p1 -b .orig
-%patch3 -p1 -b .glib2
+%patch1 -p1 -b .configure
 
 # Remove unneeded sigc++ header files to make it sure
 # that we are using system-wide libsigc++
 # (and these does not work on gcc43)
-find src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f
+find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f
 
+chmod 644 COPYING
 
 %build
+autoreconf
 %configure --disable-schemas-install --disable-festival --disable-espeak --disable-gucharmap
 make -k %{_smp_mflags}
 
@@ -66,7 +67,6 @@ rm -f `find $RPM_BUILD_ROOT%{_libdir}/stardict/plugins -name "*.la"`
 
 
 %files -f %{name}.lang
-%defattr(-, root, root)
 %{_bindir}/stardict
 %{_datadir}/applications/*.desktop
 %{_datadir}/stardict
@@ -80,8 +80,8 @@ rm -f `find $RPM_BUILD_ROOT%{_libdir}/stardict/plugins -name "*.la"`
 %{_datadir}/omf/*
 %{_mandir}/man1/*
 %doc %{_datadir}/gnome/help/stardict
-%doc README COPYING ChangeLog AUTHORS doc/FAQ doc/HACKING doc/HowToCreateDictionary doc/StarDictFileFormat doc/Translation
-
+%doc README COPYING ChangeLog AUTHORS
+%doc dict/doc/FAQ dict/doc/HACKING dict/doc/HowToCreateDictionary dict/doc/StarDictFileFormat dict/doc/Translation
 
 %pre
 %gconf_schema_prepare %{name}
@@ -94,6 +94,10 @@ rm -f `find $RPM_BUILD_ROOT%{_libdir}/stardict/plugins -name "*.la"`
 
 
 %changelog
+* Wed Jan 16 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 3.0.4-1
+- update to 3.0.4
+- thanks to Robin Lee for configure patch
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list