-
Notifications
You must be signed in to change notification settings - Fork 1
/
islamic-menus.spec
76 lines (58 loc) · 2.2 KB
/
islamic-menus.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
%global owner ojuba-org
%global commit #Write commit number here
Name: islamic-menus
Version: 1.0.6
Release: 3%{?dist}
Summary: Islamic menus for desktops conforming with XDG standards
Group: User Interface/Desktops
License: GPLv3+
URL: https://github.com/ojuba-org/islamic-menus
Source0: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
Requires: redhat-menus hicolor-icon-theme
BuildRequires: intltool
%description
Categorize islamic apps in a menu for the GNOME, KDE and other
XDG-conforming desktops.
%prep
%setup -q -n %{name}-%{commit}
%build
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_sysconfdir}/xdg/menus/applications-gnome-merged/islamic.menu
%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%doc COPYING
%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/islamic.menu
%{_datadir}/desktop-directories/*.directory
%{_datadir}/icons/hicolor/scalable/categories/*.svg
%changelog
* Tue Nov 26 2013 Mosaab Alzoubi <[email protected]> - 1.0.6-3
- Another tweak of make line.
* Tue Nov 26 2013 Mosaab Alzoubi <[email protected]> - 1.0.6-2
- Repair make install line.
* Thu Nov 21 2013 Mosaab Alzoubi <[email protected]> - 1.0.6-1
- Remove line about applications-gnome-merged due to GNOME_BZ #688972
* Sun Nov 17 2013 Mosaab Alzoubi <[email protected]> - 1.0.5-6
- Remove un-necessary lines about buildroot.
- Use Fedora icon cache rules.
- Update source line to github directly.
* Fri Oct 18 2013 Mosaab Alzoubi <[email protected]> - 1.0.5-5
- To zero warnings by rpmlint.
* Sat Oct 12 2013 Mosaab Alzoubi <[email protected]> - 1.0.5-4
- Fix spec name.
* Tue Oct 8 2013 Mosaab Alzoubi <[email protected]> - 1.0.5-3
- Hosted at Ojuba project.
* Mon Oct 7 2013 Mosaab Alzoubi <[email protected]> - 1.0.5-2
- Update sources and URL.
* Wed Jun 2 2010 Muayyad Saleh Alsadi <[email protected]> - 1.0.3-1
- Initial release.