Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Pantheon:Next
elementary-appcenter
elementary-appcenter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elementary-appcenter.spec of Package elementary-appcenter
# # spec file for package elementary-appcenter # # Copyright (c) 2018 SUSE LINUX 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: elementary-appcenter Version: @SERVICE@ Release: 0 Summary: Browse and manage apps License: GPL-3.0-only Group: System/GUI/Other URL: https://elementary.io/ Source: %{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: libxml2-tools BuildRequires: meson >= 0.44.4 BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(appstream) >= 0.10.3 BuildRequires: pkgconfig(appstream-glib) BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) >= 2.46 BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(packagekit-glib2) BuildRequires: pkgconfig(vapigen) >= 0.28 Recommends: %{name}-lang Recommends: libzypp-plugin-appdata Provides: appcenter = %{version} Obsoletes: appcenter < %{version} %description AppCenter is a native Gtk+ app store built on AppStream and Packagekit. %package -n gnome-shell-search-provider-elementary-appcenter Summary: Browse and manage apps -- Search Provider for GNOME Shell Group: System/GUI/GNOME Requires: %{name} = %{version} Requires: gnome-shell Supplements: packageand(%{name}:gnome-shell) %description -n gnome-shell-search-provider-elementary-appcenter AppCenter is a native Gtk+ app store built on AppStream and Packagekit. This package contains a search provider to enable GNOME Shell to get search results from AppCenter. %lang_package %prep %setup -q # Use the system logo sed -i 's/\(distributor\)-logo/\1/' $(grep -rwl distributor-logo) %build %meson \ -Dcurated=false \ -Dhomepage=false \ -Dlibunity=false \ -Dpayments=false %meson_build %install %meson_install %suse_update_desktop_file -r -G AppCenter io.elementary.appcenter GTK System PackageManager %find_lang io.elementary.appcenter %{name}.lang %fdupes %{buildroot}%{_datadir} # Add .desktop file to autostart install -Dm0644 \ %{buildroot}%{_datadir}/applications/io.elementary.appcenter-daemon.desktop \ %{buildroot}%{_sysconfdir}/xdg/autostart/io.elementary.appcenter-daemon.desktop # Add OnlyShowIn key if ! grep OnlyShowIn.*Pantheon %{buildroot}%{_datadir}/applications/io.elementary.appcenter-daemon.desktop; then sed -i '$aOnlyShowIn=Pantheon;' %{buildroot}%{_sysconfdir}/xdg/autostart/io.elementary.appcenter-daemon.desktop else 'This entry already exists' 2> /dev/null fi %files %license COPYING %doc README.md %{_bindir}/io.elementary.appcenter %{_datadir}/applications/io.elementary.appcenter*.desktop %{_datadir}/dbus-1/services/io.elementary.appcenter.service %{_datadir}/glib-2.0/schemas/io.elementary.appcenter.gschema.xml %{_datadir}/metainfo/io.elementary.appcenter.appdata.xml %dir %{_sysconfdir}/io.elementary.appcenter %config %{_sysconfdir}/io.elementary.appcenter/appcenter.blacklist %{_sysconfdir}/xdg/autostart/io.elementary.appcenter-daemon.desktop %files -n gnome-shell-search-provider-elementary-appcenter %dir %{_datadir}/gnome-shell %dir %{_datadir}/gnome-shell/search-providers %{_datadir}/gnome-shell/search-providers/io.elementary.appcenter.search-provider.ini %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor