-
Notifications
You must be signed in to change notification settings - Fork 21
/
othman.spec
92 lines (74 loc) · 2.46 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
Name: othman
Version: 0.6.0
Release: 1%{?dist}
Summary: Othman Electronic Quran Browser
Group: Applications/Productivity
License: Waqf
URL: http://othman.ojuba.org
Source: http://git.ojuba.org/cgit/%{name}/snapshot/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python3
BuildRequires: intltool
Requires: islamic-menus, arabeyes-core-fonts
Requires: python3-gobject
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.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall DESTDIR=$RPM_BUILD_ROOT
%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
%clean
rm -rf $RPM_BUILD_ROOT
%package -n python-othman
Group: System Environment/Base
Summary: python package providing access to Quranic text
License: Waqf
BuildArch: noarch
Requires: python
%description -n python-othman
a python package that provides access to Quranic text with a fast search index
%files
%defattr(-,root,root,-)
%doc LICENSE-en LICENSE-ar.txt README README-ar.txt COPYING
%{_bindir}/othman-browser
%{python3_sitelib}/othman/gtkUi.p*
%{_datadir}/applications/*.desktop
%{_datadir}/locale/*/*/*.mo
%{_datadir}/icons/hicolor/*/apps/*.png
%files -n python-othman
%defattr(-,root,root,-)
%doc LICENSE-en LICENSE-ar.txt README README-ar.txt COPYING
%dir %{python3_sitelib}/othman
%dir %{_datadir}/othman
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/othman/core.p*
%{python3_sitelib}/othman/univaruints.p*
%{python3_sitelib}/othman/__init__.p*
%{python3_sitelib}/othman//__pycache__/*.pyc
%{_datadir}/othman/*
%changelog
* Sat Sep 28 2019 Muayyad Saleh AlSadi <[email protected]> - 0.6.0-1
- python3
* Mon Jun 4 2012 Muayyad Saleh AlSadi <[email protected]> - 0.2.8-1
- port to gtk3
* Sat Jun 12 2010 Muayyad Saleh AlSadi <[email protected]> - 0.2.5-1
- update to new version
* Wed Apr 28 2010 Muayyad Saleh Alsadi <[email protected]> - 0.2.0-1
- initial release