[gnome-logs] Initial import (#1027784)
David King
amigadave at fedoraproject.org
Thu Dec 12 21:16:30 UTC 2013
commit 799b78aecc609fb0e712811f64ef7ae36d76253b
Author: David King <amigadave at amigadave.com>
Date: Thu Dec 12 21:16:16 2013 +0000
Initial import (#1027784)
.gitignore | 1 +
gnome-logs-fix-appdata-xml-m4.patch | 24 ++++++++++++++++
gnome-logs.spec | 51 +++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..442822f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-logs-3.11.2.tar.xz
diff --git a/gnome-logs-fix-appdata-xml-m4.patch b/gnome-logs-fix-appdata-xml-m4.patch
new file mode 100644
index 0000000..ac8af80
--- /dev/null
+++ b/gnome-logs-fix-appdata-xml-m4.patch
@@ -0,0 +1,24 @@
+diff -urN gnome-logs-3.11.2.old/aclocal.m4 gnome-logs-3.11.2/aclocal.m4
+--- gnome-logs-3.11.2.old/aclocal.m4 2013-11-18 22:40:00.000000000 +0000
++++ gnome-logs-3.11.2/aclocal.m4 2013-12-12 19:16:33.396241488 +0000
+@@ -1385,7 +1385,7 @@
+ mostlyclean-am: clean-appdata-xml
+
+ %.appdata.valid: %.appdata.xml
+- $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(APPDATA_VALIDATE) $${d}$< && touch [$]@
++ $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(APPDATA_VALIDATE) --nonet $${d}$< && touch [$]@
+
+ all-am: $(appdata_XML:.appdata.xml=.appdata.valid)
+ uninstall-am: uninstall-appdata-xml
+diff -urN gnome-logs-3.11.2.old/configure gnome-logs-3.11.2/configure
+--- gnome-logs-3.11.2.old/configure 2013-11-18 22:40:00.000000000 +0000
++++ gnome-logs-3.11.2/configure 2013-12-12 19:21:14.491248666 +0000
+@@ -4618,7 +4618,7 @@
+ mostlyclean-am: clean-appdata-xml
+
+ %.appdata.valid: %.appdata.xml
+- $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(APPDATA_VALIDATE) $${d}$< && touch $@
++ $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(APPDATA_VALIDATE) --nonet $${d}$< && touch $@
+
+ all-am: $(appdata_XML:.appdata.xml=.appdata.valid)
+ uninstall-am: uninstall-appdata-xml
diff --git a/gnome-logs.spec b/gnome-logs.spec
new file mode 100644
index 0000000..a00a7e6
--- /dev/null
+++ b/gnome-logs.spec
@@ -0,0 +1,51 @@
+Name: gnome-logs
+Version: 3.11.2
+Release: 1%{?dist}
+Summary: A log viewer for the systemd journal
+
+Group: Applications/System
+License: GPLv3+
+URL: https://wiki.gnome.org/Apps/Logs
+Source0: http://download.gnome.org/sources/gnome-logs/3.11/%{name}-%{version}.tar.xz
+# Fixed with appdata-tools > 0.1.6
+Patch0: gnome-logs-fix-appdata-xml-m4.patch
+
+BuildRequires: appdata-tools
+BuildRequires: desktop-file-utils
+BuildRequires: gtk3-devel
+BuildRequires: intltool
+BuildRequires: systemd-devel
+Requires: gsettings-desktop-schemas
+
+%description
+A log viewer for the systemd journal.
+
+%prep
+%setup -q
+%patch0 -p1
+
+
+%build
+%configure --disable-maintainer-mode
+make V=1 %{?_smp_mflags}
+
+
+%install
+%make_install
+%find_lang gnome-logs --with-gnome
+
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/gnome-logs.desktop
+
+
+%files -f gnome-logs.lang
+%doc AUTHORS COPYING README NEWS
+%{_bindir}/gnome-logs
+%{_datadir}/appdata/gnome-logs.appdata.xml
+%{_datadir}/applications/gnome-logs.desktop
+
+
+%changelog
+* Thu Dec 12 2013 David King <amigadave at amigadave.com> - 3.11.2-1
+- New package.
diff --git a/sources b/sources
index e69de29..0c633e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+419753a956fa7ecb6c61b8ddf3eae8b1 gnome-logs-3.11.2.tar.xz
More information about the scm-commits
mailing list