source: projects/specs/trunk/v/vine-themes/vine-themes-vl.spec @ 9693

Revision 9693, 2.4 KB checked in by Takemikaduchi, 9 years ago (diff)

fix gtk3 theme

Line 
1Summary: Vine themes for gtk/metacity/icons
2Summary(ja): gtk/metacity/icons 用 Vine テーマ
3Name: vine-themes
4Version: 7.0.7
5Release: 1%{?_dist_release}
6License: GPLv2
7Group: User Interface/Desktops
8
9Source0: metatheme-vine-7.0.7.tar.xz
10Source1: icon-theme-vine-7.0.1.tar.xz
11Source2: cursor-theme-vine-7.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-root
14BuildArch: noarch
15
16Requires(post): gtk2
17Obsoletes: gnome-themes-vine < 3.8.0-2
18Provides: gnome-themes-vine = %{version}-%{release}
19Conflicts: metacity < 2.34.13-4
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: daisuke
24
25%description
26Contains the vine themes for Gnome desktop environment.
27
28%description -l ja
29このパッケージにはGNOMEデスクトップ環境用 Vine テーマが含まれます。
30
31%prep
32
33%build
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38mkdir -p $RPM_BUILD_ROOT%{_datadir}
39mkdir $RPM_BUILD_ROOT%{_datadir}/themes
40mkdir $RPM_BUILD_ROOT%{_datadir}/icons
41
42# install Vine
43tar xJvf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}/themes
44tar xJvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/icons
45tar xJvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/icons
46
47# remove audio, battery icons
48for file in `find $RPM_BUILD_ROOT%{_datadir}/icons/Vine/ | egrep "audio|battery"`; do
49        rm -f $file
50done
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%post
56if [ -f /usr/bin/gtk-update-icon-cache ]; then
57  for dir in /usr/share/icons/*; do
58    if [ -d "$dir" -a -f "$dir/index.theme" ]; then
59        /usr/bin/gtk-update-icon-cache --quiet $dir ||:
60    fi
61  done
62fi
63
64
65%files
66%defattr(-,root,root)
67%{_datadir}/icons/*
68%{_datadir}/themes/*
69
70%changelog
71* Tue Aug 04 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.7-1
72- fix gtk3 theme
73
74* Tue Jun 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.6-1
75- fix gtk3 theme on window-frame
76
77* Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.5-1
78- fix gtk3 theme on gnome-shell
79
80* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.4-1
81- update gtk3 theme, fix submenu background color.
82
83* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.3-1
84- fix titlebar background
85
86* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.2-1
87- fix gtk3 theme on gnome-shell
88
89* Thu Jul 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.1-1
90- fix gtk3 theme
91
92* Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0-1
93- rename from gnome-themes-vine
94- add metacity-vine-theme (splitted from metacity)
95- update gtk2/gtk3/metacity/icon theme
96- add Require(pre): gtk2, instead of gtk3
97- add conflict to metacity
Note: See TracBrowser for help on using the repository browser.