-
Notifications
You must be signed in to change notification settings - Fork 1
/
ojuba-icon-theme.spec
92 lines (73 loc) · 2.37 KB
/
ojuba-icon-theme.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
%global owner ojuba-org
%global commit #Write commit number here
Name: ojuba-icon-theme
Version: 35
Release: 2%{?dist}
Summary: Ojuba Icon Theme
License: WAQFv2
URL: http://ojuba.org
Source: https://github.com/%{owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildArch: noarch
Requires(post): gtk2 >= 2.6.0
Requires(postun): gtk2 >= 2.6.0
# requires gnome-themes for Mist
Requires: gnome-themes
Provides: system-icon-theme
%description
This package contains the ojuba icon theme.
%prep
%setup -q -n %{name}-%{commit}
rm -rf %{buildroot}
rm ojuba-crystal/scalable/places/start-here.svg
rm Ojuba/scalable/places/start-here.svg
%build
./render.sh
%install
mkdir -p %{buildroot}%{_datadir}/icons
for i in ojuba-crystal Ojuba;do
cp -r --preserve=timestamps $i %{buildroot}%{_datadir}/icons
touch %{buildroot}%{_datadir}/icons/$i/icon-theme.cache
done
%post
for i in ojuba-crystal Ojuba;do
touch --no-create %{_datadir}/icons/$i || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -f --quiet %{_datadir}/icons/$i || :
fi
done
%postun
for i in ojuba-crystal Ojuba;do
touch --no-create %{_datadir}/icons/$i || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache -f --quiet %{_datadir}/icons/$i || :
fi
done
%files
%defattr(0644,root,root,0755)
%doc waqf2-ar.pdf
%{_datadir}/icons/*
%ghost %{_datadir}/icons/*/icon-theme.cache
%changelog
* Sat Feb 22 2014 Mosaab Alzoubi <[email protected]> - 35-2
- Fixes
* Sat Feb 22 2014 Mosaab Alzoubi <[email protected]> - 35-1
- Include new application icons.
- General Revision.
- Update for Ojuba 35.
* Thu Jun 15 2010 Muayyad Saleh AlSadi <[email protected]> - 4-6
- update for ojuba 4
* Mon Jul 20 2009 Muayyad Saleh AlSadi <[email protected]> - 3-1
- update for ojuba 3
- render png images using render.sh
* Wed Jan 21 2009 Muayyad Saleh AlSadi <[email protected]> - 1-6
- fix "Inherits"
* Fri Jul 04 2008 Muayyad Saleh AlSadi <[email protected]> - 1-5
- fix index.theme files
* Fri Jul 04 2008 Muayyad Saleh AlSadi <[email protected]> - 1-4
- Add Ojuba Mist icons
* Fri Jul 04 2008 Muayyad Saleh AlSadi <[email protected]> - 1-3
- Add a crystal folder
* Wed Jun 25 2008 Muayyad Saleh AlSadi <[email protected]> - 1-2
- minor changes
* Wed Jun 25 2008 Muayyad Saleh AlSadi <[email protected]> - 1-1
- Initial RPM.