249 lines
8.3 KiB
RPMSpec
249 lines
8.3 KiB
RPMSpec
Name: gnome-clocks
|
|
Version: 3.16.2
|
|
Release: 1%{?dist}
|
|
Summary: Clock application designed for GNOME 3
|
|
|
|
License: GPLv2+
|
|
URL: https://live.gnome.org/GnomeClocks
|
|
Source0: http://download.gnome.org/sources/gnome-clocks/3.16/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gtk3-devel
|
|
Buildrequires: gobject-introspection-devel
|
|
BuildRequires: libcanberra-devel
|
|
BuildRequires: libgweather-devel >= 3.13.91
|
|
BuildRequires: gnome-desktop3-devel
|
|
BuildRequires: vala-tools
|
|
BuildRequires: intltool >= 0.50.1
|
|
BuildRequires: desktop-file-utils glib2-devel itstool
|
|
BuildRequires: geoclue2-devel
|
|
BuildRequires: geocode-glib-devel
|
|
BuildRequires: gsound-devel
|
|
BuildRequires: libappstream-glib
|
|
|
|
%description
|
|
Clock application designed for GNOME 3
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make V=1 %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop
|
|
%find_lang gnome-clocks --with-gnome
|
|
|
|
# Update the screenshot shown in the software center
|
|
#
|
|
# NOTE: It would be *awesome* if this file was pushed upstream.
|
|
#
|
|
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
|
|
#
|
|
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.clocks.appdata.xml \
|
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/a.png \
|
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/b.png \
|
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/c.png \
|
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \
|
|
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png
|
|
|
|
%post
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
%files -f gnome-clocks.lang
|
|
%doc AUTHORS README NEWS
|
|
%license COPYING
|
|
%{_bindir}/gnome-clocks
|
|
%{_datadir}/gnome-clocks
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-clocks.png
|
|
%{_datadir}/icons/hicolor/symbolic/apps/gnome-clocks-symbolic.svg
|
|
%{_datadir}/appdata/org.gnome.clocks.appdata.xml
|
|
%{_datadir}/applications/org.gnome.clocks.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.clocks.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
|
|
%dir %{_datadir}/gnome-shell/
|
|
%dir %{_datadir}/gnome-shell/search-providers/
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
|
|
|
|
|
%changelog
|
|
* Mon Sep 14 2015 Kalev Lember <klember@redhat.com> - 3.16.2-1
|
|
- Update to 3.16.2
|
|
|
|
* Mon Aug 3 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.1-4
|
|
- Fix stopwatch redraw. #1249376.
|
|
|
|
* Wed Jul 22 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.1-3
|
|
- Bump for gnome-desktop3 soname change
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Mon Apr 13 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.1-1
|
|
- Update to 3.16.1
|
|
- No more HighContrast specific icons
|
|
|
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
|
|
- Use better AppData screenshots
|
|
|
|
* Mon Mar 23 2015 Yanko Kaneti <yaneti@declera.com> - 3.16.0-1
|
|
- Update to 3.16.0
|
|
- Use license macro
|
|
|
|
* Sat Mar 14 2015 Yanko Kaneti <yaneti@declera.com> - 3.15.92-1
|
|
- Update to 3.15.92
|
|
|
|
* Thu Feb 19 2015 Yanko Kaneti <yaneti@declera.com> - 3.15.90-1
|
|
- Update to 3.15.90. BR intltool >= 0.50.1
|
|
|
|
* Mon Dec 1 2014 Yanko Kaneti <yaneti@declera.com> - 3.15.1-1
|
|
- First development release from the 3.16 cycle.
|
|
- Depends on gsound
|
|
|
|
* Fri Nov 14 2014 Florian Müllner <fmuellner@redhat.com> - 3.14.1-2
|
|
- Remove libnotify dependency
|
|
|
|
* Mon Oct 13 2014 Yanko Kaneti <yaneti@declera.com> - 3.14.1-1
|
|
- Update to 3.14.1
|
|
|
|
* Mon Sep 22 2014 Yanko Kaneti <yaneti@declera.com> - 3.14.0-1
|
|
- Update to 3.14.0
|
|
|
|
* Wed Sep 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
|
|
- Update to 3.13.92
|
|
|
|
* Tue Sep 2 2014 Yanko Kaneti <yaneti@declera.com> - 3.13.91-1
|
|
- Update to 3.13.91
|
|
|
|
* Tue Aug 19 2014 Yanko Kaneti <yaneti@declera.com> - 3.13.2-1
|
|
- Update to 3.13.2
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-1
|
|
- Update to 3.13.1
|
|
|
|
* Thu Jun 12 2014 Yanko Kaneti <yaneti@declera.com> - 3.12.0-3
|
|
- Upstream patch to fix empty window with latest gtk+
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Mon Mar 24 2014 Yanko Kaneti <yaneti@declera.com> - 3.12.0-1
|
|
- Update to 3.12.0
|
|
|
|
* Wed Mar 19 2014 Yanko Kaneti <yaneti@declera.com> - 3.11.92-1
|
|
- Update to 3.11.92
|
|
|
|
* Wed Feb 19 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-3
|
|
- Rebuilt for gnome-desktop soname bump
|
|
|
|
* Wed Feb 19 2014 Yanko Kaneti <yaneti@declera.com> - 3.11.90-2
|
|
- Rebuilt for gnome-desktop soname bump
|
|
|
|
* Tue Feb 18 2014 Yanko Kaneti <yaneti@declera.com> - 3.11.90-1
|
|
- Update to 3.11.90
|
|
|
|
* Tue Nov 19 2013 Yanko Kaneti <yaneti@declera.com> - 3.11.1-1
|
|
- First release from the 3.11 development series.
|
|
|
|
* Mon Oct 14 2013 Yanko Kaneti <yaneti@declera.com> - 3.10.1-1
|
|
- Update to 3.10.1
|
|
|
|
* Mon Sep 23 2013 Yanko Kaneti <yaneti@declera.com> - 3.10.0-1
|
|
- Update to 3.10.0
|
|
|
|
* Tue Sep 17 2013 Yanko Kaneti <yaneti@declera.com> - 3.9.92-1
|
|
- Update to 3.9.92. Geolocation support
|
|
- New BRs: itstool geoclue2-devel geocode-glib-devel
|
|
- Add help
|
|
|
|
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.91-1
|
|
- Update to 3.9.91
|
|
|
|
* Mon Aug 19 2013 Yanko Kaneti <yaneti@declera.com> - 3.9.90-1
|
|
- Update to 3.9.90
|
|
|
|
* Sun Aug 4 2013 Yanko Kaneti <yaneti@declera.com> - 3.9.3-2
|
|
- Bump for libgweather soname change
|
|
|
|
* Sun Aug 4 2013 Yanko Kaneti <yaneti@declera.com> - 3.9.3-1
|
|
- Update to 3.9.3
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.2-1
|
|
- Update to 3.9.2
|
|
|
|
* Tue Jun 11 2013 Yanko Kaneti <yaneti@declera.com> - 3.9.1-1
|
|
- Update to 3.9.1
|
|
|
|
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
|
|
- Update to 3.8.2
|
|
|
|
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
|
|
- Update to 3.8.1
|
|
|
|
* Tue Mar 26 2013 Yanko Kaneti <yaneti@declera.com> - 3.8.0-1
|
|
- Update to 3.7.92
|
|
|
|
* Mon Mar 18 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.92-1
|
|
- New upstream release - 3.7.92
|
|
|
|
* Wed Mar 6 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.91-1
|
|
- New upstream release - 3.7.91
|
|
|
|
* Wed Feb 20 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.90-1
|
|
- New upstream release - 3.7.90. Moving to vala.
|
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-3
|
|
- Use python3-canberra
|
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-2
|
|
- pycairo is python3-cairo in python3 land.
|
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-1
|
|
- Update to 0.1.6. Handle the move to autotools.
|
|
|
|
* Tue Dec 4 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.5-1
|
|
- Update to 0.1.5.
|
|
- Additionaly require gnome-desktop3 and libnotify
|
|
|
|
* Tue Oct 16 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.4-1
|
|
- Update to 0.1.4
|
|
|
|
* Mon Oct 1 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.3-2
|
|
- Add packaging snippets to update the icon cache
|
|
|
|
* Thu Sep 27 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.3-1
|
|
- Update to 0.1.3
|
|
|
|
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-3
|
|
- Actually update the License tag
|
|
|
|
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-2
|
|
- Use packaged pycanberra
|
|
|
|
* Wed Sep 26 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.2-1
|
|
- Latest from upstream - 0.1.2
|
|
|
|
* Sat Sep 15 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.1-2
|
|
- Address review issues. Separate bundled pycanberra licensing
|
|
|
|
* Thu Sep 13 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.1-1
|
|
- Package for review
|