2013-09-04 11:51:55 +00:00
#
2013-09-14 15:23:26 +00:00
# spec file for package gnome-software
2013-09-04 11:51:55 +00:00
#
2014-04-03 20:43:40 +00:00
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
2013-09-04 11:51:55 +00:00
#
# 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/
#
2013-09-14 15:23:26 +00:00
2013-09-04 11:51:55 +00:00
Name : gnome-software
2014-11-13 23:30:17 +00:00
Version : 3.14.2
2013-09-04 11:51:55 +00:00
Release : 0
2014-10-13 20:15:59 +00:00
%define gs_plugin_api 7
2013-09-04 11:51:55 +00:00
Summary : GNOME Software Store
2013-09-14 15:23:26 +00:00
License : GPL-2.0+
2013-09-04 11:51:55 +00:00
Group : System/GUI/GNOME
2013-09-14 15:23:26 +00:00
Url : https://wiki.gnome.org/Design/Apps/Software
2014-09-25 07:48:44 +00:00
Source : http://download.gnome.org/sources/gnome-software/3.14/%{name} -%{version} .tar.xz
2013-10-14 21:41:45 +00:00
# PATCH-FEATURE-OPENSUSE gnome-software-PK-updates.patch dimstar@opensuse.org -- Switch to PackageKit Update provider instead of systemd offline updates.
Patch0 : gnome-software-PK-updates.patch
2014-10-04 18:42:29 +00:00
# PATCH-FEATURE-OPENSUSE gnome-software-add-default-yast-appfolder.patch boo#897713 badshah400@gmail.com -- Adds a YaST app-folder by default, in addition to existing app-folders Sundry and Utilities
Patch1 : gnome-software-add-default-yast-appfolder.patch
2014-10-08 15:31:12 +00:00
# PATCH-FIX-OPENSUSE gnome-software-nouser-proxy.patch dimstar@opensuse.org -- Do not pass user settings between the user session and packagekitd
Patch100 : gnome-software-nouser-proxy.patch
2013-09-04 11:51:55 +00:00
BuildRequires : intltool >= 0.35.0
2013-09-15 13:04:25 +00:00
BuildRequires : suse-xsl-stylesheets
2013-09-04 11:51:55 +00:00
BuildRequires : update-desktop-files
2014-10-14 08:58:41 +00:00
BuildRequires : pkgconfig(appstream-glib) >= 0.2.6
2013-09-14 15:23:26 +00:00
BuildRequires : pkgconfig(gio-unix-2.0)
2014-04-03 20:43:40 +00:00
BuildRequires : pkgconfig(gnome-desktop-3.0)
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.11.5
2014-08-23 11:52:15 +00:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.13.1
2014-04-03 20:43:40 +00:00
BuildRequires : pkgconfig(libsoup-2.4)
2013-09-15 13:04:25 +00:00
BuildRequires : pkgconfig(libxslt)
2014-09-25 07:48:44 +00:00
BuildRequires : pkgconfig(packagekit-glib2) >= 1.0.0
2013-09-04 11:51:55 +00:00
BuildRequires : pkgconfig(sqlite3)
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2014-10-04 11:19:15 +00:00
Requires : libzypp-plugin-appdata
2014-04-03 20:43:40 +00:00
%glib2_gsettings_schema_requires
2013-09-04 11:51:55 +00:00
%description
AppStore like management of Applications for your GNOME Desktop.
2014-10-04 14:43:58 +00:00
%lang_package
2014-10-04 11:19:15 +00:00
2013-09-04 11:51:55 +00:00
%prep
%setup -q
2014-04-03 20:43:40 +00:00
# Disables - let's try the systemd offline updater
#patch0 -p1
2014-10-04 18:42:29 +00:00
%patch1 -p1
2014-10-08 15:31:12 +00:00
%patch100 -p1
2013-09-04 11:51:55 +00:00
%build
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} %{_libdir} -type f -name '*.la' -delete -print
2014-04-03 20:43:40 +00:00
#suse_update_desktop_file gnome-software
2013-09-04 11:51:55 +00:00
%find_lang %{name}
2013-09-14 15:23:26 +00:00
%post
2014-04-03 20:43:40 +00:00
%glib2_gsettings_schema_post
2013-09-14 15:23:26 +00:00
%icon_theme_cache_post
2014-08-23 11:52:15 +00:00
%icon_theme_cache_post HighContrast
2013-09-14 15:23:26 +00:00
%desktop_database_post
%postun
2014-04-03 20:43:40 +00:00
%glib2_gsettings_schema_postun
2013-09-14 15:23:26 +00:00
%icon_theme_cache_postun
2014-08-23 11:52:15 +00:00
%icon_theme_cache_postun HighContrast
2013-09-14 15:23:26 +00:00
%desktop_database_postun
2013-09-04 11:51:55 +00:00
%files
%defattr (-,root,root)
%doc README COPYING
%{_bindir} /%{name}
%{_datadir} /%{name} /
2013-09-24 20:03:08 +00:00
%dir %{_datadir} /appdata
2014-04-03 20:43:40 +00:00
%{_datadir} /appdata/org.gnome.Software.appdata.xml
%{_datadir} /applications/gnome-software-local-file.desktop
%{_datadir} /applications/org.gnome.Software.desktop
%{_datadir} /dbus-1/services/org.gnome.Software.service
%{_datadir} /glib-2.0/schemas/org.gnome.software.gschema.xml
%dir %{_datadir} /gnome-shell
%dir %{_datadir} /gnome-shell/search-providers
%{_datadir} /gnome-shell/search-providers/gnome-software-search-provider.ini
2013-09-14 15:23:26 +00:00
%{_datadir} /icons/hicolor/*/apps/%{name} *
2014-08-23 11:52:15 +00:00
%{_datadir} /icons/HighContrast/
%dir %{_libdir} /gs-plugins-%{gs_plugin_api}
%{_libdir} /gs-plugins-%{gs_plugin_api} /*.so
2014-04-03 20:43:40 +00:00
#{_libexecdir}/gnome-software-service
2013-09-15 13:04:25 +00:00
%{_mandir} /man1/%{name} .1%{?ext_man}
2014-04-03 20:43:40 +00:00
%{_sysconfdir} /xdg/autostart/gnome-software-service.desktop
2013-09-04 11:51:55 +00:00
%files lang -f %{name}.lang
%changelog