2012-09-29 19:25:42 +00:00
|
|
|
Name: gnome-clocks
|
2013-03-06 15:07:41 +00:00
|
|
|
Version: 3.7.91
|
2013-02-20 15:50:54 +00:00
|
|
|
Release: 1%{?dist}
|
2012-09-29 19:25:42 +00:00
|
|
|
Summary: Clock application designed for GNOME 3
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://live.gnome.org/GnomeClocks
|
2013-02-20 15:50:54 +00:00
|
|
|
Source0: http://download.gnome.org/sources/gnome-clocks/3.7/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
Buildrequires: gobject-introspection-devel
|
|
|
|
BuildRequires: libcanberra-devel
|
|
|
|
BuildRequires: libgweather-devel
|
|
|
|
BuildRequires: gnome-desktop3-devel
|
|
|
|
BuildRequires: libnotify-devel
|
|
|
|
BuildRequires: vala-tools
|
2013-02-06 02:03:09 +00:00
|
|
|
BuildRequires: intltool desktop-file-utils glib2-devel
|
2013-02-20 15:50:54 +00:00
|
|
|
|
2012-09-29 19:25:42 +00:00
|
|
|
%description
|
|
|
|
Clock application designed for GNOME 3
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2013-02-06 01:55:30 +00:00
|
|
|
%configure
|
|
|
|
make V=1 %{?_smp_mflags}
|
2012-09-29 19:25:42 +00:00
|
|
|
|
|
|
|
%install
|
2013-02-06 01:55:30 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2012-09-29 19:25:42 +00:00
|
|
|
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-clocks.desktop
|
|
|
|
%find_lang gnome-clocks
|
|
|
|
|
2012-10-01 10:24:22 +00:00
|
|
|
%post
|
2013-02-06 01:55:30 +00:00
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || :
|
2012-10-01 10:24:22 +00:00
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
2013-02-06 01:55:30 +00:00
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null
|
2012-10-01 10:24:22 +00:00
|
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
2013-02-06 01:55:30 +00:00
|
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2012-10-01 10:24:22 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
2013-02-06 01:55:30 +00:00
|
|
|
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
|
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2012-10-01 10:24:22 +00:00
|
|
|
|
2012-09-29 19:25:42 +00:00
|
|
|
%files -f gnome-clocks.lang
|
|
|
|
%doc COPYING README NEWS
|
|
|
|
%{_bindir}/gnome-clocks
|
|
|
|
%{_datadir}/gnome-clocks
|
2013-02-06 01:55:30 +00:00
|
|
|
%{_datadir}/icons/*/*/apps/gnome-clocks.png
|
2012-09-29 19:25:42 +00:00
|
|
|
%{_datadir}/applications/gnome-clocks.desktop
|
2013-02-06 01:55:30 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
|
2012-09-29 19:25:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-03-06 15:07:41 +00:00
|
|
|
* Wed Mar 6 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.91-1
|
|
|
|
- New upstream release - 3.7.91
|
|
|
|
|
2013-02-20 15:50:54 +00:00
|
|
|
* Wed Feb 20 2013 Yanko Kaneti <yaneti@declera.com> - 3.7.90-1
|
|
|
|
- New upstream release - 3.7.90. Moving to vala.
|
|
|
|
|
2013-02-06 08:59:26 +00:00
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-3
|
2013-02-06 09:05:08 +00:00
|
|
|
- Use python3-canberra
|
2013-02-06 08:59:26 +00:00
|
|
|
|
2013-02-06 02:45:58 +00:00
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-2
|
|
|
|
- pycairo is python3-cairo in python3 land.
|
|
|
|
|
2013-02-06 01:55:30 +00:00
|
|
|
* Wed Feb 6 2013 Yanko Kaneti <yaneti@declera.com> - 0.1.6-1
|
|
|
|
- Update to 0.1.6. Handle the move to autotools.
|
|
|
|
|
2012-12-04 08:29:17 +00:00
|
|
|
* Tue Dec 4 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.5-1
|
|
|
|
- Update to 0.1.5.
|
|
|
|
- Additionaly require gnome-desktop3 and libnotify
|
|
|
|
|
2012-10-16 06:40:37 +00:00
|
|
|
* Tue Oct 16 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.4-1
|
|
|
|
- Update to 0.1.4
|
|
|
|
|
2012-10-01 10:24:22 +00:00
|
|
|
* Mon Oct 1 2012 Yanko Kaneti <yaneti@declera.com> - 0.1.3-2
|
|
|
|
- Add packaging snippets to update the icon cache
|
|
|
|
|
2012-09-29 19:25:42 +00:00
|
|
|
* 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
|