1 | Summary: Vine themes for GNOME |
---|
2 | Summary(ja): GNOME 用 Vine テーマ |
---|
3 | Name: gnome-themes-vine |
---|
4 | Version: 3.8.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/Desktops |
---|
8 | |
---|
9 | Source0: metatheme-vine-7.tar.xz |
---|
10 | Source1: icon-theme-vine-6.tar.bz2 |
---|
11 | Source2: cursor-theme-vine-7.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-root |
---|
14 | BuildArch: noarch |
---|
15 | |
---|
16 | Requires(post): gtk3 >= 3.0.0 |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | Contains the vine themes for Gnome desktop environment. |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | このパッケージにはGNOMEデスクトップ環境用 Vine テーマが含まれます。 |
---|
26 | |
---|
27 | %prep |
---|
28 | |
---|
29 | %build |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf $RPM_BUILD_ROOT |
---|
33 | |
---|
34 | mkdir -p $RPM_BUILD_ROOT%{_datadir} |
---|
35 | mkdir $RPM_BUILD_ROOT%{_datadir}/themes |
---|
36 | mkdir $RPM_BUILD_ROOT%{_datadir}/icons |
---|
37 | |
---|
38 | # install Vine |
---|
39 | tar xJvf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}/themes |
---|
40 | tar xzvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/icons |
---|
41 | tar xJvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/icons |
---|
42 | |
---|
43 | # remove audio, battery icons |
---|
44 | for file in `find $RPM_BUILD_ROOT%{_datadir}/icons/Vine/ | egrep "audio|battery"`; do |
---|
45 | rm -f $file |
---|
46 | done |
---|
47 | |
---|
48 | %clean |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | %post |
---|
52 | if [ -f /usr/bin/gtk-update-icon-cache ]; then |
---|
53 | for dir in /usr/share/icons/*; do |
---|
54 | if [ -d "$dir" -a -f "$dir/index.theme" ]; then |
---|
55 | /usr/bin/gtk-update-icon-cache --quiet $dir ||: |
---|
56 | fi |
---|
57 | done |
---|
58 | fi |
---|
59 | |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-,root,root) |
---|
63 | %{_datadir}/icons/* |
---|
64 | %{_datadir}/themes/* |
---|
65 | |
---|
66 | %changelog |
---|
67 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
68 | - update to 3.8.0 |
---|
69 | |
---|
70 | * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
71 | - divide package from gnome-themes |
---|