[gnome-software] Initial package

Richard Hughes rhughes at fedoraproject.org
Mon Sep 2 15:44:38 UTC 2013


commit 2164533d4fe492f556d64d6a55880045f0b81ef5
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Sep 2 16:44:12 2013 +0100

    Initial package

 .gitignore          |    1 +
 gnome-software.spec |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c3b70f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-software-0.1.tar.xz
diff --git a/gnome-software.spec b/gnome-software.spec
new file mode 100644
index 0000000..b843599
--- /dev/null
+++ b/gnome-software.spec
@@ -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 at 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 at hughsie.com> 0.1-2
+- Add call to desktop-file-validate and fix other review comments.
+
+* Wed Aug 28 2013 Richard Hughes <richard at hughsie.com> 0.1-1
+- First release for Fedora package review
+
diff --git a/sources b/sources
index e69de29..1ea0f35 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c8ff915a317e2a9677641e4e7f72511f  gnome-software-0.1.tar.xz


More information about the scm-commits mailing list