diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb3cf6b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gnome-dictionary-3.26.1.tar.xz diff --git a/.gnome-dictionary.metadata b/.gnome-dictionary.metadata new file mode 100644 index 0000000..8ab9499 --- /dev/null +++ b/.gnome-dictionary.metadata @@ -0,0 +1 @@ +e80a4d7a7aad4a37b92e8b168d47145be83987d9 SOURCES/gnome-dictionary-3.26.1.tar.xz diff --git a/SPECS/gnome-dictionary.spec b/SPECS/gnome-dictionary.spec new file mode 100644 index 0000000..7af7198 --- /dev/null +++ b/SPECS/gnome-dictionary.spec @@ -0,0 +1,125 @@ +Name: gnome-dictionary +Version: 3.26.1 +Release: 2%{?dist} +Summary: A dictionary application for GNOME + +License: GPLv3+ and LGPLv2+ and GFDL +URL: https://wiki.gnome.org/Apps/Dictionary +Source0: https://download.gnome.org/sources/%{name}/3.26/%{name}-%{version}.tar.xz + +BuildRequires: desktop-file-utils +BuildRequires: docbook-style-xsl +BuildRequires: gettext +BuildRequires: itstool +BuildRequires: meson +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: /usr/bin/appstream-util +BuildRequires: /usr/bin/xsltproc + +Obsoletes: gnome-utils <= 1:3.3 +Obsoletes: gnome-utils-libs <= 1:3.3 +Obsoletes: gnome-utils-devel <= 1:3.3 +# Removed in F27 +Obsoletes: gnome-dictionary-devel < 3.26.0 +Obsoletes: gnome-dictionary-libs < 3.26.0 + +%description +gnome-dictionary lets you look up words in dictionary sources. + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang %{name} --with-gnome + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appdata.xml +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop + +%postun +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi + +%posttrans +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : + +%files -f %{name}.lang +%doc NEWS README.md +%license COPYING COPYING.docs COPYING.libs +%{_bindir}/gnome-dictionary +%{_datadir}/appdata/org.gnome.Dictionary.appdata.xml +%{_datadir}/applications/org.gnome.Dictionary.desktop +%{_datadir}/dbus-1/services/org.gnome.Dictionary.service +%{_datadir}/gdict-1.0/ +%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml +%{_mandir}/man1/gnome-dictionary.1* + +%changelog +* Sun Oct 08 2017 Kalev Lember - 3.26.1-1 +- Update to 3.26.1 +- Resolves: #1568169 + +* Wed Feb 22 2017 Matthias Clasen - 3.20.0-1 +- Rebase to 3.20.0 + Resolves: rhbz#1386890 + +* Wed Jun 29 2016 Matthias Clasen - 3.14.2-2 +- Update translations +- Resolves: #1304290 + +* Thu Mar 19 2015 Richard Hughes - 3.14.2-1 +- Update to 3.14.2 +- Resolves: #1174558 + +* Fri Jan 24 2014 Daniel Mach - 3.8.0-4 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 3.8.0-3 +- Mass rebuild 2013-12-27 + +* Tue Dec 3 2013 Alexander Larsson - 3.8.0-2 +- Rebuild to fix s390x intermittent issue + Resolves: rhbz#1017314 + +* Mon Jul 22 2013 Matthias Clasen - 3.8.0-1 +- Update to 3.8.0 +- Translation updates +- Rewritten help + +* Wed Jun 26 2013 Matthias Clasen - 3.6.0-3 +- Update the man page +- Trim %%changelog + +* Wed Feb 13 2013 Fedora Release Engineering - 3.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Sep 25 2012 Richard Hughes - 3.6.0-1 +- Update to 3.6.0 + +* Thu Jul 19 2012 Fedora Release Engineering - 3.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 07 2012 Richard Hughes - 3.5.2-1 +- Update to 3.5.2 + +* Tue Apr 24 2012 Kalev Lember - 3.4.0-2 +- Silence rpm scriptlet output + +* Tue Mar 27 2012 Kalev Lember - 3.4.0-1 +- Update to 3.4.0 + +* Fri Jan 13 2012 Fedora Release Engineering - 3.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Nov 10 2011 Matthias Clasen - 3.3.2-2 +- Obsolete all gnome-utils subpackages, and handle the epoch + +* Thu Nov 10 2011 Matthias Clasen - 3.3.2-1 +- Initial packaging