[otter-browser] Initial import (#1105613).
Martin Gansser
martinkg at fedoraproject.org
Wed Dec 10 17:38:04 UTC 2014
commit f419d279fd56bad6aea520d396b54f50caf7e160
Author: Martin Gansser <mgansser at alice.de>
Date: Wed Dec 10 18:37:49 2014 +0100
Initial import (#1105613).
.gitignore | 1 +
otter-browser.1 | 57 ++++++++++++++++++++++++
otter-browser.appdata.xml | 26 +++++++++++
otter-browser.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 190 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b206559 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/otter-browser-0.9.04-0bbf467.tar.gz
diff --git a/otter-browser.1 b/otter-browser.1
new file mode 100644
index 0000000..bc61de3
--- /dev/null
+++ b/otter-browser.1
@@ -0,0 +1,57 @@
+.TH "otter-browser" "1" "05. Feb. 2014" "man page by Malcolm J Lewis" ""
+.SH NAME
+.B
+otter-browser
+- Web browser controlled by the user, not vice-versa.
+.P
+.SH SYNOPSIS
+.B
+otter-browser
+.I
+[OPTIONS] [URL]
+.P
+.SH DESCRIPTION
+Project aiming to recreate classic Opera (12.x) UI using Qt5.
+.SH OPTIONS
+
+.B
+-h|--help
+Displays this help.
+
+.B
+-v|--version
+Displays version information.
+
+.B
+--cache <path>
+Uses <path> as cache directory.
+
+.B
+--profile <path>
+Uses <path> as profile directory.
+
+.B
+--session <session>
+Restores session <session> if it exists.
+
+.B
+--privatesession
+Starts private session.
+
+.B
+--portable
+Sets profile and cache paths to directories inside the same directory as that of application binary.
+
+.SH URL
+.B
+url
+URL to open.
+
+.SH AUTHOR
+Written by MichaĆ Emdek
+
+.SH HOMEPAGE
+http://otter-browser.org/
+
+.SH REPORTING BUGS
+https://github.com/Emdek/otter/issues
\ No newline at end of file
diff --git a/otter-browser.appdata.xml b/otter-browser.appdata.xml
new file mode 100644
index 0000000..501b5f9
--- /dev/null
+++ b/otter-browser.appdata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Martin Gansser <martinkg at fedoraproject.org> -->
+<application>
+ <id type="desktop">otter-browser.desktop</id>
+ <metadata_license>CC0</metadata_license>
+ <project_license>GPLv3+</project_license>
+ <name>otter-browser</name>
+ <summary>Web browser controlled by the user, not vice-versa</summary>
+ <description>
+ <p>
+ Otter Browser, project aiming to recreate classic Opera (12.x) UI using Qt5.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">http://t.im9.eu/1497.jpg</screenshot>
+ <screenshot>http://t.im9.eu/826.jpg</screenshot>
+ <screenshot>http://t.im9.eu/725.jpg</screenshot>
+ <screenshot>http://t.im9.eu/635.jpg</screenshot>
+ <screenshot>http://t.im9.eu/596.jpg</screenshot>
+ <screenshot>http://t.im9.eu/4121.jpg</screenshot>
+ <screenshot>http://t.im9.eu/3146.jpg</screenshot>
+ <screenshot>http://t.im9.eu/2176.jpg</screenshot>
+ </screenshots>
+ <url type="homepage">http://otter-browser.org/</url>
+ <updatecontact>martinkg at fedoraproject.org</updatecontact>
+</application>
diff --git a/otter-browser.spec b/otter-browser.spec
new file mode 100644
index 0000000..d39c2ed
--- /dev/null
+++ b/otter-browser.spec
@@ -0,0 +1,105 @@
+%global commit 0bbf467e01df78bd97a922ad2413eb198d450c31
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global oname otter
+
+Name: otter-browser
+Summary: Web browser controlled by the user, not vice-versa
+License: GPLv3+
+Version: 0.9.04
+Release: 0.1.beta4git%{shortcommit}%{?dist}
+Group: Applications/Internet
+URL: http://otter-browser.org/
+# wget https://github.com/Emdek/otter/archive/0bbf467e01df78bd97a922ad2413eb198d450c31/otter-browser-0.9.04-0bbf467.tar.gz
+Source0: https://github.com/Emdek/otter/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+Source1: otter-browser.1
+# upstream
+Source2: https://github.com/Frenzie/otter/raw/f7e17efc6fc0ba21804d518b8110d932091c92a5/otter-browser.appdata.xml
+
+BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtwebkit-devel
+BuildRequires: qt5-qtsensors-devel
+BuildRequires: qt5-qtscript-devel
+BuildRequires: libappstream-glib
+
+%description
+Web browser aiming to recreate classic Opera (12.x) UI using Qt5.
+
+%prep
+%setup -qn %{oname}-%{commit}
+
+%build
+%cmake .
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+mkdir -p %{buildroot}%{_datadir}/{applications,appdata}
+mkdir -p %{buildroot}%{_mandir}/man1
+install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/otter-browser.1
+install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/otter-browser.appdata.xml
+
+desktop-file-install \
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{name}.desktop
+
+%find_lang %{name} --with-qt
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%files -f %{name}.lang
+%doc CHANGELOG README.md COPYING TODO HACKING
+%{_bindir}/otter-browser
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/appdata/otter-browser.appdata.xml
+%{_datadir}/icons/hicolor/*/apps/otter-browser.png
+%{_mandir}/man1/otter-browser.1.gz
+
+
+%changelog
+* Mon Dec 08 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.04-0.1.beta4git0bbf467
+- Update to 0.9.04-0.1.beta4
+- correct project's web site url
+- correct license tag
+- removed %%{_datadir}/icons/hicolor was not owned or used
+- added %%check section
+- added BR libappstream-glib
+- added appdata.xml file
+
+* Thu Oct 30 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.03-0.1.beta3gitc2c558a
+- use commit revision in source url
+- added macro %%find_lang
+
+* Thu Aug 28 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.02-2
+- added own directory for otter-browser
+
+* Thu Aug 28 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.02-1
+- Update to 0.9.02
+- used macro make_install
+
+* Mon Jun 23 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.01-5.beta1
+- changed %%cmake command following fedora packaging guide
+
+* Sun Jun 08 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.01-4.beta1
+- changed release Tag
+
+* Sat Jun 07 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.01-3
+- replaced qmake-qt5 by cmake
+- added manual page
+
+* Fri Jun 06 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.01-2
+- added BR desktop-file-utils
+
+* Fri Jun 06 2014 Martin Gansser <martinkg at fedoraproject.org> - 0.9.01-1
+- initial build for Fedora 20
+
diff --git a/sources b/sources
index e69de29..99141cd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e1a63e0074a0a3fd732158db62e50cba otter-browser-0.9.04-0bbf467.tar.gz
More information about the scm-commits
mailing list