[gnome-system-log] initial import

Matthias Clasen mclasen at fedoraproject.org
Mon Nov 21 18:54:44 UTC 2011


commit f000ae8ed1e2f444e6d761b09a77088c5c395498
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Mon Nov 21 13:54:20 2011 -0500

    initial import

 .gitignore            |    1 +
 gnome-system-log.spec |   71 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5ce91ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gnome-system-log-3.3.1.tar.xz
diff --git a/gnome-system-log.spec b/gnome-system-log.spec
new file mode 100644
index 0000000..beee0b7
--- /dev/null
+++ b/gnome-system-log.spec
@@ -0,0 +1,71 @@
+Name:           gnome-system-log
+Version:        3.3.1
+Release:        1%{?dist}
+Summary:        A log file viewer for GNOME
+
+Group:          Applications/System
+License:        GPLv2+ and GFDL
+URL:            http://www.gnome.org
+Source0:        http://download.gnome.org/sources/gnome-system-log/3.3/gnome-system-log-%{version}.tar.xz
+
+BuildRequires: gtk3-devel
+BuildRequires: intltool
+BuildRequires: gnome-doc-utils
+BuildRequires: scrollkeeper
+BuildRequires: docbook-dtds
+BuildRequires: desktop-file-utils
+
+%description
+gnome-system-log lets you view various log files on your system.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-log.desktop
+
+%find_lang %{name} --with-gnome
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=736523
+#echo "%%dir %%{_datadir}/help/C" >> aisleriot.lang
+#echo "%%{_datadir}/help/C/%%{name}" >> aisleriot.lang
+#for l in ca cs de el en_GB es eu fi fr it ja ko oc ru sl sv uk zh_CN; do
+#  echo "%%dir %%{_datadir}/help/$l"
+#  echo "%%lang($l) %%{_datadir}/help/$l/%%{name}"
+#done >> %{name}.lang
+
+%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
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
+
+%files -f %{name}.lang
+%doc COPYING COPYING.docs
+%{_bindir}/gnome-system-log
+%{_datadir}/GConf/gsettings/logview.convert
+%{_datadir}/applications/gnome-system-log.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-log.gschema.xml
+%{_datadir}/gnome-system-log
+%{_datadir}/icons/hicolor/*/apps/logview.png
+%doc %{_mandir}/man1/gnome-system-log.1.gz
+
+%changelog
+* Fri Nov 18 2011  Matthias Clasen <mclasen at redhat.com> - 3.3.1-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..58913f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5cd198d73dfae49620eacd35243223ab  gnome-system-log-3.3.1.tar.xz


More information about the scm-commits mailing list