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: 3%{?_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 | Source2: Equinox_Vine.tar.bz2 |
---|
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 | |
---|
63 | # install Vine theme |
---|
64 | tar xzvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/themes |
---|
65 | |
---|
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 |
---|
76 | * Fri Nov 07 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.50-3 |
---|
77 | - rebuilt with libpng-1.6.12 |
---|
78 | |
---|
79 | * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-2 |
---|
80 | - add Source2: Customized theme for Vine Linux |
---|
81 | |
---|
82 | * Mon May 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-1 |
---|
83 | - initial build for Vine Linux based on fedora development |
---|
84 | |
---|
85 | * Thu Apr 20 2011 Germ叩n A. Racca <skytux@fedoraproject.org> 1.40-1 |
---|
86 | - Updated to new version |
---|
87 | - Removed old gtk themes and added new ones |
---|
88 | - Added dependency on Faenza icons |
---|
89 | |
---|
90 | * Mon Oct 04 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30.2-1 |
---|
91 | - Updated to new version |
---|
92 | - Defined some globals |
---|
93 | |
---|
94 | * Fri Sep 03 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30-1 |
---|
95 | - Updated to new version |
---|
96 | - Icon name in Equinox Glass theme corrected by upstream |
---|
97 | |
---|
98 | * Thu Aug 26 2010 Germ叩n A. Racca <gracca@gmail.com> 1.20-4 |
---|
99 | - Removed dependency on gnome-icon-theme because faenza-icon-theme was released |
---|
100 | - Fixed icon name in Equinox Glass theme |
---|
101 | |
---|
102 | * Wed Jul 07 2010 German A. Racca <gracca@gmail.com> 1.20-3 |
---|
103 | - Fix permissions for debuginfo package |
---|
104 | |
---|
105 | * Tue Jul 06 2010 German A. Racca <gracca@gmail.com> 1.20-2 |
---|
106 | - Fixed confused release number |
---|
107 | - Removed %%BuildRoot tag |
---|
108 | - Replaced Faenza icon theme by Gnome |
---|
109 | - Added %%Requires tag |
---|
110 | |
---|
111 | * Tue Jun 29 2010 German A. Racca <gracca@gmail.com> 1.20-1 |
---|
112 | - New version |
---|
113 | |
---|
114 | * Tue Jun 01 2010 German A. Racca <gracca@gmail.com> 1.1-3 |
---|
115 | - Rebuild for Fedora 13 |
---|
116 | - Added %%{dist} tag |
---|
117 | |
---|
118 | * Thu May 13 2010 German A. Racca <gracca@gmail.com> 1.1-2 |
---|
119 | - Rearrangement of spec file |
---|
120 | |
---|
121 | * Tue Apr 06 2010 German A. Racca <gracca@gmail.com> 1.1-1 |
---|
122 | - Initial release of RPM package |
---|