forked from pool/gnome-clocks
Dominique Leuenberger
f967afa927
Update to 3.18.0 OBS-URL: https://build.opensuse.org/request/show/332741 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-clocks?expand=0&rev=47
106 lines
3.4 KiB
RPMSpec
106 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package gnome-clocks
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnome-clocks
|
|
Version: 3.18.0
|
|
Release: 0
|
|
Summary: Clock application designed for GNOME 3
|
|
License: GPL-2.0+
|
|
Group: Productivity/Office/Other
|
|
Url: https://live.gnome.org/Design/Apps/Clock
|
|
Source: http://download.gnome.org/sources/gnome-clocks/3.18/%{name}-%{version}.tar.xz
|
|
# For icont_theme_chache post and postun macros
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: intltool >= 0.40
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: vala >= 0.23.3
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(geoclue-2.0) >= 1.99.3
|
|
BuildRequires: pkgconfig(geocode-glib-1.0) >= 0.99.4
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.39
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.7.90
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
BuildRequires: pkgconfig(gsound) >= 0.98
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.11
|
|
BuildRequires: pkgconfig(gweather-3.0) >= 3.13.91
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
A nice simple app to show the time, date, and alarms.
|
|
|
|
%package -n gnome-shell-search-provider-gnome-clocks
|
|
Summary: GNOME Clocksl -- Search Provider for GNOME Shell
|
|
Group: Productivity/Office/Other
|
|
Supplements: packageand(gnome-shell:%{name})
|
|
Requires: %{name} = %{version}
|
|
|
|
%description -n gnome-shell-search-provider-gnome-clocks
|
|
This package contains a search provider to enable GNOME Shell to get
|
|
search results from GNOME Clocks.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
%suse_update_desktop_file org.gnome.clocks Utility X-SuSE-TimeUtility
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%icon_theme_cache_post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%icon_theme_cache_postun
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING
|
|
%doc %{_datadir}/help/C/gnome-clocks/
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}/
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/org.gnome.clocks.appdata.xml
|
|
%{_datadir}/dbus-1/services/org.gnome.clocks.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-clocks*
|
|
%{_datadir}/applications/org.gnome.clocks.desktop
|
|
|
|
%files -n gnome-shell-search-provider-gnome-clocks
|
|
%defattr (-, root, root)
|
|
%dir %{_datadir}/gnome-shell
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|