rpms/stardict/devel stardict.spec,1.32,1.33
Hu Zheng (zhu)
fedora-extras-commits at redhat.com
Mon Aug 13 06:58:21 UTC 2007
Author: zhu
Update of /cvs/pkgs/rpms/stardict/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18620/devel
Modified Files:
stardict.spec
Log Message:
3.0.0
Index: stardict.spec
===================================================================
RCS file: /cvs/pkgs/rpms/stardict/devel/stardict.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- stardict.spec 10 Jul 2007 02:27:38 -0000 1.32
+++ stardict.spec 13 Aug 2007 06:57:48 -0000 1.33
@@ -1,11 +1,15 @@
-Name: stardict
+%define name stardict
+%define version 3.0.0
+
+
+Name: %{name}
Summary: A powerful dictionary platform written in GTK+2
-Version: 2.4.8
-Release: 3%{?dist}
+Version: %{version}
+Release: 1%{?dist}
Group: Applications/System
License: GPL
URL: http://stardict.sourceforge.net
-Source0: %{name}-%{version}.tar.bz2
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: libgnome >= 2.2.0
@@ -16,9 +20,21 @@
Requires(post): GConf2, scrollkeeper
Requires(postun): scrollkeeper
+Requires: libsigc++20 >= 2.0.17
+BuildRequires: libsigc++20-devel
+
+Requires: gucharmap
+BuildRequires: gucharmap-devel
+Requires: espeak
+BuildRequires: espeak-devel
+Requires: enchant
+BuildRequires: enchant-devel
+#Requires: festival, speech-tools
+#BuildRequires: festival-devel, speech-tools-devel
+
%description
StarDict is a Cross-Platform and international dictionary written in Gtk2.
-It has powerful features such as "Glob-style pattern matching",
+It has powerful features such as "Glob-style pattern matching,"
"Scan selection word," "Fuzzy query," etc.
%prep
@@ -26,14 +42,13 @@
%build
-%configure --disable-schemas-install --disable-gnome-support
+%configure --disable-schemas-install --disable-festival
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/dic
-mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/treedict
+/bin/rm -f `find $RPM_BUILD_ROOT%{_libdir}/stardict/plugins -name "*.la"`
%find_lang %{name}
%clean
@@ -45,23 +60,27 @@
%{_bindir}/stardict
%{_datadir}/applications/stardict.desktop
%{_datadir}/stardict
-#%{_datadir}/idl/*
-#%{_libdir}/bonobo/servers/*.server
+%{_libdir}/stardict
+%{_datadir}/idl/*
+%{_libdir}/bonobo/servers/*.server
%{_datadir}/pixmaps/stardict.png
-#%{_sysconfdir}/gconf/schemas/*.schemas
-#%{_datadir}/omf/*
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_datadir}/omf/*
%{_mandir}/man1/*
-#%doc %{_datadir}/gnome/help/stardict
+%doc %{_datadir}/gnome/help/stardict
-#%post
-#GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/#gconf/schemas/stardict.schemas >/dev/null
-#if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
+%post
+GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/stardict.schemas >/dev/null
+if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
-#%postun
-#if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
+%postun
+if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
%changelog
+* Mon Aug 13 2007 Hu Zheng <zhu at redhat.com> - 3.0.0-1
+* Update to upstream.
+
* Fri Jun 22 2007 Hu Zheng <zhu at redhat.com> - 2.4.8-3
- Add dic and treedict directory.
More information about the fedora-extras-commits
mailing list