Hello community, here is the log from the commit of package ding for openSUSE:Factory checked in at 2014-12-16 14:49:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ding (Old) and /work/SRC/openSUSE:Factory/.ding.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ding" Changes: -------- --- /work/SRC/openSUSE:Factory/ding/ding.changes 2014-12-01 14:01:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ding.new/ding.changes 2014-12-16 14:49:28.000000000 +0100 @@ -1,0 +2,18 @@ +Thu Dec 11 23:26:20 UTC 2014 - [email protected] + +- Update to new upstream release 1.8 +* New version of German-English translation file, + now over 326,000 entries (up from 270,000). +* Minor bug fixes. +- Split the dictionary file so as to not mandate installation of + the Tk frontend. +- Downgrade ispell dictionary requirements into recommendations; + ding works without them, too. +- Add missing ispell Recommends (just having the dictionaries does + not help, the program is needed). +- Also recommend agrep, which the Tk frontend prefers for full + functionality (approximate matching). +- Suggest fortune, because ding even supports searching that. +- Minor cleanups: use rpm macros in place of rpm shell vars. + +------------------------------------------------------------------- Old: ---- ding-1.7.tar.bz2 New: ---- ding-1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ding.spec ++++++ --- /var/tmp/diff_new_pack.gitUnh/_old 2014-12-16 14:49:29.000000000 +0100 +++ /var/tmp/diff_new_pack.gitUnh/_new 2014-12-16 14:49:29.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ding # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -16,51 +16,71 @@ # - Name: ding -BuildRequires: tk update-desktop-files +Version: 1.8 +Release: 0 +Summary: An X Window System Dictionary Tool License: GPL-2.0+ Group: Productivity/Office/Dictionary -Requires: tcl tk ispell-ngerman ispell-american -Summary: An X Window System Dictionary Tool -Version: 1.7 -Release: 1 Url: http://www-user.tu-chemnitz.de/~fri/ding/ -Source: ftp://ftp.tu-chemnitz.de/pub/Local/urz/ding/ding-%{version}.tar.bz2 + +Source: ftp://ftp.tu-chemnitz.de/pub/Local/urz/ding/%name-%version.tar.gz Source1: ding.desktop Patch: ding-install.diff Patch1: ding-tk-version.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +BuildRequires: tk +BuildRequires: update-desktop-files +Requires: tcl +Requires: tk +Recommends: agrep +Requires: ding-dict-de_en +Recommends: ispell +Recommends: ispell-american +Recommends: ispell-ngerman +Suggests: fortune %description -Ding is a smart X Window System English-to-German dictionary. It works -with a local database file. For full functionality, agrep should be -installed. +Ding is a graphical frontend to an English-to-German dictionary +lookup and word spell checking. For full functionality, agrep and +ispell should be installed. + +%package -n ding-dict-de_en +Summary: German<->English word dictionary in DING syntax +Group: Productivity/Office/Dictionary + +%description -n ding-dict-de_en +This package contains the German<->English dictionary/wordlist from +TU Chemnitz in an easy markup language suitable for use with grep. +A recommended graphical frontend for using this dictionary is "ding". %prep %setup -q %patch -p1 %patch1 -p1 +%build + %install -install -d $RPM_BUILD_ROOT%_bindir -install -d $RPM_BUILD_ROOT%_datadir/dict +mkdir -p "%buildroot/%_bindir" "%buildroot/%_datadir/dict" \ + "%buildroot/%_datadir/applications" ./install.sh <<EOF -y -$RPM_BUILD_ROOT%_bindir -$RPM_BUILD_ROOT%_datadir/dict +%buildroot/%_bindir +%buildroot/%_datadir/dict y EOF -install -d $RPM_BUILD_ROOT%{_datadir}/applications/ -install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applications/%name.desktop +install -m 644 %{SOURCE1} "%buildroot/%_datadir/applications/%name.desktop" %suse_update_desktop_file %name Office Dictionary %files %defattr(-,root,root) %doc COPYING README CHANGES %_bindir/ding -%_datadir/dict/de-en.txt %_datadir/applications/%name.desktop +%files -n ding-dict-de_en +%defattr(-,root,root) +%_datadir/dict/de-en.txt + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
