Blame SPECS/gnome-clocks.spec

0603b5
%global libgweather_version 3.27.2
0603b5
0603b5
Name:           gnome-clocks
0603b5
Version:        3.28.0
0603b5
Release:        1%{?dist}
0603b5
Summary:        Clock application designed for GNOME 3
0603b5
0603b5
License:        GPLv2+
0603b5
URL:            https://wiki.gnome.org/Apps/Clocks
0603b5
Source0:        https://download.gnome.org/sources/gnome-clocks/3.28/%{name}-%{version}.tar.xz
0603b5
0603b5
BuildRequires:  meson
0603b5
BuildRequires:  desktop-file-utils
0603b5
BuildRequires:  gettext
0603b5
BuildRequires:  itstool
0603b5
BuildRequires:  libappstream-glib
0603b5
BuildRequires:  vala
0603b5
0603b5
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
0603b5
BuildRequires:  pkgconfig(gweather-3.0) >= %{libgweather_version}
0603b5
BuildRequires:  pkgconfig(gnome-desktop-3.0) >= 3.8
0603b5
BuildRequires:  pkgconfig(glib-2.0) >= 2.44
0603b5
BuildRequires:  pkgconfig(gobject-2.0) >= 2.44
0603b5
BuildRequires:  pkgconfig(libgeoclue-2.0) >= 2.4
0603b5
BuildRequires:  pkgconfig(geocode-glib-1.0) >= 1.0
0603b5
BuildRequires:  pkgconfig(gsound) >= 0.98
0603b5
0603b5
Requires:       libgweather%{?_isa} >= %{libgweather_version}
0603b5
0603b5
%description
0603b5
Clock application designed for GNOME 3
0603b5
0603b5
%prep
0603b5
%autosetup -p1
0603b5
0603b5
%build
0603b5
%meson
0603b5
%meson_build
0603b5
0603b5
%install
0603b5
%meson_install
0603b5
%find_lang gnome-clocks --with-gnome
0603b5
0603b5
%check
0603b5
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
0603b5
0603b5
%post
0603b5
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
0603b5
0603b5
%postun
0603b5
if [ $1 -eq 0 ] ; then
0603b5
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
0603b5
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
0603b5
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
0603b5
fi
0603b5
0603b5
%posttrans
0603b5
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
0603b5
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
0603b5
0603b5
%files -f gnome-clocks.lang
0603b5
%doc AUTHORS README NEWS
0603b5
%license COPYING
0603b5
%{_bindir}/gnome-clocks
0603b5
%{_datadir}/gnome-clocks
0603b5
%{_datadir}/icons/hicolor/*/apps/org.gnome.clocks.png
0603b5
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.clocks-symbolic.svg
0603b5
%{_datadir}/applications/org.gnome.clocks.desktop
0603b5
%{_datadir}/dbus-1/services/org.gnome.clocks.service
0603b5
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
0603b5
%dir %{_datadir}/gnome-shell/
0603b5
%dir %{_datadir}/gnome-shell/search-providers/
0603b5
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
0603b5
%{_datadir}/metainfo/org.gnome.clocks.appdata.xml
0603b5
0603b5
%changelog
0603b5
* Wed May 23 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
0603b5
- Update to 3.28.0
0603b5
- Resolves: #1567476
0603b5
0603b5
* Thu Feb 23 2017 Matthias Clasen <mclasen@redhat.com> - 3.22.1-1
0603b5
- Rebase to 3.22.1
0603b5
  Resolves: #1386881
0603b5
0603b5
* Fri Jul  1 2016 Matthias Clasen <mclasen@redhat.com> - 3.14.1-2
0603b5
- Update translations
0603b5
  Resolves: #1272479
0603b5
0603b5
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 3.14.1-1
0603b5
- Update to 3.14.1
0603b5
- Resolves: #1174592
0603b5
0603b5
* Fri Feb 28 2014 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-8
0603b5
- Rebuild to build with -fstack-protector-strong (related: #1070808).
0603b5
0603b5
* Wed Feb 26 2014 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-7
0603b5
- Add missing resource files (related: #1028079).
0603b5
- Don't ignore removal of src/resources.c (related: #1028079).
0603b5
0603b5
* Tue Feb 18 2014 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-6
0603b5
- Force regeneration of resources.c (related: #1028079).
0603b5
0603b5
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.2-5
0603b5
- Mass rebuild 2014-01-24
0603b5
0603b5
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.2-4
0603b5
- Mass rebuild 2013-12-27
0603b5
0603b5
* Thu Dec 19 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-3
0603b5
- Complete translations (related: #1044472).
0603b5
0603b5
* Thu Dec 12 2013 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-2
0603b5
- Remove 'New' from global menu (related: 1028079).
0603b5
0603b5
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
0603b5
- Update to 3.8.2
0603b5
0603b5
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
0603b5
- Update to 3.8.1
0603b5
0603b5
* Tue Mar 26 2013 Yanko Kaneti <yaneti@declera.com> - 3.8.0-1
0603b5
- Update to 3.7.92
0603b5
0603b5
* Mon Mar 18 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.92-1
0603b5
- New upstream release - 3.7.92
0603b5
0603b5
* Wed Mar  6 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.91-1
0603b5
- New upstream release - 3.7.91
0603b5
0603b5
* Wed Feb 20 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.90-1
0603b5
- New upstream release - 3.7.90. Moving to vala.
0603b5
0603b5
* Wed Feb  6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-3
0603b5
- Use python3-canberra
0603b5
0603b5
* Wed Feb  6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-2
0603b5
- pycairo is python3-cairo in python3 land.
0603b5
0603b5
* Wed Feb  6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-1
0603b5
- Update to 0.1.6. Handle the move to autotools.
0603b5
0603b5
* Tue Dec  4 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.5-1
0603b5
- Update to 0.1.5.
0603b5
- Additionaly require gnome-desktop3 and libnotify
0603b5
0603b5
* Tue Oct 16 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.4-1
0603b5
- Update to 0.1.4
0603b5
0603b5
* Mon Oct  1 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.3-2
0603b5
- Add packaging snippets to update the icon cache
0603b5
0603b5
* Thu Sep 27 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.3-1
0603b5
- Update to 0.1.3
0603b5
0603b5
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-3
0603b5
- Actually update the License tag
0603b5
0603b5
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-2
0603b5
- Use packaged pycanberra
0603b5
0603b5
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-1
0603b5
- Latest from upstream - 0.1.2
0603b5
0603b5
* Sat Sep 15 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.1-2
0603b5
- Address review issues. Separate bundled pycanberra licensing
0603b5
0603b5
* Thu Sep 13 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.1-1
0603b5
- Package for review