diff --git a/.gnome-clocks.metadata b/.gnome-clocks.metadata new file mode 100644 index 0000000..401f837 --- /dev/null +++ b/.gnome-clocks.metadata @@ -0,0 +1 @@ +5f83a0c8cea018ff3c83b4d25775f6dd8bf842e9 SOURCES/gnome-clocks-3.8.2.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/gnome-clocks.spec b/SPECS/gnome-clocks.spec new file mode 100644 index 0000000..de1b2ba --- /dev/null +++ b/SPECS/gnome-clocks.spec @@ -0,0 +1,113 @@ +Name: gnome-clocks +Version: 3.8.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.8/%{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 +BuildRequires: intltool desktop-file-utils glib2-devel + +%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/gnome-clocks.desktop +%find_lang gnome-clocks + +%post +/bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor %{_datadir}/icons/HighContrast &>/dev/null + /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : + /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/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/gtk-update-icon-cache -f %{_datadir}/icons/HighContrast &>/dev/null || : +/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + +%files -f gnome-clocks.lang +%doc AUTHORS COPYING README NEWS +%{_bindir}/gnome-clocks +%{_datadir}/gnome-clocks +%{_datadir}/icons/*/*/apps/gnome-clocks.png +%{_datadir}/applications/gnome-clocks.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml + + +%changelog +* Tue May 14 2013 Richard Hughes - 3.8.2-1 +- Update to 3.8.2 + +* Mon Apr 15 2013 Kalev Lember - 3.8.1-1 +- Update to 3.8.1 + +* Tue Mar 26 2013 Yanko Kaneti - 3.8.0-1 +- Update to 3.7.92 + +* Mon Mar 18 2013 Yanko Kaneti - 3.7.92-1 +- New upstream release - 3.7.92 + +* Wed Mar 6 2013 Yanko Kaneti - 3.7.91-1 +- New upstream release - 3.7.91 + +* Wed Feb 20 2013 Yanko Kaneti - 3.7.90-1 +- New upstream release - 3.7.90. Moving to vala. + +* Wed Feb 6 2013 Yanko Kaneti - 0.1.6-3 +- Use python3-canberra + +* Wed Feb 6 2013 Yanko Kaneti - 0.1.6-2 +- pycairo is python3-cairo in python3 land. + +* Wed Feb 6 2013 Yanko Kaneti - 0.1.6-1 +- Update to 0.1.6. Handle the move to autotools. + +* Tue Dec 4 2012 Yanko Kaneti - 0.1.5-1 +- Update to 0.1.5. +- Additionaly require gnome-desktop3 and libnotify + +* Tue Oct 16 2012 Yanko Kaneti - 0.1.4-1 +- Update to 0.1.4 + +* Mon Oct 1 2012 Yanko Kaneti - 0.1.3-2 +- Add packaging snippets to update the icon cache + +* Thu Sep 27 2012 Yanko Kaneti - 0.1.3-1 +- Update to 0.1.3 + +* Wed Sep 26 2012 Yanko Kaneti - 0.1.2-3 +- Actually update the License tag + +* Wed Sep 26 2012 Yanko Kaneti - 0.1.2-2 +- Use packaged pycanberra + +* Wed Sep 26 2012 Yanko Kaneti - 0.1.2-1 +- Latest from upstream - 0.1.2 + +* Sat Sep 15 2012 Yanko Kaneti - 0.1.1-2 +- Address review issues. Separate bundled pycanberra licensing + +* Thu Sep 13 2012 Yanko Kaneti - 0.1.1-1 +- Package for review