1
0
gnome-software/gnome-software.spec

64 lines
1.9 KiB
RPMSpec

#
# spec file for package
#
# 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.9.2
Release: 0
License: GPL-3.0+
Summary: GNOME Software Store
Url: https://wiki.gnome.org/Design/Apps/Software
Group: System/GUI/GNOME
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-software/3.9/%{name}-%{version}.tar.xz
BuildRequires: intltool >= 0.35.0
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.12
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}
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%dir %{_libdir}/gs-plugins
%{_libdir}/gs-plugins/*.so
%files lang -f %{name}.lang
%changelog