diff --git a/.gitignore b/.gitignore index 8a8162e..9fe3eb3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ /fedora-20-icons.tar.gz /gnome-software-3.10.0.tar.xz /gnome-software-3.11.1.tar.xz +/fedora-20-codecs.xml +/web-apps.xml diff --git a/gnome-software.spec b/gnome-software.spec index a11bd27..2bd56c8 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -8,8 +8,11 @@ URL: https://wiki.gnome.org/Apps/Software 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 +Source3: http://people.freedesktop.org/~hughsient/temp/fedora-20-codecs.xml +Source4: https://raw.github.com/hughsie/fedora-appstream/master/appstream-extra/web-apps.xml Requires: gnome-icon-theme +Requires: gnome-icon-theme-symbolic >= 3.10.1 BuildRequires: gettext BuildRequires: intltool @@ -20,6 +23,10 @@ BuildRequires: glib2-devel >= 2.25.9-2 BuildRequires: gtk3-devel >= 3.9.12 BuildRequires: libnotify-devel BuildRequires: PackageKit-glib-devel >= 0.8.10 +BuildRequires: libsoup-devel + +# this is not a library version +%define gs_plugin_version 2 %description gnome-software is an application that makes it easy to add, remove @@ -35,23 +42,29 @@ make %{?_smp_mflags} %install %make_install -%__rm %{buildroot}%{_libdir}/gs-plugins/*.a -%__rm %{buildroot}%{_libdir}/gs-plugins/*.la +%__rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.a +%__rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la # install AppStream data for Fedora %__mkdir_p %{buildroot}%{_datadir}/app-info/xmls %__cp %{SOURCE1} %{buildroot}%{_datadir}/app-info/xmls +%__cp %{SOURCE3} %{buildroot}%{_datadir}/app-info/xmls +%__cp %{SOURCE4} %{buildroot}%{_datadir}/app-info/xmls # decompress and install AppStream icons -%__mkdir_p %{buildroot}%{_datadir}/app-info/icons -cd %{buildroot}%{_datadir}/app-info/icons +%__mkdir_p %{buildroot}%{_datadir}/app-info/icons/fedora-20 +cd %{buildroot}%{_datadir}/app-info/icons/fedora-20 %__tar xvzf %{SOURCE2} cd - +# make the software center load faster +desktop-file-edit %{buildroot}%{_datadir}/applications/*.desktop \ + --set-key=X-AppInstall-Package --set-value=%{name} + %find_lang %name --with-gnome %check -desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-software.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -70,21 +83,36 @@ 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 +%{_datadir}/applications/*.desktop %dir %{_datadir}/gnome-software %{_datadir}/gnome-software/*.png %{_datadir}/appdata/*.appdata.xml -%{_datadir}/app-info/xmls/*.gz -%{_datadir}/app-info/icons/*.png +%{_datadir}/app-info/xmls/* +%{_datadir}/app-info/icons/fedora-20/*.png %{_mandir}/man1/gnome-software.1.gz %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/gnome-software/featured.ini -%dir %{_libdir}/gs-plugins -%{_libdir}/gs-plugins/*.so +%dir %{_libdir}/gs-plugins-%{gs_plugin_version} +%{_libdir}/gs-plugins-%{gs_plugin_version}/*.so +%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop +%{_libexecdir}/gnome-software-service +%{_datadir}/dbus-1/services/org.gnome.Software.service +%{_datadir}/gnome-shell/search-providers/gnome-software-search-provider.ini %changelog * Tue Oct 29 2013 Richard Hughes - 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 3.10.0-1 - New upstream release. diff --git a/sources b/sources index a83c3db..d19d458 100644 --- a/sources +++ b/sources @@ -1 +1,5 @@ 1d9a2eaca75a5786f5f7a48e62ad4c57 gnome-software-3.11.1.tar.xz +fcb8dc265778bae4bbfda7ab1b6311d3 fedora-20.xml.gz +a15faf312e56d00355ffc7a8b6200194 fedora-20-icons.tar.gz +482a36218032b9f69921348e011e5369 fedora-20-codecs.xml +6cbdb92d3c4b6fc6f9f78ba0ac33c52e web-apps.xml