From 11e6d467d66a1c832ea83b2e82ec265168fcb0e5 Mon Sep 17 00:00:00 2001 From: Yanko Kaneti Date: Sat, 29 Sep 2012 22:25:42 +0300 Subject: [PATCH] Initial import --- .gitignore | 1 + gnome-clocks.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+) create mode 100644 gnome-clocks.spec diff --git a/.gitignore b/.gitignore index e69de29..65a95fd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-clocks-0.1.3.tar.xz diff --git a/gnome-clocks.spec b/gnome-clocks.spec new file mode 100644 index 0000000..eb7df91 --- /dev/null +++ b/gnome-clocks.spec @@ -0,0 +1,62 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} + +Name: gnome-clocks +Version: 0.1.3 +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/0.1/%{name}-%{version}.tar.xz + +BuildArch: noarch +BuildRequires: python2-devel python-distutils-extra +BuildRequires: intltool desktop-file-utils +Requires: pygobject3 pyxdg clutter-gtk libgweather +Requires: pycanberra + +%description +Clock application designed for GNOME 3 + +%prep +%setup -q +rm -fv gnomeclocks/pycanberra.py + +%build +%{__python} setup.py build + +%install +# with --skip-build some stuff is not installed, remove it for now +%{__python} setup.py install --root $RPM_BUILD_ROOT +rm -r $RPM_BUILD_ROOT/%{_datadir}/doc +desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-clocks.desktop +%find_lang gnome-clocks + + +%files -f gnome-clocks.lang +%doc COPYING README NEWS +%{_bindir}/gnome-clocks +%{python_sitelib}/* +%{_datadir}/gnome-clocks +%{_datadir}/icons/hicolor/*/apps/clocks.png +%{_datadir}/applications/gnome-clocks.desktop + + +%changelog +* 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 diff --git a/sources b/sources index e69de29..8a4d927 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0226230516790eff426649a528e7e0d7 gnome-clocks-0.1.3.tar.xz