Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
ding
ding.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ding.spec of Package ding
# # spec file for package ding # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ding Version: 1.9 Release: 0 Summary: An X Window System Dictionary Tool License: GPL-2.0-or-later Group: Productivity/Office/Dictionary URL: https://www-user.tu-chemnitz.de/~fri/ding/ Source: https://ftp.tu-chemnitz.de/pub/Local/urz/%{name}/%{name}-%{version}.tar.gz Source1: ding.desktop Patch0: ding-install.diff Patch1: ding-tk-version.diff Patch2: use-grep-instead-of-egrep.patch BuildRequires: tk BuildRequires: update-desktop-files Requires: ding-dict-de_en Requires: tcl Requires: tk Recommends: agrep Recommends: ispell Recommends: ispell-american Recommends: ispell-ngerman Suggests: fortune BuildArch: noarch %description 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 %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %install mkdir -p "%{buildroot}/%{_bindir}" "%{buildroot}/%{_datadir}/dict" \ "%{buildroot}/%{_datadir}/applications" ./install.sh <<EOF %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/dict y EOF install -m 644 %{SOURCE1} "%{buildroot}/%{_datadir}/applications/%{name}.desktop" install -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %suse_update_desktop_file %{name} Office Dictionary %files %license COPYING %doc README.md CHANGES %{_bindir}/ding %{_datadir}/applications/%{name}.desktop %{_mandir}/man1/ding.1%{?ext_man} %files -n ding-dict-de_en %{_datadir}/dict/de-en.txt %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor