2013-09-02 15:44:12 +00:00
|
|
|
Summary: A software center for GNOME
|
|
|
|
Name: gnome-software
|
2013-09-13 16:16:43 +00:00
|
|
|
Version: 3.9.3
|
2013-09-02 18:50:01 +00:00
|
|
|
Release: 1%{?dist}
|
2013-09-02 15:44:12 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: https://wiki.gnome.org/Apps/Software
|
2013-09-13 16:16:43 +00:00
|
|
|
Source0: http://download.gnome.org/sources/gnome-software/3.9/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://people.freedesktop.org/~hughsient/temp/fedora-20.xml.gz
|
|
|
|
Source2: http://people.freedesktop.org/~hughsient/temp/fedora-20-icons.tar.gz
|
2013-09-02 15:44:12 +00:00
|
|
|
|
|
|
|
Requires: gnome-icon-theme
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
2013-09-02 18:59:57 +00:00
|
|
|
BuildRequires: libxslt
|
|
|
|
BuildRequires: docbook-style-xsl
|
2013-09-02 15:44:12 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: glib2-devel >= 2.25.9-2
|
|
|
|
BuildRequires: gtk3-devel >= 3.9.12
|
|
|
|
BuildRequires: PackageKit-glib-devel >= 0.8.10
|
|
|
|
|
|
|
|
%description
|
|
|
|
gnome-software is an application that makes it easy to add, remove
|
|
|
|
and update software in the GNOME desktop.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2013-09-13 16:16:43 +00:00
|
|
|
%__rm %{buildroot}%{_libdir}/gs-plugins/*.a
|
|
|
|
%__rm %{buildroot}%{_libdir}/gs-plugins/*.la
|
|
|
|
|
|
|
|
# install AppStream data for Fedora
|
|
|
|
%__mkdir_p %{buildroot}%{_datadir}/app-info/xmls
|
|
|
|
%__cp %{SOURCE1} %{buildroot}%{_datadir}/app-info/xmls
|
|
|
|
|
|
|
|
# decompress and install AppStream icons
|
|
|
|
%__mkdir_p %{buildroot}%{_datadir}/app-info/icons
|
|
|
|
cd %{buildroot}%{_datadir}/app-info/icons
|
|
|
|
%__tar xvzf %{SOURCE2}
|
|
|
|
cd -
|
2013-09-02 15:44:12 +00:00
|
|
|
|
|
|
|
%find_lang %name --with-gnome
|
|
|
|
|
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-software.desktop
|
|
|
|
|
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
|
|
|
%{_bindir}/gnome-software
|
|
|
|
%{_datadir}/applications/gnome-software.desktop
|
|
|
|
%dir %{_datadir}/gnome-software
|
|
|
|
%{_datadir}/gnome-software/*.png
|
2013-09-13 16:16:43 +00:00
|
|
|
%{_datadir}/app-info/xmls/*.gz
|
|
|
|
%{_datadir}/app-info/icons/*.png
|
2013-09-02 15:44:12 +00:00
|
|
|
%{_mandir}/man1/gnome-software.1.gz
|
2013-09-13 16:16:43 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
%{_datadir}/gnome-software/featured.ini
|
2013-09-02 15:44:12 +00:00
|
|
|
%dir %{_libdir}/gs-plugins
|
|
|
|
%{_libdir}/gs-plugins/*.so
|
|
|
|
|
|
|
|
%changelog
|
2013-09-13 16:16:43 +00:00
|
|
|
* Fri Sep 13 2013 Richard Hughes <richard@hughsie.com> 3.9.3-1
|
|
|
|
- New upstream release.
|
|
|
|
- Lots of new and fixed UI and updated metadata for Fedora 20
|
|
|
|
|
2013-09-03 21:32:58 +00:00
|
|
|
* Tue Sep 03 2013 Richard Hughes <richard@hughsie.com> 3.9.2-1
|
|
|
|
- New upstream release.
|
|
|
|
- Allow stock items in the AppStream XML
|
|
|
|
- Extract the AppStream URL and description from the XML
|
|
|
|
- Only present the window when the overview is complete
|
|
|
|
- Return the subcategories sorted by name
|
|
|
|
|
2013-09-02 18:50:01 +00:00
|
|
|
* Mon Sep 02 2013 Richard Hughes <richard@hughsie.com> 3.9.1-1
|
|
|
|
- New upstream release which is a technical preview for the alpha.
|
|
|
|
|
2013-09-02 15:44:12 +00:00
|
|
|
* Sun Sep 01 2013 Richard Hughes <richard@hughsie.com> 0.1-3
|
|
|
|
- Use buildroot not RPM_BUILD_ROOT
|
|
|
|
- Own all gnome-software directories
|
|
|
|
- Drop gtk-update-icon-cache requires and the mime database functionality
|
|
|
|
|
|
|
|
* Thu Aug 29 2013 Richard Hughes <richard@hughsie.com> 0.1-2
|
|
|
|
- Add call to desktop-file-validate and fix other review comments.
|
|
|
|
|
|
|
|
* Wed Aug 28 2013 Richard Hughes <richard@hughsie.com> 0.1-1
|
|
|
|
- First release for Fedora package review
|
|
|
|
|