279 lines
9.7 KiB
RPMSpec
279 lines
9.7 KiB
RPMSpec
%global glib2_version 2.39.1
|
|
%global gtk3_version 3.14.1
|
|
%global packagekit_version 1.0.0
|
|
%global appstream_glib_version 0.2.7
|
|
%global gsettings_desktop_schemas_version 3.11.5
|
|
|
|
Summary: A software center for GNOME
|
|
Name: gnome-software
|
|
Version: 3.14.2
|
|
Release: 2%{?dist}
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
URL: https://wiki.gnome.org/Apps/Software
|
|
Source0: http://download.gnome.org/sources/gnome-software/3.14/%{name}-%{version}.tar.xz
|
|
|
|
# Downstream patch to the list of unremovable system apps
|
|
Patch0: gnome-software-system-apps.patch
|
|
|
|
# upstream patch
|
|
Patch1: 0001-trivial-Fix-compile-when-using-appstream-glib-0.3.2.patch
|
|
|
|
Requires: appstream-data
|
|
Requires: epiphany-runtime
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
# needed for app folder .directory entries
|
|
Requires: gnome-menus%{?_isa}
|
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
|
Requires: libappstream-glib%{?_isa} >= %{appstream_glib_version}
|
|
Requires: PackageKit%{?_isa} >= %{packagekit_version}
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: libxslt
|
|
BuildRequires: docbook-style-xsl
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: gnome-desktop3-devel
|
|
BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
|
|
BuildRequires: gtk3-devel >= %{gtk3_version}
|
|
BuildRequires: libappstream-glib-devel >= %{appstream_glib_version}
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: PackageKit-glib-devel >= %{packagekit_version}
|
|
|
|
# this is not a library version
|
|
%define gs_plugin_version 7
|
|
|
|
%description
|
|
gnome-software is an application that makes it easy to add, remove
|
|
and update software in the GNOME desktop.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .system-apps
|
|
%patch1 -p1 -b .fix-old-appstream-glib
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%__rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la
|
|
|
|
# make the software center load faster
|
|
desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \
|
|
--set-key=X-AppInstall-Package --set-value=%{name}
|
|
|
|
%find_lang %name --with-gnome
|
|
|
|
%check
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ]; then
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
touch --no-create %{_datadir}/icons/HighContrast &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/HighContrast &> /dev/null || :
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/HighContrast &> /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/*.desktop
|
|
%dir %{_datadir}/gnome-software
|
|
%{_datadir}/gnome-software/*.png
|
|
%{_datadir}/appdata/*.appdata.xml
|
|
%{_mandir}/man1/gnome-software.1.gz
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
%{_datadir}/icons/HighContrast/*/apps/*.png
|
|
%{_datadir}/gnome-software/featured.ini
|
|
%dir %{_libdir}/gs-plugins-%{gs_plugin_version}
|
|
%{_libdir}/gs-plugins-%{gs_plugin_version}/*.so
|
|
%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Software.service
|
|
%{_datadir}/gnome-shell/search-providers/gnome-software-search-provider.ini
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
|
|
%dir %{_datadir}/gnome-software/modulesets.d
|
|
%{_datadir}/gnome-software/modulesets.d/*.xml
|
|
|
|
%changelog
|
|
* Tue Nov 11 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-2
|
|
- Backport a patch to fix compilation
|
|
|
|
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
|
|
- Update to 3.14.2
|
|
|
|
* Sat Nov 08 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-3
|
|
- Update the list of system apps
|
|
|
|
* Sat Nov 01 2014 David King <amigadave@amigadave.com> - 3.14.1-2
|
|
- Rebuild for new libappstream-glib (#1156494)
|
|
|
|
* Mon Oct 13 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
|
|
- Update to 3.14.1
|
|
|
|
* Thu Oct 09 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-2
|
|
- Depend on gnome-menus for app folder directory entries
|
|
|
|
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
|
|
- Update to 3.14.0
|
|
|
|
* Wed Sep 17 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-2
|
|
- Set minimum required dependency versions (#1136343)
|
|
|
|
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
|
|
- Update to 3.13.92
|
|
- Replace gnome-system-log with gnome-logs in the system apps list
|
|
|
|
* Tue Sep 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-1
|
|
- Update to 3.13.91
|
|
|
|
* Tue Aug 19 2014 Richard Hughes <rhughes@redhat.com> - 3.13.90-1
|
|
- Update to 3.13.90
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.5-0.2.git5c89189
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Mon Aug 11 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.5-0.1.git5c89189
|
|
- Update to 3.13.5 git snapshot
|
|
- Ship HighContrast icons
|
|
|
|
* Sun Aug 03 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.4-2
|
|
- Replace Epiphany with Firefox in the system apps list
|
|
|
|
* Wed Jul 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.4-1
|
|
- Update to 3.13.4
|
|
|
|
* Wed Jun 25 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-1
|
|
- Update to 3.13.3
|
|
|
|
* Thu Jun 12 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-0.2.git7491627
|
|
- Depend on the newly-created appstream-data package and stop shipping
|
|
the metadata here.
|
|
|
|
* Sat Jun 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-0.1.git7491627
|
|
- Update to 3.13.3 git snapshot
|
|
|
|
* Wed May 28 2014 Richard Hughes <rhughes@redhat.com> - 3.13.2-2
|
|
- Rebuild with new metadata.
|
|
|
|
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.2-1
|
|
- Update to 3.13.2
|
|
|
|
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-4
|
|
- Depend on gsettings-desktop-schemas
|
|
|
|
* Mon May 12 2014 Richard Hughes <rhughes@redhat.com> - 3.13.1-3
|
|
- Update the metadata and use appstream-util to install the metadata.
|
|
|
|
* Wed May 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.1-2
|
|
- Drop gnome-icon-theme dependency
|
|
|
|
* Mon Apr 28 2014 Richard Hughes <rhughes@redhat.com> - 3.13.1-1
|
|
- Update to 3.13.1
|
|
|
|
* Fri Apr 11 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-2
|
|
- Rebuild with new metadata.
|
|
|
|
* Fri Apr 11 2014 Richard Hughes <rhughes@redhat.com> - 3.12.1-1
|
|
- Update to 3.12.1
|
|
|
|
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
|
|
- Update to 3.12.0
|
|
|
|
* Thu Mar 20 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
|
|
- Update to 3.11.92
|
|
|
|
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-2
|
|
- Rebuild with new metadata.
|
|
|
|
* Sat Mar 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
|
|
- Update to 3.11.91
|
|
|
|
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
|
|
- Update to 3.11.90
|
|
|
|
* Mon Feb 03 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-2
|
|
- Require epiphany-runtime rather than the full application
|
|
|
|
* Mon Feb 03 2014 Richard Hughes <rhughes@redhat.com> - 3.11.5-1
|
|
- Update to 3.11.5
|
|
|
|
* Thu Jan 30 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-3
|
|
- Rebuild for libpackagekit-glib soname bump
|
|
|
|
* Wed Jan 22 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-2
|
|
- Rebuild with metadata that has the correct screenshot url.
|
|
|
|
* Thu Jan 16 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
|
|
- Update to 3.11.4
|
|
|
|
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
|
|
- Update to 3.11.3
|
|
|
|
* Tue Nov 19 2013 Richard Hughes <rhughes@redhat.com> - 3.11.2-1
|
|
- Update to 3.11.2
|
|
|
|
* Tue Oct 29 2013 Richard Hughes <rhughes@redhat.com> - 3.11.1-1
|
|
- Update to 3.11.1
|
|
- Add a gnome shell search provider
|
|
- Add a module to submit the user rating to the fedora-tagger web service
|
|
- Add support for 'missing' codecs that we know exist but we can't install
|
|
- Add support for epiphany web applications
|
|
- Handle offline installation sensibly
|
|
- Save the user rating if the user clicks the rating stars
|
|
- Show a modal error message if install or remove actions failed
|
|
- Show a star rating on the application details page
|
|
- Show font screenshots
|
|
- Show more detailed version numbers when required
|
|
- Show screenshots to each application
|
|
|
|
* Wed Sep 25 2013 Richard Hughes <richard@hughsie.com> 3.10.0-1
|
|
- New upstream release.
|
|
- New metadata for fedora, updates and updates-testing
|
|
- Add a plugin to query the PackageKit prepared-update file directly
|
|
- Do not clear the offline-update trigger if rebooting succeeded
|
|
- Do not load incompatible projects when parsing AppStream data
|
|
- Lots of updated translations
|
|
- Show the window right away when starting
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Mon Sep 02 2013 Richard Hughes <richard@hughsie.com> 3.9.1-1
|
|
- New upstream release which is a technical preview for the alpha.
|
|
|
|
* 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
|
|
|