forked from pool/gnome-software
Push GNOME 3.14.0 OBS-URL: https://build.opensuse.org/request/show/251912 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=25
104 lines
3.6 KiB
RPMSpec
104 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package gnome-software
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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-software
|
|
Version: 3.14.0
|
|
Release: 0
|
|
%define gs_plugin_api 6
|
|
Summary: GNOME Software Store
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: https://wiki.gnome.org/Design/Apps/Software
|
|
Source: http://download.gnome.org/sources/gnome-software/3.14/%{name}-%{version}.tar.xz
|
|
# 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
|
|
BuildRequires: intltool >= 0.35.0
|
|
BuildRequires: suse-xsl-stylesheets
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(appstream-glib) >= 0.2.4
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.11.5
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.13.1
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(libxslt)
|
|
BuildRequires: pkgconfig(packagekit-glib2) >= 1.0.0
|
|
BuildRequires: pkgconfig(sqlite3)
|
|
# gnome-software requires ScanDesktopFiles=true in PK.conf, which openSUSE explicitly disables for performance reason. Users that want to test gnome-software (technical preview) will have to take this performance hit.
|
|
Requires: PackageKit-branding-upstream
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
AppStore like management of Applications for your GNOME Desktop.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
# Disables - let's try the systemd offline updater
|
|
#patch0 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
|
#suse_update_desktop_file gnome-software
|
|
%find_lang %{name}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%icon_theme_cache_post
|
|
%icon_theme_cache_post HighContrast
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%icon_theme_cache_postun
|
|
%icon_theme_cache_postun HighContrast
|
|
%desktop_database_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}/
|
|
%dir %{_datadir}/appdata
|
|
%{_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
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*
|
|
%{_datadir}/icons/HighContrast/
|
|
%dir %{_libdir}/gs-plugins-%{gs_plugin_api}
|
|
%{_libdir}/gs-plugins-%{gs_plugin_api}/*.so
|
|
#{_libexecdir}/gnome-software-service
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|