gtk-equinox-engine-vl.spec 3.8 KB

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