forked from ojuba-org/othman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
othman.spec
132 lines (106 loc) · 3.79 KB
/
othman.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
%global owner ojuba-org
%global commit #Write commit number here
Name: othman
Version: 0.4
Release: 4%{?dist}
Summary: Electronic Quran Browser
Summary(ar): مصحف إلكتروني
License: WAQFv2
URL: http://ojuba.org
Source: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
BuildRequires: python2-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
as written under authority of Othman ibn Affan the companion of prophet Muhammad PBUH
Othman project features fast search, autoscrolling, copy Quranic text to clipboard.
%description -l ar
يؤمّن مصحف عثمان الإلكتروني مستعرضًا لنص القرءان الكريم
يالخط العثماني و الذي تم ضبطه في عهد صاحب رسول الله
صلّ الله عليه و سلّم ، الخليفة الثّالث عثمان بن عفان رضي
الله عنه .
يؤمّن مصحف عثمان الإلكتروني سرعة في البحث و التّسيير
التّلقائي و إمكانية نسخ النّص القرءاني .
%prep
%setup -q -n %{name}-%{commit}
%build
make %{?_smp_mflags}
%install
%make_install
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%package -n python-othman
Summary: Quranic text python module
Summary(ar): وحدة بيثون للنّص القرءاني
License: WAQFv2
BuildArch: noarch
Requires: python
%description -n python-othman
A python module that provides access to Quranic text with a fast search index
%description -n python-othman -l ar
وحدة بيثون تقدّم وصولًا كاملًا للنّص القرءاني مع إمكانية البحث ضمن فهرسة سريعة
%files
%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
%files -n python-othman
%license COPYING waqf2-ar.pdf
%doc README README-ar.txt
%dir %{python2_sitelib}/othman
%dir %{_datadir}/othman
%{python2_sitelib}/*.egg-info
%{python2_sitelib}/othman/core.p*
%{python2_sitelib}/othman/*varuints.p*
%{python2_sitelib}/othman/__init__.p*
%{_datadir}/othman/*
%changelog
* Sat Nov 26 2016 Mosaab Alzoubi <moceap@hotmail.com> - 0.4-4
- Rebuilt for Fedora 25
- Add sqlite as BR and require
* Thu Jul 23 2015 Mosaab Alzoubi <moceap@hotmail.com> - 0.4-3
- Fix typo
* Thu Jul 16 2015 Mosaab Alzoubi <moceap@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@hotmail.com> - 0.4-1
- Update to 0.4.
* Tue Apr 8 2014 Mosaab Alzoubi <moceap@hotmail.com> - 0.3-3
- Fix requires.
* Mon Mar 24 2014 Ehab El-Gedawy <ehabsas@gmail.com> - 0.3-2
- change to amiri font
* Wed Mar 19 2014 Mosaab Alzoubi <moceap@hotmail.com> - 0.3-1
- New Relese
* Mon Jun 4 2012 Mosaab Alzoubi <moceap@hotmail.com> - 0.2.8-2
- General Revision.
* Mon Jun 4 2012 Muayyad Saleh AlSadi <alsadi@ojuba.org> - 0.2.8-1
- port to gtk3
* Sat Jun 12 2010 Muayyad Saleh AlSadi <alsadi@ojuba.org> - 0.2.5-1
- update to new version
* Wed Apr 28 2010 Muayyad Saleh Alsadi <alsadi@ojuba.org> - 0.2.0-1
- initial release