Initial package
This commit is contained in:
parent
c9edefb5d0
commit
2164533d4f
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/gnome-software-0.1.tar.xz
|
77
gnome-software.spec
Normal file
77
gnome-software.spec
Normal file
@ -0,0 +1,77 @@
|
||||
Summary: A software center for GNOME
|
||||
Name: gnome-software
|
||||
Version: 0.1
|
||||
Release: 3%{?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
|
||||
%{_mandir}/man1/gnome-software.1.gz
|
||||
%dir %{_libdir}/gs-plugins
|
||||
%{_libdir}/gs-plugins/*.so
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user