[Debian-islamic-commits] [othman] 01/06: Imported Upstream version 0.5

أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmoudy at users.sourceforge.net
Thu Sep 28 15:38:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

aelmahmoudy-guest pushed a commit to branch master
in repository othman.

commit ad37a1ea8b5451184e233e4db22fa1b2b1c06044
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date:   Thu Sep 28 10:17:48 2017 +0200

    Imported Upstream version 0.5
---
 othman.spec | 142 +++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 111 insertions(+), 31 deletions(-)

diff --git a/othman.spec b/othman.spec
index 654b297..0deb405 100644
--- a/othman.spec
+++ b/othman.spec
@@ -1,22 +1,23 @@
 %global owner ojuba-org
-%global commit #Write commit number here
-
-Name:		othman
-Version:	0.4
-Release:	1%{?dist}
-Summary:	Othman Electronic Quran Browser
-Group:		Applications/Productivity
-License:	WAQFv2
-URL:		http://ojuba.org
-Source:		https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
-BuildArch:	noarch
-BuildRequires:	python
-BuildRequires:	python2-devel
-Requires:	islamic-menus
-Requires:	amiri-quran-fonts
-#Requires:	arabeyes-core-fonts
-Requires:	pygobject3 >= 3.0.2
-Requires:	python-othman
+
+Name: othman
+Version: 0.5
+Release: 1%{?dist}
+Summary: Electronic Quran Browser
+Summary(ar): مصحف إلكتروني
+License: WAQFv2
+URL: http://ojuba.org
+Source: https://github.com/%{owner}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: ImageMagick
+BuildRequires: intltool
+BuildRequires: sqlite
+Requires: islamic-menus
+Requires: amiri-quran-fonts
+Requires: sqlite
+Requires: pygobject3 >= 3.0.2
+Requires: python-othman
 
 %description
 Othman Electronic Quran Browser displays Quranic text in Othmani script style
@@ -24,14 +25,67 @@ as written under authority of Othman ibn Affan the companion of prophet Muhammad
 
 Othman project features fast search, autoscrolling, copy Quranic text to clipboard.
 
+%description -l ar
+يؤمّن مصحف عثمان الإلكتروني مستعرضًا لنص القرءان الكريم
+يالخط العثماني و الذي تم ضبطه في عهد صاحب رسول الله
+صلّ الله عليه و سلّم ، الخليفة الثّالث عثمان بن عفان رضي
+الله عنه .
+
+يؤمّن مصحف عثمان الإلكتروني سرعة في البحث و التّسيير
+التّلقائي و إمكانية نسخ النّص القرءاني .
+
 %prep
-%setup -q -n %{name}-%{commit}
+%setup -q -n %{name}
 
 %build
 make %{?_smp_mflags}
 
 %install
-%makeinstall DESTDIR=$RPM_BUILD_ROOT
+%make_install
+
+
+
+
+# Register as an application to be visible in the software center
+#
+# NOTE: It would be *awesome* if this file was maintained by the upstream
+# project, translated and installed into the right place during `make install`.
+#
+# See http://www.freedesktop.org/software/appstream/docs/ for more details.
+#
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
+cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2017 Mosaab Alzoubi <moceap at hotmail.com> -->
+<!--
+EmailAddress: moceap at hotmail.com
+SentUpstream: 2017-1-8
+-->
+<application>
+  <id type="desktop">Othman.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <summary>Electronic Quran Browser</summary>
+  <summary xml:lang="ar">مصحف إلكتروني</summary>
+  <description>
+    <p>
+	Electronic Quran Browser
+    </p>
+  </description>
+  <description xml:lang="ar">
+    <p>
+	مصحف إلكتروني.
+    </p>
+  </description>
+  <url type="homepage">https://github.com/ojuba-org/%{name}</url>
+  <screenshots>
+    <screenshot type="default">http://ojuba.org/screenshots/%{name}.png</screenshot>
+  </screenshots>
+  <updatecontact>moceap at hotmail.com</updatecontact>
+</application>
+EOF
+
+
+
 
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
@@ -46,27 +100,31 @@ if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
 fi
 
 %package -n python-othman
-Group:		System Environment/Base
-Summary:	python package providing access to Quranic text
-License:	WAQFv2
-BuildArch:	noarch
-Requires:	python
+Summary: Quranic text python module
+Summary(ar): وحدة بيثون للنّص القرءاني
+License: WAQFv2
+BuildArch: noarch
+Requires: python
 
 %description -n python-othman
-a python package that provides access to Quranic text with a fast search index
+A python module that provides access to Quranic text with a fast search index
+
+%description -n python-othman -l ar
+وحدة بيثون تقدّم وصولًا كاملًا للنّص القرءاني مع إمكانية البحث ضمن فهرسة سريعة
 
 %files
-%defattr(-,root,root,-)
-%doc README README-ar.txt COPYING waqf2-ar.pdf
+%license COPYING waqf2-ar.pdf
+%doc README README-ar.txt
 %{_bindir}/othman-browser
 %{python2_sitelib}/othman/gtkUi.p*
 %{_datadir}/applications/*.desktop
 %{_datadir}/locale/*/*/*.mo
 %{_datadir}/icons/hicolor/*/apps/*.png
+%{_datadir}/appdata/%{name}.appdata.xml
 
 %files -n python-othman
-%defattr(-,root,root,-)
-%doc README README-ar.txt COPYING waqf2-ar.pdf
+%license COPYING waqf2-ar.pdf
+%doc README README-ar.txt
 %dir %{python2_sitelib}/othman
 %dir %{_datadir}/othman
 %{python2_sitelib}/*.egg-info
@@ -76,13 +134,35 @@ a python package that provides access to Quranic text with a fast search index
 %{_datadir}/othman/*
 
 %changelog
+* Sun Jan 8 2017 Mosaab Alzoubi <moceap at hotmail.com> - 0.5-1
+- Update to 0.5
+- New way to get Github upstream
+- Add appdata
+
+* Sat Nov 26 2016 Mosaab Alzoubi <moceap at hotmail.com> - 0.4-4
+- Rebuilt for Fedora 25
+- Add sqlite as BR and require
+
+* Thu Jul 23 2015 Mosaab Alzoubi <moceap at hotmail.com> - 0.4-3
+- Fix typo
+
+* Thu Jul 16 2015 Mosaab Alzoubi <moceap at hotmail.com> - 0.4-2
+- General clean
+- Add Arabic summary and description
+- Remove group tag
+- Reset BRs
+- Use %%make_install
+- Modified description
+- Remove old attr way
+- Use %%license macro
+
 * Mon Sep 29 2014 Mosaab Alzoubi <moceap at hotmail.com> - 0.4-1
 - Update to 0.4.
 
 * Tue Apr 8 2014 Mosaab Alzoubi <moceap at hotmail.com> - 0.3-3
 - Fix requires.
 
-* Fri Mar 24 2014 Ehab El-Gedawy <ehabsas at gmail.com> - 0.3-2
+* Mon Mar 24 2014 Ehab El-Gedawy <ehabsas at gmail.com> - 0.3-2
 - change to amiri font
 
 * Wed Mar 19 2014 Mosaab Alzoubi <moceap at hotmail.com> - 0.3-1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-islamic/packages/othman.git



More information about the Debian-islamic-commits mailing list