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

Revision 8840, 2.2 KB checked in by daisuke, 10 years ago (diff)

vine-themes: more fix

Line 
1Summary: Vine themes for gtk/metacity/icons
2Summary(ja): gtk/metacity/icons 用 Vine テーマ
3Name: vine-themes
4Version: 7.0.4
5Release: 1%{?_dist_release}
6License: GPLv2
7Group: User Interface/Desktops
8
9Source0: metatheme-vine-7.0.4.tar.xz
10Source1: icon-theme-vine-7.0.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* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.4-1
72- update gtk3 theme, fix submenu background color.
73
74* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.3-1
75- fix titlebar background
76
77* Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.2-1
78- fix gtk3 theme on gnome-shell
79
80* Thu Jul 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.1-1
81- fix gtk3 theme
82
83* Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0-1
84- rename from gnome-themes-vine
85- add metacity-vine-theme (splitted from metacity)
86- update gtk2/gtk3/metacity/icon theme
87- add Require(pre): gtk2, instead of gtk3
88- add conflict to metacity
Note: See TracBrowser for help on using the repository browser.