Initial import (#1027784)
This commit is contained in:
parent
b82fc795e2
commit
799b78aecc
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/gnome-logs-3.11.2.tar.xz
|
24
gnome-logs-fix-appdata-xml-m4.patch
Normal file
24
gnome-logs-fix-appdata-xml-m4.patch
Normal file
@ -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
|
51
gnome-logs.spec
Normal file
51
gnome-logs.spec
Normal file
@ -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@amigadave.com> - 3.11.2-1
|
||||
- New package.
|
Loading…
Reference in New Issue
Block a user