[packages/ding] - updated to 1.9

qboosh qboosh at pld-linux.org
Mon Apr 14 21:24:07 CEST 2025


commit ec48dac89bb40edb6ec80085e929c8aad1558cbd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 14 21:15:51 2025 +0200

    - updated to 1.9

 ding-desktop.patch | 23 ++++++++++++-----------
 ding.spec          | 22 +++++++++++-----------
 2 files changed, 23 insertions(+), 22 deletions(-)
---
diff --git a/ding.spec b/ding.spec
index 0be0abf..3b18c6d 100644
--- a/ding.spec
+++ b/ding.spec
@@ -1,12 +1,12 @@
 Summary:	A Dictionary Lookup program
 Summary(pl.UTF-8):	Program do wyszukiwania słów w słownikach
 Name:		ding
-Version:	1.7
-Release:	0.1
+Version:	1.9
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://wftp.tu-chemnitz.de/pub/Local/urz/ding/%{name}-%{version}.tar.gz
-# Source0-md5:	f021c0cb21105cf0ccd38330c2598ed1
+# Source0-md5:	1c5f96720914306b6fa8b940fb8129fe
 Patch0:		%{name}-desktop.patch
 URL:		http://www-user.tu-chemnitz.de/~fri/ding/
 Requires:	/usr/bin/wish
@@ -17,19 +17,19 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Ding (DIctionary Nice Grep) is a tool to lookup words in dictionaries.
 It uses tools like agrep, dict, ispell/aspell etc. It contains a
 program (ding) written in Tcl/Tk and a German - English dictionary
-with about 180,000 translations.
+with about 380,000 translations.
 
 %description -l de.UTF-8
 Ding (DIctionary Nice Grep) ist ein Programm zur Suche in
 Wörterbüchern. Es benutzt zur Suche Werkzeuge wie agrep bzw. egrep,
 dict, ispell/aspell. Es basiert auf Tcl/Tk und enthält ein Deutsch-
-Englisches Wörterbuch mit ca. 180.000 Einträgen.
+Englisches Wörterbuch mit ca. 380.000 Einträgen.
 
 %description -l pl.UTF-8
 Ding (DIctionary Nice Grep) to narzędzie do wyszukiwania słów w
 słownikach. Używa narzędzi takich jak agrep, dict, ispell/aspell itp.
 Zawiera program (ding) napisany w języku Tcl/Tk i słownik
-niemiecko-angielski zawierający około 180000 tłumaczeń.
+niemiecko-angielski zawierający około 380000 tłumaczeń.
 
 %prep
 %setup -q
@@ -39,17 +39,17 @@ niemiecko-angielski zawierający około 180000 tłumaczeń.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/dict,%{_pixmapsdir},%{_desktopdir},%{_mandir}/man1}
 install ding $RPM_BUILD_ROOT%{_bindir}
-cp -a de-en.txt $RPM_BUILD_ROOT%{_datadir}/dict/de-en.txt
-cp -a ding.png $RPM_BUILD_ROOT%{_pixmapsdir}/ding.png
-cp -a ding.desktop $RPM_BUILD_ROOT%{_desktopdir}/ding.desktop
-cp -a ding.1 $RPM_BUILD_ROOT%{_mandir}/man1/ding.1
+cp -p de-en.txt $RPM_BUILD_ROOT%{_datadir}/dict/de-en.txt
+cp -p ding.png $RPM_BUILD_ROOT%{_pixmapsdir}/ding.png
+cp -p ding.desktop $RPM_BUILD_ROOT%{_desktopdir}/ding.desktop
+cp -p ding.1 $RPM_BUILD_ROOT%{_mandir}/man1/ding.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README CHANGES COPYING
+%doc CHANGES COPYING README.md
 %attr(755,root,root) %{_bindir}/ding
 %{_datadir}/dict/de-en.txt
 %{_mandir}/man1/ding.1*
diff --git a/ding-desktop.patch b/ding-desktop.patch
index 2113f8c..8e53cbc 100644
--- a/ding-desktop.patch
+++ b/ding-desktop.patch
@@ -1,17 +1,18 @@
---- ding-1.7/ding.desktop~	2009-04-15 08:25:28.000000000 +0200
-+++ ding-1.7/ding.desktop	2010-09-14 13:16:11.815055141 +0200
-@@ -2,10 +2,10 @@
- Encoding=UTF-8
- Name=Ding: Dictionary English-German
- Name[de]=Ding: Wörterbuch Englisch-Deutsch
+--- ding-1.9/ding.desktop.orig	2020-12-22 13:16:18.000000000 +0100
++++ ding-1.9/ding.desktop	2025-04-14 20:39:23.056534653 +0200
+@@ -3,12 +3,13 @@ Name=Ding
+ Name[de]=Ding
+ Comment=Ding: Dictionary English-German
+ Comment[de]=Ding: Wörterbuch Englisch-Deutsch
 +Name[pl]=Ding: Słownik Angielsko-Niemiecki
  GenericName=ding
 -GenericName[de]=ding
 -Exec=/usr/bin/ding
--Icon=ding.png
 +Exec=ding
-+Icon=ding
- Terminal=0
+ Icon=ding
+ Terminal=false
  Type=Application
--Categories=Application;Utility;X-Red-Hat-Extra;
-+Categories=Office;Dictionary;
+ Categories=Office;Dictionary;
+ Keywords=dictionary;translation;
+ Keywords[de]=Wörterbuch;Übersetzung;
++Keywords[pl]=słownik;tłumaczenie;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ding.git/commitdiff/ec48dac89bb40edb6ec80085e929c8aad1558cbd



More information about the pld-cvs-commit mailing list