5372c2c
Summary: A dictionary application for GNOME
5372c2c
Name:    gnome-dictionary
6d48846
Version: 3.18.1
8af414c
Release: 1%{?dist}
5372c2c
License: GPLv3+ and LGPLv2+ and GFDL
5372c2c
Group:   Applications/Text
5372c2c
#VCS: git:git://git.gnome.org/gnome-dictionary
8af414c
Source:  https://download.gnome.org/sources/%{name}/3.18/%{name}-%{version}.tar.xz
82e6f1c
URL:     https://wiki.gnome.org/Apps/Dictionary
5372c2c
8b08d2d
BuildRequires: pkgconfig(gobject-introspection-1.0)
8b08d2d
BuildRequires: pkgconfig(gtk+-3.0)
5372c2c
BuildRequires: intltool
e1e09fe
BuildRequires: itstool
5372c2c
BuildRequires: desktop-file-utils
5372c2c
BuildRequires: docbook-dtds
168982c
BuildRequires: /usr/bin/appstream-util
5372c2c
8c70c1b
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
8c70c1b
5372c2c
Obsoletes: gnome-utils <= 1:3.3
5372c2c
Obsoletes: gnome-utils-libs <= 1:3.3
5372c2c
Obsoletes: gnome-utils-devel <= 1:3.3
5372c2c
5372c2c
%description
5372c2c
gnome-dictionary lets you look up words in dictionary sources.
5372c2c
8c70c1b
%package libs
8c70c1b
Summary: Library for dictionary support
8c70c1b
License: LGPLv2+
8c70c1b
8c70c1b
%description libs
8c70c1b
This package contains the libgdict library.
8c70c1b
5372c2c
%package devel
5372c2c
Summary: Development files for using libgdict
5372c2c
Group: Development/Libraries
37a51e0
Requires: %{name}%{?_isa} = %{version}-%{release}
5372c2c
5372c2c
%description devel
5372c2c
gnome-dictionary-devel contains header files and others that
5372c2c
are needed to build applications using the libgdict library.
5372c2c
5372c2c
%prep
5372c2c
%setup -q
5372c2c
5372c2c
%build
5372c2c
%configure
5372c2c
make %{_smp_mflags}
5372c2c
5372c2c
%install
62da404
%make_install
5372c2c
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
5372c2c
%find_lang %{name} --with-gnome
5372c2c
168982c
168982c
%check
168982c
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appdata.xml
168982c
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
168982c
168982c
8c70c1b
%post libs -p /sbin/ldconfig
8c70c1b
%postun libs -p /sbin/ldconfig
5372c2c
5372c2c
%postun
5372c2c
if [ $1 -eq 0 ]; then
a1b9dad
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
5372c2c
fi
5372c2c
5372c2c
%posttrans
a1b9dad
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
5372c2c
8c70c1b
%files
de69a4f
%doc NEWS AUTHORS README
de69a4f
%license COPYING COPYING.docs COPYING.libs
5372c2c
%{_bindir}/gnome-dictionary
b06c3ec
%{_datadir}/appdata/org.gnome.Dictionary.appdata.xml
170fc95
%{_datadir}/applications/org.gnome.Dictionary.desktop
170fc95
%{_datadir}/dbus-1/services/org.gnome.Dictionary.service
5372c2c
%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml
5a46de1
%{_mandir}/man1/gnome-dictionary.1*
8c70c1b
8c70c1b
%files libs -f %{name}.lang
8c70c1b
%license COPYING.libs
170fc95
%{_libdir}/girepository-1.0/Gdict-1.0.typelib
5372c2c
%{_libdir}/libgdict-1.0.so.*
8c70c1b
%{_datadir}/gdict-1.0/
5372c2c
5372c2c
%files devel
5372c2c
%{_includedir}/gdict-1.0/
5372c2c
%{_libdir}/libgdict-1.0.so
5372c2c
%{_libdir}/pkgconfig/gdict-1.0.pc
170fc95
%{_datadir}/gir-1.0/Gdict-1.0.gir
5372c2c
%{_datadir}/gtk-doc/html/gdict
5372c2c
5372c2c
5372c2c
%changelog
6d48846
* Wed Jan 20 2016 Kalev Lember <klember@redhat.com> - 3.18.1-1
6d48846
- Update to 3.18.1
6d48846
8af414c
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
8af414c
- Update to 3.18.0
8af414c
8c70c1b
* Thu Aug 20 2015 Kalev Lember <klember@redhat.com> - 3.17.90-2
8c70c1b
- Split out -libs subpackage
8c70c1b
a5634a1
* Tue Aug 18 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
a5634a1
- Update to 3.17.90
62da404
- Use make_install macro
a5634a1
42d6f19
* Mon Jul 20 2015 David King <amigadave@amigadave.com> - 3.17.4-1
42d6f19
- Update to 3.17.4
42d6f19
0f8636b
* Wed Jun 24 2015 David King <amigadave@amigadave.com> - 3.17.3-1
0f8636b
- Update to 3.17.3
82e6f1c
- Update URL
69c13b3
- Preserve timestamps during install
0f8636b
83a2a28
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17.2-2
83a2a28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
83a2a28
13f7c84
* Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.2-1
13f7c84
- Update to 3.17.2
13f7c84
79e2ed7
* Fri May 01 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.1-1
79e2ed7
- Update to 3.17.1
79e2ed7
e4e5957
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
e4e5957
- Update to 3.16.1
e4e5957
b1ea70d
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
b1ea70d
- Update to 3.16.0
b1ea70d
e0fa1d2
* Sun Mar 15 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
e0fa1d2
- Update to 3.15.92
e0fa1d2
b06c3ec
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
b06c3ec
- Update to 3.15.91
b06c3ec
170fc95
* Tue Feb 17 2015 David King <amigadave@amigadave.com> - 3.15.90-1
170fc95
- Update to 3.15.90
de69a4f
- Use license macro for COPYING, COPYING.docs and COPYING.libs
5a46de1
- Update man page glob in files section
8b08d2d
- Use pkgconfig for BuildRequires
168982c
- Validate AppData in check
170fc95
71afc81
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
71afc81
- Update to 3.14.2
71afc81
a841ea4
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
a841ea4
- Update to 3.14.1
a841ea4
7332692
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
7332692
- Update to 3.14.0
7332692
Richard Hughes 2f6023b
* Thu Sep 18 2014 Richard Hughes <rhughes@redhat.com> - 3.13.92-1
Richard Hughes 2f6023b
- Update to 3.13.92
Richard Hughes 2f6023b
df16a1d
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.0-3
df16a1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
df16a1d
02c9c3a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.0-2
02c9c3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
02c9c3a
Richard Hughes b832b0f
* Mon Oct 28 2013 Richard Hughes <rhughes@redhat.com> - 3.10.0-1
Richard Hughes b832b0f
- Update to 3.10.0
Richard Hughes b832b0f
3977a6b
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.0-1
3977a6b
- Update to 3.9.0
3977a6b
08231c4
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
08231c4
- Update to 3.8.0
08231c4
c850407
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-3
c850407
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c850407
c3f0dc4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6.0-2
c3f0dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c3f0dc4
Richard Hughes 98605de
* Tue Sep 25 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0-1
Richard Hughes 98605de
- Update to 3.6.0
Richard Hughes 98605de
dab96ed
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-2
dab96ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dab96ed
Richard Hughes d594c9f
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-1
Richard Hughes d594c9f
- Update to 3.5.2
Richard Hughes d594c9f
a1b9dad
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-2
a1b9dad
- Silence rpm scriptlet output
a1b9dad
f98df1a
* Tue Mar 27 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-1
f98df1a
- Update to 3.4.0
f98df1a
225c853
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-3
225c853
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
225c853
5372c2c
* Thu Nov 10 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.2-2
5372c2c
- Obsolete all gnome-utils subpackages, and handle the epoch
5372c2c
5372c2c
* Thu Nov 10 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.2-1
5372c2c
- Initial packaging