gnome-software/gnome-software.spec

387 lines
13 KiB
RPMSpec
Raw Normal View History

2015-09-15 12:57:04 +00:00
%global glib2_version 2.45.8
2015-08-19 16:03:58 +00:00
%global gtk3_version 3.17.7
2015-09-15 20:30:34 +00:00
%global packagekit_version 1.0.9
%global appstream_glib_version 0.5.1
%global libsoup_version 2.51.92
%global gsettings_desktop_schemas_version 3.11.5
2015-09-15 20:30:34 +00:00
%global gnome_desktop_version 3.17.92
2013-09-02 15:44:12 +00:00
Summary: A software center for GNOME
Name: gnome-software
2016-02-15 19:04:48 +00:00
Version: 3.19.90
Release: 1%{?dist}
2013-09-02 15:44:12 +00:00
License: GPLv2+
Group: Applications/System
URL: https://wiki.gnome.org/Apps/Software
2015-09-21 08:07:16 +00:00
Source0: http://download.gnome.org/sources/gnome-software/3.18/%{name}-%{version}.tar.xz
2013-09-02 15:44:12 +00:00
# Downstream patch to the list of unremovable system apps
Patch0: gnome-software-system-apps.patch
Requires: appstream-data
2014-11-13 10:33:51 +00:00
%if 0%{?fedora}
Requires: epiphany-runtime
2014-11-13 10:33:51 +00:00
%endif
Requires: glib2%{?_isa} >= %{glib2_version}
# needed for app folder .directory entries
2015-09-15 20:30:34 +00:00
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
Requires: gnome-menus%{?_isa}
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
2015-05-25 22:17:03 +00:00
Requires: iso-codes
Requires: libappstream-glib%{?_isa} >= %{appstream_glib_version}
# for gdk-pixbuf svg loader
Requires: librsvg2%{?_isa}
2015-09-15 20:30:34 +00:00
Requires: libsoup%{?_isa} >= %{libsoup_version}
Requires: PackageKit%{?_isa} >= %{packagekit_version}
2013-09-02 15:44:12 +00:00
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
2015-05-25 22:17:03 +00:00
BuildRequires: fwupd-devel
BuildRequires: glib2-devel >= %{glib2_version}
2014-03-20 09:47:08 +00:00
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}
2015-08-12 12:12:49 +00:00
BuildRequires: polkit-devel
2016-01-15 17:35:04 +00:00
BuildRequires: json-glib-devel
2013-10-29 10:36:22 +00:00
# this is not a library version
2015-05-25 22:17:03 +00:00
%define gs_plugin_version 8
2013-09-02 15:44:12 +00:00
%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
2013-09-02 15:44:12 +00:00
%build
2015-08-12 09:22:15 +00:00
%configure --disable-static --disable-silent-rules
2013-09-02 15:44:12 +00:00
make %{?_smp_mflags}
%install
%make_install
2015-09-03 18:35:07 +00:00
rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la
2013-09-13 16:16:43 +00:00
2013-10-29 10:36:22 +00:00
# make the software center load faster
2014-02-03 10:32:53 +00:00
desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \
2013-10-29 10:36:22 +00:00
--set-key=X-AppInstall-Package --set-value=%{name}
2013-09-02 15:44:12 +00:00
%find_lang %name --with-gnome
%check
2013-10-29 10:36:22 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
2013-09-02 15:44:12 +00:00
%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
2015-03-16 12:22:24 +00:00
%doc AUTHORS NEWS README
%license COPYING
2013-09-02 15:44:12 +00:00
%{_bindir}/gnome-software
2013-10-29 10:36:22 +00:00
%{_datadir}/applications/*.desktop
2013-09-02 15:44:12 +00:00
%dir %{_datadir}/gnome-software
%{_datadir}/gnome-software/*.png
2013-09-25 07:50:48 +00:00
%{_datadir}/appdata/*.appdata.xml
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
2015-08-12 09:22:15 +00:00
%{_datadir}/gnome-software/featured-*.svg
2016-02-15 19:02:26 +00:00
%{_datadir}/gnome-software/featured-*.jpg
2013-10-29 10:36:22 +00:00
%dir %{_libdir}/gs-plugins-%{gs_plugin_version}
%{_libdir}/gs-plugins-%{gs_plugin_version}/*.so
%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
2015-05-25 22:17:03 +00:00
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
2013-10-29 10:36:22 +00:00
%{_datadir}/dbus-1/services/org.gnome.Software.service
2016-02-15 19:02:26 +00:00
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
2013-11-19 09:14:15 +00:00
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
2014-02-19 12:31:53 +00:00
%dir %{_datadir}/gnome-software/modulesets.d
%{_datadir}/gnome-software/modulesets.d/*.xml
2013-09-02 15:44:12 +00:00
%changelog
2016-02-15 19:04:48 +00:00
* Mon Feb 15 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
- Update to 3.19.90
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-15 17:26:36 +00:00
* Fri Jan 15 2016 Richard Hughes <rhughes@redhat.com> - 3.19.4-1
- Update to 3.19.4
* Thu Dec 03 2015 Kalev Lember <klember@redhat.com> - 3.18.3-2
- Require librsvg2 for the gdk-pixbuf svg loader
2015-11-05 12:01:52 +00:00
* Thu Nov 05 2015 Richard Hughes <rhughes@redhat.com> - 3.18.3-1
- Update to 3.18.3
- Use the correct user agent string when downloading firmware
- Fix a crash in the limba plugin
- Fix installing web applications
* Mon Oct 26 2015 Kalev Lember <klember@redhat.com> - 3.18.2-2
- Fix apps reappearing as installed a few seconds after removal (#1275163)
2015-10-15 11:58:00 +00:00
* Thu Oct 15 2015 Kalev Lember <klember@redhat.com> - 3.18.2-1
- Update to 3.18.2
2015-10-13 12:34:04 +00:00
* Tue Oct 13 2015 Kalev Lember <klember@redhat.com> - 3.18.1-1
- Update to 3.18.1
* Wed Oct 07 2015 Kalev Lember <klember@redhat.com> - 3.18.0-2
- Backport two crasher fixes from upstream
2015-09-21 08:07:16 +00:00
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
- Update to 3.18.0
2015-09-15 20:30:34 +00:00
* Tue Sep 15 2015 Kalev Lember <klember@redhat.com> - 3.17.92-2
- Update dependency versions
2015-09-15 12:57:04 +00:00
* Tue Sep 15 2015 Richard Hughes <rhughes@redhat.com> - 3.17.92-1
- Update to 3.17.92
2015-09-10 12:25:53 +00:00
* Thu Sep 10 2015 Richard Hughes <rhughes@redhat.com> - 3.17.91-2
- Fix firmware updates
2015-09-03 18:31:52 +00:00
* Thu Sep 03 2015 Kalev Lember <klember@redhat.com> - 3.17.91-1
- Update to 3.17.91
2015-08-19 16:03:58 +00:00
* Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 3.17.90-1
- Update to 3.17.90
2015-08-12 09:22:15 +00:00
* Wed Aug 12 2015 Richard Hughes <rhughes@redhat.com> - 3.17.3-1
- Update to 3.17.3
2015-07-22 13:51:09 +00:00
* Wed Jul 22 2015 David King <amigadave@amigadave.com> - 3.17.2-3
- Bump for new gnome-desktop3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.17.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-05 18:16:21 +00:00
* Fri Jun 05 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.2-1
- Update to 3.17.2
2015-05-25 22:17:03 +00:00
* Mon May 25 2015 Kalev Lember <kalevlember@gmail.com> - 3.17.1-1
- Update to 3.17.1
* Fri May 15 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-2
- Fix a crash under Wayland (#1221968)
2015-05-11 15:48:45 +00:00
* Mon May 11 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-1
- Update to 3.16.2
2015-04-14 16:54:32 +00:00
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
- Update to 3.16.1
2015-03-23 10:32:15 +00:00
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
- Update to 3.16.0
2015-03-16 12:20:47 +00:00
* Mon Mar 16 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.92-1
- Update to 3.15.92
2015-03-16 12:22:24 +00:00
- Use license macro for the COPYING file
- Add a patch to adapt to gnome-terminal desktop file rename
2015-03-16 12:20:47 +00:00
2015-03-02 20:49:04 +00:00
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
- Update to 3.15.91
* Sat Feb 21 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.90-3
- Export DisplayName property on the packagekit session service
2015-02-19 21:31:27 +00:00
* Thu Feb 19 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.90-2
- Backport a crash fix
2015-02-17 13:25:43 +00:00
* Tue Feb 17 2015 Richard Hughes <rhughes@redhat.com> - 3.15.90-1
- Update to 3.15.90
2015-01-19 11:34:54 +00:00
* Mon Jan 19 2015 Richard Hughes <rhughes@redhat.com> - 3.15.4-1
- Update to 3.15.4
2014-11-25 21:27:53 +00:00
* Tue Nov 25 2014 Kalev Lember <kalevlember@gmail.com> - 3.15.2-1
- Update to 3.15.2
2014-11-13 10:33:51 +00:00
* Thu Nov 13 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-3
- Fix non-Fedora build
2014-11-11 13:27:58 +00:00
* Tue Nov 11 2014 Richard Hughes <rhughes@redhat.com> - 3.14.2-2
- Backport a patch to fix compilation
2014-11-10 22:23:33 +00:00
* 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)
2014-10-13 21:24:29 +00:00
* 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
2014-09-22 21:04:39 +00:00
* 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)
2014-09-16 13:19:26 +00:00
* 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
2014-09-16 13:19:26 +00:00
2014-09-02 21:51:51 +00:00
* Tue Sep 02 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.91-1
- Update to 3.13.91
2014-08-19 10:20:12 +00:00
* 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
2014-08-11 19:23:41 +00:00
* 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
2014-07-23 20:38:58 +00:00
* Wed Jul 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.4-1
- Update to 3.13.4
2014-06-25 07:31:05 +00:00
* 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
2014-05-28 18:59:24 +00:00
* Wed May 28 2014 Richard Hughes <rhughes@redhat.com> - 3.13.2-2
- Rebuild with new metadata.
2014-05-28 12:38:24 +00:00
* 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
2014-05-12 12:17:50 +00:00
* 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
2014-04-28 10:54:49 +00:00
* Mon Apr 28 2014 Richard Hughes <rhughes@redhat.com> - 3.13.1-1
- Update to 3.13.1
2014-04-11 17:37:38 +00:00
* Fri Apr 11 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.1-2
- Rebuild with new metadata.
2014-04-11 15:07:00 +00:00
* Fri Apr 11 2014 Richard Hughes <rhughes@redhat.com> - 3.12.1-1
- Update to 3.12.1
2014-03-24 10:29:20 +00:00
* Mon Mar 24 2014 Richard Hughes <rhughes@redhat.com> - 3.12.0-1
- Update to 3.12.0
2014-03-20 09:23:58 +00:00
* Thu Mar 20 2014 Richard Hughes <rhughes@redhat.com> - 3.11.92-1
- Update to 3.11.92
2014-03-18 15:05:00 +00:00
* Tue Mar 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-2
- Rebuild with new metadata.
2014-03-08 17:50:06 +00:00
* Sat Mar 08 2014 Richard Hughes <rhughes@redhat.com> - 3.11.91-1
- Update to 3.11.91
2014-02-18 17:14:05 +00:00
* 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
2014-02-03 10:32:53 +00:00
* 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.
2014-01-16 15:02:28 +00:00
* Thu Jan 16 2014 Richard Hughes <rhughes@redhat.com> - 3.11.4-1
- Update to 3.11.4
2013-12-17 11:45:54 +00:00
* Tue Dec 17 2013 Richard Hughes <rhughes@redhat.com> - 3.11.3-1
- Update to 3.11.3
2013-11-19 09:57:04 +00:00
* Tue Nov 19 2013 Richard Hughes <rhughes@redhat.com> - 3.11.2-1
- Update to 3.11.2
2013-10-29 01:29:00 +00:00
* Tue Oct 29 2013 Richard Hughes <rhughes@redhat.com> - 3.11.1-1
- Update to 3.11.1
2013-10-29 10:36:22 +00:00
- 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
2013-10-29 01:29:00 +00:00
2013-09-25 07:50:48 +00:00
* 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
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