source: projects/specs/trunk/f/faenza-icon-theme/faenza-icon-theme-vl.spec @ 3946

Revision 3946, 4.0 KB checked in by kazutaka, 13 years ago (diff)

新規パッケージ

Line 
1Name:           faenza-icon-theme
2Version:        0.9.2
3Release:        1%{?_dist_release}
4Summary:        Icon theme designed for Equinox GTK theme
5
6Group:          User Interface/Desktops
7License:        GPL+
8URL:            http://gnome-look.org/content/show.php/Faenza?content=128143
9Source0:        http://faenza-icon-theme.googlecode.com/files/%{name}_%{version}.tar.gz
10BuildArch:      noarch
11
12%description
13Contains icons for Equinox GTK theme
14
15%prep
16%setup -q -c %{name}-%{version}
17
18
19%build
20
21
22%install
23rm -rf $RPM_BUILD_ROOT
24
25# change default gnome-menu icons
26cd ./Faenza/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../..
27cd ./Faenza/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
28cd ./Faenza/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
29cd ./Faenza/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
30cd ./Faenza/places/48/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
31cd ./Faenza-Dark/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../..
32cd ./Faenza-Dark/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
33cd ./Faenza-Dark/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
34cd ./Faenza-Dark/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
35cd ./Faenza-Dark/places/48/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
36# should include vine logo later...
37#cd ./Faenza/places/48/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
38#cd ./Faenza/places/32/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
39#cd ./Faenza/places/24/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
40#cd ./Faenza/places/22/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
41#cd ./Faenza/places/16/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
42
43mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons
44cp -a ./Faenza/ $RPM_BUILD_ROOT%{_datadir}/icons
45cp -a ./Faenza-Dark/ $RPM_BUILD_ROOT%{_datadir}/icons
46cp -a ./Faenza-Darker/ $RPM_BUILD_ROOT%{_datadir}/icons
47cp -a ./Faenza-Darkest/ $RPM_BUILD_ROOT%{_datadir}/icons
48chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza/index.theme
49chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Dark/index.theme
50chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darker/index.theme
51chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darkest/index.theme
52
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57
58%post
59for d in Faenza Faenza-Dark Faenza-Darker Faenza-Darkest; do
60  touch --no-create %{_datadir}/icons/$d
61  if [ -x /usr/bin/gtk-update-icon-cache ]; then
62    /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/$d ||:
63  fi
64done
65
66
67%files
68%defattr(-,root,root)
69%doc AUTHORS ChangeLog COPYING README
70%{_datadir}/icons/Faenza
71%{_datadir}/icons/Faenza-Dark
72%{_datadir}/icons/Faenza-Darker
73%{_datadir}/icons/Faenza-Darkest
74
75
76%changelog
77* Mon May 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.2-1
78- initial build for Vine Linux based on fedora development
79
80* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82
83* Wed Aug 11 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.6-1
84- New Version from upstream
85
86* Tue Aug 10 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5-5
87- Cleaned up files macro
88- Modified install macro  with -a option to keep timestamps on files
89
90* Mon Aug 09 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5-4
91- Version number comes from URL
92- made corrections to prep macro
93
94* Sun Aug 08 2010 Tajidin Abd <tajidinabd@arhclinux.us> - 0.5-3
95- Corrected version number
96- Added scriplet
97- Corrected unused of macro
98
99* Sun Aug 08 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5.2-2
100- added global tarname macro
101- Corrected the License
102- made corrections to scriplets
103- deleted redundant characters
104- changed permission issues to satisfy rpmlint errors
105
106* Thu Aug 05 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5.2-1
107- Intial RPM release
Note: See TracBrowser for help on using the repository browser.