[glogg/f16] Initial import (#870323)

dwrobel dwrobel at fedoraproject.org
Wed Oct 31 19:57:13 UTC 2012


commit 88bce2ad516a6211c14ccf5ac594cf10838851fe
Author: Damian Wrobel <D.Wrobel at ertelnet.rybnik.pl>
Date:   Wed Oct 31 20:57:09 2012 +0100

    Initial import (#870323)

 .gitignore                  |    1 +
 glogg-python-markdown.patch |   25 +++++++++++++++
 glogg.spec                  |   73 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 4 files changed, 100 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..081281f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/glogg-0.8.3.tar.gz
diff --git a/glogg-python-markdown.patch b/glogg-python-markdown.patch
new file mode 100644
index 0000000..c44fc6b
--- /dev/null
+++ b/glogg-python-markdown.patch
@@ -0,0 +1,25 @@
+Index: glogg-0.9.0/glogg.pro
+===================================================================
+--- glogg-0.9.0.orig/glogg.pro	2012-01-05 10:56:31.000000000 +0100
++++ glogg-0.9.0/glogg.pro	2012-10-25 21:34:25.606164277 +0200
+@@ -98,17 +98,17 @@ RC_FILE = glogg.rc
+ RESOURCES = glogg.qrc
+ 
+ # Build HTML documentation (if 'markdown' is available)
+-system(type markdown >/dev/null) {
++system(type markdown_py >/dev/null) {
+     MARKDOWN += doc/documentation.markdown
+ }
+ else {
+-    message("markdown not found, HTML doc will not be generated")
++    message("markdown_py not found, HTML doc will not be generated")
+ }
+ 
+ doc_processor.name = markdown
+ doc_processor.input = MARKDOWN
+ doc_processor.output = doc/${QMAKE_FILE_BASE}.html
+-doc_processor.commands = markdown ${QMAKE_FILE_NAME} | \
++doc_processor.commands = markdown_py ${QMAKE_FILE_NAME} | \
+     sed -f finish.sed >${QMAKE_FILE_OUT}
+ 
+ doc_processor.CONFIG += target_predeps
diff --git a/glogg.spec b/glogg.spec
new file mode 100644
index 0000000..6b2725b
--- /dev/null
+++ b/glogg.spec
@@ -0,0 +1,73 @@
+Name:          glogg
+Version:       0.8.3
+Release:       2%{?dist}
+Group:         Applications/System
+Summary:       Smart interactive log explorer
+License:       GPLv3+
+URL:           http://glogg.bonnefon.org
+Source:        http://glogg.bonnefon.org/files/%{name}-%{version}.tar.gz
+# We have a python implementation of the markdown
+# thus we need to rename markdown -> markdown_py
+Patch0:        %{name}-python-markdown.patch
+
+
+BuildRequires:  boost-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  hicolor-icon-theme
+BuildRequires:  python-markdown
+BuildRequires:  qt-devel
+
+
+%description
+%{name} is a multi-platform GUI application to browse and search through
+long or complex log files. It is designed with programmers and system
+administrators in mind. %{name} can be seen as a graphical, interactive
+combination of grep and less.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .python-markdown
+
+
+%build
+qmake-qt4
+make %{?_smp_flags}
+
+
+%install
+make INSTALL_ROOT=%{buildroot}%{_prefix} install
+rm -rf %{buildroot}%{_datadir}/doc
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files
+%doc COPYING README TODO doc/documentation.html
+%{_bindir}/%{name}
+%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
+%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+%{_datadir}/applications/%{name}.desktop
+
+
+%changelog
+* Mon Oct 29 2012 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.8.3-3
+- icon cache refreshing scriplets added.
+- superfluous BR removed.
+
+* Wed Oct 03 2012 Damian Wrobel <dwrobel at ertelnet.rybnik.pl> - 0.8.3-1
+- initial RPM release.
diff --git a/sources b/sources
index e69de29..727c920 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0816384f81411648588421ed60b601a0  glogg-0.8.3.tar.gz


More information about the scm-commits mailing list