82 lines
2.3 KiB
RPMSpec
82 lines
2.3 KiB
RPMSpec
Summary: A software center for GNOME
|
|
Name: gnome-software
|
|
Version: 3.9.1
|
|
Release: 1%{?dist}
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
URL: https://wiki.gnome.org/Apps/Software
|
|
Source0: http://people.freedesktop.org/~hughsient/temp/%{name}-%{version}.tar.xz
|
|
|
|
Requires: gnome-icon-theme
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: docbook-utils
|
|
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
|
|
|
|
rm %{buildroot}%{_libdir}/gs-plugins/*.a
|
|
rm %{buildroot}%{_libdir}/gs-plugins/*.la
|
|
|
|
%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
|
|
%{_datadir}/gnome-software/*.gz
|
|
%{_mandir}/man1/gnome-software.1.gz
|
|
%dir %{_libdir}/gs-plugins
|
|
%{_libdir}/gs-plugins/*.so
|
|
|
|
%changelog
|
|
* 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
|
|
|