gtk-equinox-engine-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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: 3%{?_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. * Fri Nov 07 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.50-3
  60. - rebuilt with libpng-1.6.12
  61. * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-2
  62. - add Source2: Customized theme for Vine Linux
  63. * Mon May 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.50-1
  64. - initial build for Vine Linux based on fedora development
  65. * Thu Apr 20 2011 Germ叩n A. Racca <skytux@fedoraproject.org> 1.40-1
  66. - Updated to new version
  67. - Removed old gtk themes and added new ones
  68. - Added dependency on Faenza icons
  69. * Mon Oct 04 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30.2-1
  70. - Updated to new version
  71. - Defined some globals
  72. * Fri Sep 03 2010 Germ叩n A. Racca <skytux@fedoraproject.org> 1.30-1
  73. - Updated to new version
  74. - Icon name in Equinox Glass theme corrected by upstream
  75. * Thu Aug 26 2010 Germ叩n A. Racca <gracca@gmail.com> 1.20-4
  76. - Removed dependency on gnome-icon-theme because faenza-icon-theme was released
  77. - Fixed icon name in Equinox Glass theme
  78. * Wed Jul 07 2010 German A. Racca <gracca@gmail.com> 1.20-3
  79. - Fix permissions for debuginfo package
  80. * Tue Jul 06 2010 German A. Racca <gracca@gmail.com> 1.20-2
  81. - Fixed confused release number
  82. - Removed %%BuildRoot tag
  83. - Replaced Faenza icon theme by Gnome
  84. - Added %%Requires tag
  85. * Tue Jun 29 2010 German A. Racca <gracca@gmail.com> 1.20-1
  86. - New version
  87. * Tue Jun 01 2010 German A. Racca <gracca@gmail.com> 1.1-3
  88. - Rebuild for Fedora 13
  89. - Added %%{dist} tag
  90. * Thu May 13 2010 German A. Racca <gracca@gmail.com> 1.1-2
  91. - Rearrangement of spec file
  92. * Tue Apr 06 2010 German A. Racca <gracca@gmail.com> 1.1-1
  93. - Initial release of RPM package