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
|
|
|
#
|
2017-01-18 14:41:52 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX 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
|
|
|
|
2017-08-31 07:44:03 +00:00
|
|
|
%define gs_plugin_api 11
|
2013-09-04 11:51:55 +00:00
|
|
|
Name: gnome-software
|
2017-08-31 07:44:03 +00:00
|
|
|
Version: 3.25.91
|
2013-09-04 11:51:55 +00:00
|
|
|
Release: 0
|
|
|
|
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
|
2017-08-31 07:44:03 +00:00
|
|
|
Source: https://download.gnome.org/sources/gnome-software/3.25/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gtk-doc
|
2013-09-04 11:51:55 +00:00
|
|
|
BuildRequires: intltool >= 0.35.0
|
2017-08-31 07:44:03 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig
|
2013-09-15 13:04:25 +00:00
|
|
|
BuildRequires: suse-xsl-stylesheets
|
2013-09-04 11:51:55 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2017-08-31 07:44:03 +00:00
|
|
|
BuildRequires: pkgconfig(appstream-glib) >= 0.7.0
|
2017-02-28 21:40:34 +00:00
|
|
|
BuildRequires: pkgconfig(flatpak) >= 0.8.0
|
2017-08-31 07:44:03 +00:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.31.5
|
2016-02-19 15:00:27 +00:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.46.0
|
2015-09-17 12:52:09 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.17.92
|
2014-04-03 20:43:40 +00:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.11.5
|
2016-02-19 15:00:27 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.18.2
|
|
|
|
BuildRequires: pkgconfig(gtkspell3-3.0)
|
2016-09-14 16:52:50 +00:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2016-03-02 10:28:00 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
|
2016-09-08 21:23:08 +00:00
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2015-09-17 12:52:09 +00:00
|
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
|
2013-09-15 13:04:25 +00:00
|
|
|
BuildRequires: pkgconfig(libxslt)
|
2016-02-19 15:00:27 +00:00
|
|
|
BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.0
|
2015-06-15 00:26:55 +00:00
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
2016-09-08 21:23:08 +00:00
|
|
|
BuildRequires: pkgconfig(rpm)
|
2013-09-04 11:51:55 +00:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2017-02-28 21:40:34 +00:00
|
|
|
BuildRequires: pkgconfig(valgrind)
|
2015-06-07 11:37:47 +00:00
|
|
|
Requires: iso-codes
|
2014-10-04 11:19:15 +00:00
|
|
|
Requires: libzypp-plugin-appdata
|
2015-10-09 08:51:38 +00:00
|
|
|
Recommends: %{name}-lang
|
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.
|
|
|
|
|
2016-09-08 21:23:08 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
2017-08-31 07:44:03 +00:00
|
|
|
%meson \
|
|
|
|
-D enable-firmware=false \
|
|
|
|
-D enable-ubuntu-reviews=false \
|
|
|
|
-D enable-tests=false \
|
|
|
|
-D enable-fwupd=false \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2013-09-04 11:51:55 +00:00
|
|
|
|
|
|
|
%install
|
2017-08-31 07:44:03 +00:00
|
|
|
%meson_install
|
2013-09-04 11:51:55 +00:00
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
2017-08-31 07:44:03 +00:00
|
|
|
# Test shipping gnome-software-local-file in GN
|
2015-09-02 12:47:50 +00:00
|
|
|
# Currently not shipped, as this is not yet functional (boo#941862)
|
2017-08-31 07:44:03 +00:00
|
|
|
#rm %%{buildroot}%%{_datadir}/applications/gnome-software-local-file.desktop
|
2016-03-02 10:28:00 +00:00
|
|
|
%suse_update_desktop_file org.gnome.Software
|
2013-09-04 11:51:55 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2013-09-14 15:23:26 +00:00
|
|
|
%post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-08-31 07:44:03 +00:00
|
|
|
%doc COPYING
|
2013-09-04 11:51:55 +00:00
|
|
|
%{_bindir}/%{name}
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_bindir}/%{name}-editor
|
2013-09-04 11:51:55 +00:00
|
|
|
%{_datadir}/%{name}/
|
2017-08-31 07:44:03 +00:00
|
|
|
%dir %{_datadir}/app-info
|
|
|
|
%dir %{_datadir}/app-info/xmls
|
|
|
|
%{_datadir}/app-info/xmls/org.gnome.Software.Featured.xml
|
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/org.gnome.Software.appdata.xml
|
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Epiphany.metainfo.xml
|
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml
|
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Odrs.metainfo.xml
|
|
|
|
%{_datadir}/metainfo/org.gnome.Software.Plugin.Steam.metainfo.xml
|
|
|
|
# Test shipping gnome-software-local-file in GN
|
2015-09-02 12:47:50 +00:00
|
|
|
# Currently not shipped, as this is not yet functional (boo#941862)
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_datadir}/applications/gnome-software-local-file.desktop
|
2014-04-03 20:43:40 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Software.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Software.service
|
2015-09-04 11:32:52 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
|
2014-04-03 20:43:40 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
|
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
2016-02-19 15:00:27 +00:00
|
|
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Software*
|
2017-02-22 20:41:46 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/software-installed-symbolic.svg
|
2014-08-23 11:52:15 +00:00
|
|
|
%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
|
2017-02-22 20:41:46 +00:00
|
|
|
%{_libexecdir}/gnome-software-cmd
|
2017-02-28 21:40:34 +00:00
|
|
|
%{_libexecdir}/gnome-software-restarter
|
2013-09-15 13:04:25 +00:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_mandir}/man1/%{name}-editor.1%{?ext_man}
|
2014-04-03 20:43:40 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Software.Editor.desktop
|
2013-09-04 11:51:55 +00:00
|
|
|
|
2016-09-08 21:23:08 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}/
|
2017-08-31 07:44:03 +00:00
|
|
|
%dir %{_datadir}/doc/gnome-software
|
|
|
|
%{_datadir}/doc/gnome-software/README
|
2016-09-08 21:23:08 +00:00
|
|
|
%{_includedir}/%{name}/gnome-software.h
|
|
|
|
%{_includedir}/%{name}/gs-app-list.h
|
|
|
|
%{_includedir}/%{name}/gs-app.h
|
|
|
|
%{_includedir}/%{name}/gs-auth.h
|
|
|
|
%{_includedir}/%{name}/gs-category.h
|
|
|
|
%{_includedir}/%{name}/gs-os-release.h
|
|
|
|
%{_includedir}/%{name}/gs-plugin-vfuncs.h
|
|
|
|
%{_includedir}/%{name}/gs-plugin.h
|
2017-02-22 20:41:46 +00:00
|
|
|
%{_includedir}/%{name}/gs-plugin-event.h
|
|
|
|
%{_includedir}/%{name}/gs-plugin-types.h
|
2017-08-31 07:44:03 +00:00
|
|
|
%{_includedir}/%{name}/gs-price.h
|
2016-09-08 21:23:08 +00:00
|
|
|
%{_includedir}/%{name}/gs-utils.h
|
|
|
|
%{_libdir}/pkgconfig/gnome-software.pc
|
|
|
|
|
2013-09-04 11:51:55 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|