Hello community, here is the log from the commit of package cedict for openSUSE:Factory checked in at 2015-01-20 12:34:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cedict (Old) and /work/SRC/openSUSE:Factory/.cedict.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cedict" Changes: -------- --- /work/SRC/openSUSE:Factory/cedict/cedict.changes 2012-01-17 16:04:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.cedict.new/cedict.changes 2015-01-20 12:37:18.000000000 +0100 @@ -1,0 +2,11 @@ +Sat Jan 17 14:15:11 UTC 2015 - [email protected] + +- fix for factory commit + +------------------------------------------------------------------- +Thu Dec 25 16:50:12 UTC 2014 - [email protected] + +- Update to version 20141224 +- A little specfile cleanup + +------------------------------------------------------------------- Old: ---- cedict-20090227.bz2 New: ---- cedict_1_0_ts_utf-8_mdbg.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cedict.spec ++++++ --- /var/tmp/diff_new_pack.eSDhq5/_old 2015-01-20 12:37:20.000000000 +0100 +++ /var/tmp/diff_new_pack.eSDhq5/_new 2015-01-20 12:37:20.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cedict # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: cedict -BuildRequires: dos2unix -Provides: locale(gjiten:zh) -Version: 20090227 +# Set version as official release date +Version: 20141224 Release: 0 -Url: http://www.mdbg.net/chindict/chindict.php?page=cedict -# original archive is at http://www.mdbg.net/chindict/export/cedict/cedictu8.zip -Source0: cedict-%{version}.bz2 -Source10: cedict-format.pl -Source11: README.SUSE -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Free Chinese-English Dictionary in EDICT Format License: CC-BY-SA-3.0 and GPL-2.0+ Group: System/I18n/Chinese +Url: http://www.mdbg.net/chindict/chindict.php?page=cedict +Source0: http://www.mdbg.net/chindict/export/cedict/%{name}_1_0_ts_utf-8_mdbg.zip +Source1: cedict-format.pl +Source11: README.SUSE +BuildRequires: dos2unix +BuildRequires: unzip +Provides: locale(gjiten:zh) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description This is a free Chinese-English dictionary that can be used, for @@ -43,23 +45,22 @@ providing entries and corrections to the main file. %prep -cp $RPM_SOURCE_DIR/README.SUSE . -cp $RPM_SOURCE_DIR/cedict-20090227.bz2 . -bunzip2 cedict-20090227.bz2 -mv cedict-20090227 cedict_ts.u8 +cp %{SOURCE0} . +unzip %{name}_1_0_ts_utf-8_mdbg.zip +cp %{SOURCE11} . chmod 755 $RPM_SOURCE_DIR/cedict-format.pl %build %install -mkdir -p $RPM_BUILD_ROOT/usr/share/edict -dos2unix < cedict_ts.u8 | $RPM_SOURCE_DIR/cedict-format.pl > $RPM_BUILD_ROOT/usr/share/edict/cedict_ts.u8 -chmod 644 $RPM_BUILD_ROOT/usr/share/edict/cedict_ts.u8 +mkdir -p %{buildroot}%{_datadir}/edict +dos2unix < cedict_ts.u8 | $RPM_SOURCE_DIR/cedict-format.pl > %{buildroot}%{_datadir}/edict/cedict_ts.u8 +chmod 644 %{buildroot}%{_datadir}/edict/cedict_ts.u8 %files %defattr(-, root, root) %doc README.SUSE -%dir /usr/share/edict/ -/usr/share/edict/cedict_ts.u8 +%dir %{_datadir}/edict/ +%{_datadir}/edict/cedict_ts.u8 %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
