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