-
Notifications
You must be signed in to change notification settings - Fork 5
/
hijra.spec
197 lines (154 loc) · 5.67 KB
/
hijra.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
%global owner ojuba-org
Name: hijra
Summary: Hijri Islamic Calendar
Summary(ar): التّقويم الهجري الإسلامي
URL: http://ojuba.org
Version: 1.0
Release: 1%{?dist}
Source0: https://github.com/%{owner}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
License: WAQFv2
BuildArch: noarch
Requires: python3
Requires: pygobject3 >= 3.0.2
BuildRequires: gettext
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
Hijra provides Hijri/Islamic Calendar routines and utils in python.
%description -l ar
يقدّم هجرة أدوات التّقويم الهجري الإسلامي في بيثون.
%package -n hijri
Summary: Hijri Terminal
Summary(ar): هجري الطّرفية
BuildArch: noarch
%description -n hijri
Using all Hijra operations in terminal.
%description -n hijri -l ar
جميع خصائص برنامج هجرة في الطّرفية.
%package -n python3-hijra
Summary: Hijri functions for python
Summary(ar): وظائف هجرة لبيثون
BuildArch: noarch
Requires: python3
Requires: setuptool
%description -n python3-hijra
Hijri Islamic Calendar converting functions,
an enhanced algorithm designed by Muayyad
Saleh Alsadi, it can be used to implement apps,
gdesklets or karamba ..etc
%description -n python3-hijra -l ar
الوظائف التّحويلية للتّقويم الهجري الإسلامي بخوارزمية مُحسّنة
مُصمّمة بواسطة مؤيّد صالح السّعدي، يُمكن استخدامها و غرسها في
أدوات سطح المكتب مثل كارامبا .. و غيره.
%package applet
Summary: Hijri Tray Applet
Summary(ar): بريمج هجرة لصينية النّظام
BuildArch: noarch
Requires: python3
Requires: pygtk2
Requires: python3-notify
Requires: desktop-notification-daemon
Requires: python3-hijra
Requires: desktop-file-utils
%description applet
Hijri Tray Applet for GNOME (also works with KDE)
That uses Hijra Algorithm provided by python-hijra.
%description applet -l ar
بريمج هجرة لصينية النّظام لجنوم (ويعمل أيضًا بكدي)
باستعمال خوارزمية هجرة من python-hijra.
%package -n gnome-shell-extension-hijra
Summary: Hijri Gnome-shell extension
Summary(ar): امتداد هجرة لجنوم شل
BuildArch: noarch
Requires: hijra-applet
%description -n gnome-shell-extension-hijra
Hijri Tray Applet as GNOME shell extension.
%description -n gnome-shell-extension-hijra -l ar
بريمج صينية النّظام هجرة كامتداد جنوم شل.
%prep
%autosetup -n %{name}-%{version}
%build
# No thing to Build.
%install
%{__python3} setup.py install \
--root=%{buildroot} \
--optimize=2
mkdir %{buildroot}/%{_datadir}/HijriTerminal/
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 755 terminal/hijri %{buildroot}/%{_bindir}
install -m 755 terminal/هجري %{buildroot}/%{_bindir}
install -m 644 hijra.py %{buildroot}/%{_datadir}/HijriTerminal/hijri.py
install -m 644 HijriCal.py %{buildroot}/%{_datadir}/HijriTerminal/
install -m 644 terminal/hijri.1.gz %{buildroot}%{_mandir}/man1
%files -n hijri
%license waqf2-ar.pdf
%{_datadir}/HijriTerminal
%{_bindir}/hijri
%{_bindir}/هجري
%{_mandir}/*/hijri.*
%files -n python3-hijra
%license waqf2-ar.pdf
%{_datadir}/doc/hijra-python/*
%{python3_sitelib}/*
%files applet
%license waqf2-ar.pdf
%doc readme-ar.html
%{_bindir}/HijriApplet
%{_datadir}/hijra/*
/etc/xdg/autostart/*
%files -n gnome-shell-extension-hijra
%{_datadir}/gnome-shell/extensions/[email protected]/*
%changelog
- Thu Jan 16 2020 Mosaab Alzoubi <moceap[At]hotmail[Dot]com> - 1.0-1
- New generation with Python3
* Wed Feb 1 2017 Mosaab Alzoubi <[email protected]> - 0.4.1-1
- Support running under Wayland
- Fix Hijri errors
- Fix Python Gi warnings
* Mon Jan 30 2017 Mosaab Alzoubi <[email protected]> - 0.4-1
- Update to 0.4
- New way to Github
* Thu Jul 23 2015 Mosaab Alzoubi <[email protected]> - 0.3.2-2
- General Revision
- Use %%license
- Remove old Group tag
- Add man pages
- Add Arabic Summaries and Descriptions
* Fri Feb 28 2014 Mosaab Alzoubi <[email protected]> - 0.3.2-1
- Disable notify.
* Sat Feb 15 2014 Mosaab Alzoubi <[email protected]> - 0.3.1-1
- Almasa Hijri program included into Hijra.
- Full Rivision.
- Fixes.
* Sat Jun 2 2012 Muayyad Saleh AlSadi <[email protected]> - 0.2.2-1
- port to gtk3, webkit3
* Fri Jan 13 2012 Muayyad Saleh AlSadi <[email protected]> - 0.2.1-1
- update for gnome 3.2 support
* Mon Jul 20 2009 Muayyad Saleh AlSadi <[email protected]> - 0.2.0-1
- gnome 3 support
* Sat Feb 14 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.18-1
- use dbus so that only one applet is running
* Sat Jan 31 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.17-1
- reformatting the license
* Sat Jan 24 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.16-1
- include an initial English translaion of the license
* Thu Jan 22 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.15-1
- don't show then hide if --hidden is passed
* Wed Jan 21 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.14-1
- get colors from theme
- highlight week end
* Sat Jan 3 2009 Muayyad Saleh AlSadi <[email protected]> - 0.1.13-1
- add tooltips
* Wed Dec 31 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.12-1
- fix 31 Dec bug
* Sat Dec 20 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.11-2
- add noarch
* Fri Dec 19 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.11-1
- Auto detect direction from pango
* Sun Aug 03 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.10-1
- Auto update date
- Fix consistency bug
* Tue Jul 22 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.9-1
- Auto update date
* Sat Jun 28 2008 Muayyad Saleh AlSadi <[email protected]> - 0.1.8-1
- Initial packing