1
0
gnome-software/gnome-software.spec

81 lines
2.3 KiB
RPMSpec

#
# spec file for package gnome-software
#
# Copyright (c) 2013 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.10.0
Release: 0
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.10/%{name}-%{version}.tar.xz
BuildRequires: intltool >= 0.35.0
BuildRequires: suse-xsl-stylesheets
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.12
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(packagekit-glib2) >= 0.8.10
BuildRequires: pkgconfig(sqlite3)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
AppStore like management of Applications for your GNOME Desktop.
%lang_package
%prep
%setup -q
%build
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
desktop-file-edit %{buildroot}%{_datadir}/applications/gnome-software.desktop --add-only-show-in=GNOME
%suse_update_desktop_file gnome-software
%find_lang %{name}
%post
%icon_theme_cache_post
%desktop_database_post
%postun
%icon_theme_cache_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}/
%dir %{_datadir}/appdata
%{_datadir}/appdata/gnome-software.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}*
%dir %{_libdir}/gs-plugins
%{_libdir}/gs-plugins/*.so
%{_mandir}/man1/%{name}.1%{?ext_man}
%files lang -f %{name}.lang
%changelog