]>
Commit | Line | Data |
---|---|---|
6b3e3e69 | 1 | Summary: A Dictionary Lookup program |
15d5f647 | 2 | Summary(pl.UTF-8): Program do wyszukiwania słów w słownikach |
6b3e3e69 | 3 | Name: ding |
d7391fa3 | 4 | Version: 1.5 |
caf68d0c | 5 | Release: 0.2 |
6b3e3e69 ER |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://wftp.tu-chemnitz.de/pub/Local/urz/ding/%{name}-%{version}.tar.gz | |
d7391fa3 | 9 | # Source0-md5: 74c2b3104f8732107c23c005b64d5609 |
caf68d0c | 10 | Patch0: %{name}-desktop.patch |
6b3e3e69 ER |
11 | URL: http://www-user.tu-chemnitz.de/~fri/ding/ |
12 | Requires: /usr/bin/wish | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Ding (DIctionary Nice Grep) is a tool to lookup words in dictionaries. | |
21fe4da3 JB |
18 | It uses tools like agrep, dict, ispell/aspell etc. It contains a |
19 | program (ding) written in Tcl/Tk and a German - English dictionary | |
20 | with about 180,000 translations. | |
6b3e3e69 | 21 | |
435a7f1d | 22 | %description -l de.UTF-8 |
21fe4da3 | 23 | Ding (DIctionary Nice Grep) ist ein Programm zur Suche in |
435a7f1d JR |
24 | Wörterbüchern. Es benutzt zur Suche Werkzeuge wie agrep bzw. egrep, |
25 | dict, ispell/aspell. Es basiert auf Tcl/Tk und enthält ein Deutsch- | |
26 | Englisches Wörterbuch mit ca. 180.000 Einträgen. | |
21fe4da3 | 27 | |
435a7f1d JR |
28 | %description -l pl.UTF-8 |
29 | Ding (DIctionary Nice Grep) to narzędzie do wyszukiwania słów w | |
30 | słownikach. Używa narzędzi takich jak agrep, dict, ispell/aspell itp. | |
31 | Zawiera program (ding) napisany w języku Tcl/Tk i słownik | |
32 | niemiecko-angielski zawierający około 180000 tłumaczeń. | |
6b3e3e69 ER |
33 | |
34 | %prep | |
35 | %setup -q | |
caf68d0c | 36 | %patch0 -p1 |
6b3e3e69 ER |
37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/dict,%{_pixmapsdir},%{_desktopdir},%{_mandir}/man1} | |
41 | install ding $RPM_BUILD_ROOT%{_bindir} | |
42 | cp -a de-en.txt $RPM_BUILD_ROOT%{_datadir}/dict/de-en.txt | |
43 | cp -a ding.png $RPM_BUILD_ROOT%{_pixmapsdir}/ding.png | |
44 | cp -a ding.desktop $RPM_BUILD_ROOT%{_desktopdir}/ding.desktop | |
45 | cp -a ding.1 $RPM_BUILD_ROOT%{_mandir}/man1/ding.1 | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README CHANGES COPYING | |
53 | %attr(755,root,root) %{_bindir}/ding | |
54 | %{_datadir}/dict/de-en.txt | |
55 | %{_mandir}/man1/* | |
56 | %{_desktopdir}/ding.desktop | |
57 | %{_pixmapsdir}/ding.png |