[3946] | 1 | Name: faenza-icon-theme |
---|
| 2 | Version: 0.9.2 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Icon theme designed for Equinox GTK theme |
---|
| 5 | |
---|
| 6 | Group: User Interface/Desktops |
---|
| 7 | License: GPL+ |
---|
| 8 | URL: http://gnome-look.org/content/show.php/Faenza?content=128143 |
---|
| 9 | Source0: http://faenza-icon-theme.googlecode.com/files/%{name}_%{version}.tar.gz |
---|
| 10 | BuildArch: noarch |
---|
| 11 | |
---|
| 12 | %description |
---|
| 13 | Contains icons for Equinox GTK theme |
---|
| 14 | |
---|
| 15 | %prep |
---|
| 16 | %setup -q -c %{name}-%{version} |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | %build |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | %install |
---|
| 23 | rm -rf $RPM_BUILD_ROOT |
---|
| 24 | |
---|
| 25 | # change default gnome-menu icons |
---|
| 26 | cd ./Faenza/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../.. |
---|
| 27 | cd ./Faenza/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 28 | cd ./Faenza/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 29 | cd ./Faenza/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 30 | cd ./Faenza/places/48/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 31 | cd ./Faenza-Dark/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../.. |
---|
| 32 | cd ./Faenza-Dark/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 33 | cd ./Faenza-Dark/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 34 | cd ./Faenza-Dark/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../.. |
---|
| 35 | cd ./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 | |
---|
| 43 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons |
---|
| 44 | cp -a ./Faenza/ $RPM_BUILD_ROOT%{_datadir}/icons |
---|
| 45 | cp -a ./Faenza-Dark/ $RPM_BUILD_ROOT%{_datadir}/icons |
---|
| 46 | cp -a ./Faenza-Darker/ $RPM_BUILD_ROOT%{_datadir}/icons |
---|
| 47 | cp -a ./Faenza-Darkest/ $RPM_BUILD_ROOT%{_datadir}/icons |
---|
| 48 | chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza/index.theme |
---|
| 49 | chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Dark/index.theme |
---|
| 50 | chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darker/index.theme |
---|
| 51 | chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darkest/index.theme |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %post |
---|
| 59 | for 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 |
---|
| 64 | done |
---|
| 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 |
---|