From 796fb5dfff2c90ca72b901345064c9ec676f9f77 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:11:46 +0100 Subject: [PATCH] package created using the webbuild interface [release 40.0-1mamba;Sat Oct 16 2021] --- README.md | 2 ++ gnome-dictionary.spec | 83 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 gnome-dictionary.spec diff --git a/README.md b/README.md index 8804af1..9dc1bbd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gnome-dictionary +GNOME Dictionary is a simple, clean, elegant application to look up words in online dictionaries using the [DICT][dict-rfc] protocol. + diff --git a/gnome-dictionary.spec b/gnome-dictionary.spec new file mode 100644 index 0000000..693e6d1 --- /dev/null +++ b/gnome-dictionary.spec @@ -0,0 +1,83 @@ +Name: gnome-dictionary +Version: 40.0 +Release: 1mamba +Summary: A simple, clean, elegant application to look up words in online dictionaries +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.gnome.org/ +Source: https://download.gnome.org/sources/gnome-dictionary/40/gnome-dictionary-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcairo-devel +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libpango-devel +## AUTOBUILDREQ-END +BuildRequires: scons +Obsoletes: gnome-utils <= 3.2.1 + +%description +GNOME Dictionary is a simple, clean, elegant application to look up words in online dictionaries using the [DICT][dict-rfc] protocol. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/gnome-dictionary +%{_datadir}/applications/org.gnome.Dictionary.desktop +%{_datadir}/metainfo/org.gnome.Dictionary.appdata.xml +%{_datadir}/dbus-1/services/org.gnome.Dictionary.service +%{_datadir}/gdict-1.0/sources/*.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml +%dir %{_datadir}/help/C/gnome-dictionary +%{_datadir}/help/C/gnome-dictionary/* +%lang(ca) %{_datadir}/help/ca/gnome-dictionary +%lang(cs) %{_datadir}/help/cs/gnome-dictionary +%lang(da) %{_datadir}/help/da/gnome-dictionary +%lang(de) %{_datadir}/help/de/gnome-dictionary +%lang(el) %{_datadir}/help/el/gnome-dictionary +%lang(en_GB) %{_datadir}/help/en_GB/gnome-dictionary +%lang(es) %{_datadir}/help/es/gnome-dictionary +%lang(eu) %{_datadir}/help/eu/gnome-dictionary +%lang(fi) %{_datadir}/help/fi/gnome-dictionary +%lang(fr) %{_datadir}/help/fr/gnome-dictionary +%lang(gl) %{_datadir}/help/gl/gnome-dictionary +%lang(hu) %{_datadir}/help/hu/gnome-dictionary +%lang(id) %{_datadir}/help/id/gnome-dictionary +%lang(it) %{_datadir}/help/it/gnome-dictionary +%lang(ko) %{_datadir}/help/ko/gnome-dictionary +%lang(oc) %{_datadir}/help/oc/gnome-dictionary +%lang(pl) %{_datadir}/help/pl/gnome-dictionary +%lang(pt_BR) %{_datadir}/help/pt_BR/gnome-dictionary +%lang(ru) %{_datadir}/help/ru/gnome-dictionary +%lang(sl) %{_datadir}/help/sl/gnome-dictionary +%lang(sv) %{_datadir}/help/sv/gnome-dictionary +%lang(uk) %{_datadir}/help/uk/gnome-dictionary +%lang(zh_CN) %{_datadir}/help/zh_CN/gnome-dictionary +%{_datadir}/icons/hicolor/scalable/apps/*.svg +%{_datadir}/icons/hicolor/symbolic/apps/*.svg +%{_mandir}/man1/gnome-dictionary.1* +%doc COPYING + +%changelog +* Sat Oct 16 2021 Silvan Calarco 40.0-1mamba +- package created using the webbuild interface