[3946] | 1 | %global engine equinox |
---|
| 2 | %global tarname 121881-%{engine} |
---|
| 3 | %global tarver 1.50 |
---|
| 4 | %global tarthemes 140449-%{engine}-themes |
---|
| 5 | |
---|
| 6 | Name: gtk-equinox-engine |
---|
| 7 | Version: 1.50 |
---|
[4164] | 8 | Release: 2%{?_dist_release} |
---|
[3946] | 9 | Summary: Equinox theme engine for GTK+ 2.x |
---|
| 10 | |
---|
| 11 | Group: System Environment/Libraries |
---|
| 12 | License: GPLv2+ |
---|
| 13 | URL: http://gnome-look.org/content/show.php/Equinox+GTK+Engine?content=121881 |
---|
| 14 | Source0: http://gnome-look.org/CONTENT/content-files/%{tarname}-%{tarver}.tar.gz |
---|
| 15 | Source1: http://gnome-look.org/CONTENT/content-files/%{tarthemes}-%{tarver}.tar.gz |
---|
[4164] | 16 | Source2: Equinox_Vine.tar.bz2 |
---|
[3946] | 17 | |
---|
| 18 | BuildRequires: gtk2-devel |
---|
| 19 | Requires: faenza-icon-theme |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | A new engine derived from Aurora 1.4. It features smooth gradients or glassy |
---|
| 23 | effects, subtle shadows, rounded widgets. |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n %{engine}-%{tarver} |
---|
| 27 | |
---|
| 28 | # Unpack gtk themes here |
---|
| 29 | tar -xzf %{SOURCE1} |
---|
| 30 | |
---|
| 31 | # Fix executable bits for debuginfo package |
---|
| 32 | chmod 0644 src/* |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %configure --enable-animation |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | %{__rm} -rf %{buildroot} |
---|
| 40 | make install DESTDIR=%{buildroot} |
---|
| 41 | |
---|
| 42 | # Copy themes to proper directory |
---|
| 43 | mkdir -p %{buildroot}%{_datadir}/themes |
---|
| 44 | mkdir -p tmpdoc |
---|
| 45 | mv *.crx tmpdoc |
---|
| 46 | mv Equinox* %{buildroot}%{_datadir}/themes |
---|
| 47 | |
---|
| 48 | # Remove .la files |
---|
| 49 | find %{buildroot} -name *.la | xargs rm -f || true |
---|
| 50 | |
---|
| 51 | # Fix executable bits for files in themes |
---|
| 52 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution/README |
---|
| 53 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Dawn/index.theme |
---|
| 54 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Midnight/index.theme |
---|
| 55 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Midnight/README |
---|
| 56 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Midnight/gtk-2.0/apps/gnome-panel.rc |
---|
| 57 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Midnight/gtk-2.0/apps/google-chrome.rc |
---|
| 58 | chmod 0644 %{buildroot}%{_datadir}/themes/Equinox\ Evolution\ Midnight/gtk-2.0/fixes/fixes.rc |
---|
| 59 | |
---|
| 60 | # Fix executable bits for doc files |
---|
| 61 | chmod 0644 AUTHORS ChangeLog COPYING README |
---|
| 62 | |
---|
[4164] | 63 | # install Vine theme |
---|
| 64 | tar xzvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/themes |
---|
| 65 | |
---|
[3946] | 66 | %clean |
---|
| 67 | rm -rf %{buildroot} |
---|
| 68 | |
---|
| 69 | %files |
---|
| 70 | %defattr(-,root,root,-) |
---|
| 71 | %doc AUTHORS ChangeLog COPYING README tmpdoc/* |
---|
| 72 | %{_libdir}/gtk-2.0/2.10.0/engines/libequinox.so |
---|
| 73 | %{_datadir}/themes/Equinox* |
---|
| 74 | |
---|
| 75 | %changelog |
---|
[4164] | 76 | * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-2 |
---|
| 77 | - add Source2: Customized theme for Vine Linux |
---|
| 78 | |
---|
[3946] | 79 | * Mon May 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-1 |
---|
| 80 | - initial build for Vine Linux based on fedora development |
---|
| 81 | |
---|
| 82 | * Thu Apr 20 2011 Germ叩n A. Racca <skytux@fedoraproject.org> 1.40-1 |
---|
| 83 | - Updated to new version |
---|
| 84 | - Removed old gtk themes and added new ones |
---|
| 85 | - Added dependency on Faenza icons |
---|
| 86 | |
---|
| 87 | * Mon Oct 04 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30.2-1 |
---|
| 88 | - Updated to new version |
---|
| 89 | - Defined some globals |
---|
| 90 | |
---|
| 91 | * Fri Sep 03 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30-1 |
---|
| 92 | - Updated to new version |
---|
| 93 | - Icon name in Equinox Glass theme corrected by upstream |
---|
| 94 | |
---|
| 95 | * Thu Aug 26 2010 Germ叩n A. Racca <gracca@gmail.com> 1.20-4 |
---|
| 96 | - Removed dependency on gnome-icon-theme because faenza-icon-theme was released |
---|
| 97 | - Fixed icon name in Equinox Glass theme |
---|
| 98 | |
---|
| 99 | * Wed Jul 07 2010 German A. Racca <gracca@gmail.com> 1.20-3 |
---|
| 100 | - Fix permissions for debuginfo package |
---|
| 101 | |
---|
| 102 | * Tue Jul 06 2010 German A. Racca <gracca@gmail.com> 1.20-2 |
---|
| 103 | - Fixed confused release number |
---|
| 104 | - Removed %%BuildRoot tag |
---|
| 105 | - Replaced Faenza icon theme by Gnome |
---|
| 106 | - Added %%Requires tag |
---|
| 107 | |
---|
| 108 | * Tue Jun 29 2010 German A. Racca <gracca@gmail.com> 1.20-1 |
---|
| 109 | - New version |
---|
| 110 | |
---|
| 111 | * Tue Jun 01 2010 German A. Racca <gracca@gmail.com> 1.1-3 |
---|
| 112 | - Rebuild for Fedora 13 |
---|
| 113 | - Added %%{dist} tag |
---|
| 114 | |
---|
| 115 | * Thu May 13 2010 German A. Racca <gracca@gmail.com> 1.1-2 |
---|
| 116 | - Rearrangement of spec file |
---|
| 117 | |
---|
| 118 | * Tue Apr 06 2010 German A. Racca <gracca@gmail.com> 1.1-1 |
---|
| 119 | - Initial release of RPM package |
---|