-
Notifications
You must be signed in to change notification settings - Fork 1
/
chmviewkit.spec
82 lines (67 loc) · 2.05 KB
/
chmviewkit.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
%global owner ojuba-org
%global commit #Write commit number here
Name: chmviewkit
Summary: Webkit/Gtk-based CHM viewer
Summary(ar): عارض ملفات CHM
URL: http://ojuba.org/
Version: 0.2.3
Release: 3%{?dist}
Source: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
License: WAQFv2
BuildArch: noarch
Requires: python2
Requires: python-paste
Requires: python-chm
Requires: pygobject3 >= 3.0.2
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: ImageMagick
BuildRequires: python2-devel
%description
Webkit/Gtk-based CHM viewer.
%description -l ar
عارض ملفات CHM متوافق مع ويبكيت و ج.ت.ك.
%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
%files
%license waqf2-ar.pdf
%doc README TODO AUTHORS
%{_bindir}/chmviewkit
%{python2_sitelib}/chmviewkit*
%{python2_sitelib}/*.egg-info
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/applications/*.desktop
%{_datadir}/locale/*/*/*.mo
%changelog
* Wed Jul 22 2015 Mosaab Alzoubi <[email protected]> - 0.2.3-3
- General Rivision
- Remove group tag
- Remove old ATTR way
- Use %%make_install and %%license
- Add Arabic summary and description
- Fix requires and BRs
* Tue Feb 18 2014 Mosaab Alzoubi <[email protected]> - 0.2.3-2
- General Revision.
* Sat Jun 2 2012 Muayyad Saleh AlSadi <[email protected]> - 0.2.3-1
- port to gtk3, webkit3
* Fri Jan 13 2012 Muayyad Saleh AlSadi <[email protected]> - 0.2.2-1
- new release with recent support
* Sat Jul 2 2011 Muayyad Saleh AlSadi <[email protected]> - 0.2.0-1
- fully featured stable release
* Sun Jun 19 2011 Muayyad Saleh AlSadi <[email protected]> - 0.1.0-1
- initial packing