gtk-engines-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. %define ver 0.12
  2. %define rel 2%{?_dist_release}
  3. %define extra_builds buffy-0.2 gtk-thinice-theme-1.0.4 notif2-1.0
  4. # We ignore this - gtkstep screws up things
  5. %define screwed_up_builds gtkstep-1.7 gtkstep-pastel-0.9.1
  6. Summary: Theme engines for GTK+.
  7. Summary(ja): GTK+ 用 テーマエンジン
  8. Name: gtk-engines
  9. Version: %{ver}
  10. Release: %{rel}
  11. License: GPL
  12. Group: System Environment/Libraries
  13. Source: ftp://ftp.gnome.org/pub/GNOME/source/%{name}/%{name}-%{PACKAGE_VERSION}.tar.gz
  14. Source1: gtk-themes-extra-4.tar.gz
  15. Source2: GTKstep.tar.gz
  16. Source3: Notif2-1.0.tar.gz
  17. Source4: http://prdownloads.sourceforge.net/thinice/gtk-thinice-theme-1.0.4.tar.gz
  18. Source5: buffy-0.2.tar.gz
  19. Source6: gtkstep-pastel.tar.gz
  20. # Fixes pixmap resource leak
  21. Patch1: gtk-engines-0.11-memleak.patch
  22. # Fixes compiling error (adhoc patch)
  23. Patch2: gtk-engines-0.12-draw.patch
  24. # The sum total of gtk.themes.org
  25. Source10: 5.tar.gz
  26. Source11: AbsoluteE.tar.gz
  27. Source12: Aspen.tar.gz
  28. Source13: Basic.tar.gz
  29. Source14: BeOS.tar.gz
  30. Source15: Beta.tar.gz
  31. Source16: Blue-n-Gray.tar.gz
  32. Source17: BlueSteel.tar.gz
  33. Source18: BlueTheme.tar.gz
  34. Source19: Bluish.tar.gz
  35. Source20: Bluthe-1.0.tar.gz
  36. Source21: BrushedMarbles.tar.gz
  37. Source22: BrushedMetal.tar.gz
  38. Source23: BrushedMetalClean.tar.gz
  39. Source24: Cheese.tar.gz
  40. Source25: Chrome.tar.gz
  41. Source26: CoolIce.tar.gz
  42. Source27: Coolness.tar.gz
  43. Source28: E-Default.tar.gz
  44. Source29: Expensive.tar.gz
  45. Source30: Forest-Green.tar.gz
  46. Source31: GTK_LCARS.tar.gz
  47. Source32: Gradient.tar.gz
  48. Source33: IceBerg.tar.gz
  49. Source34: Jander.tar.gz
  50. Source35: JedEye.tar.gz
  51. Source36: LCARS.tar.gz
  52. Source37: LCD.tar.gz
  53. Source38: Macos-Blue-8.6.tar.gz
  54. Source39: Marble.tar.gz
  55. Source40: Metallic.tar.gz
  56. Source41: Metallic_Plum.tar.gz
  57. Source42: MorphiusX.tar.gz
  58. Source43: Muffy.tar.gz
  59. Source44: Odo.tar.gz
  60. Source45: OldWood.tar.gz
  61. Source46: PalmOS.tar.gz
  62. Source47: Porcelain.tar.gz
  63. Source48: QNX-Photon.tar.gz
  64. Source49: Rats.tar.gz
  65. Source50: Red-and-Blue.tar.gz
  66. Source51: Rocks.tar.gz
  67. Source52: Scalpel.tar.gz
  68. Source53: ShinyMetal.tar.gz
  69. Source54: Skiberg.tar.gz
  70. Source55: Smoke-full.tar.gz
  71. Source56: Smoke.tar.gz
  72. Source57: SoulTrip.tar.gz
  73. Source58: ThinSki.tar.gz
  74. Source59: Tiger.tar.gz
  75. Source60: Tildouf.tar.gz
  76. Source61: Turismo.tar.gz
  77. Source62: WoodenScraps.tar.gz
  78. Source63: Yell-O.tar.gz
  79. Source64: Zap5.tar.gz
  80. Source65: eMac-GTK.tar.gz
  81. Source66: lauxes.tar.gz
  82. Source67: photon.tar.gz
  83. URL: http://gtk.themes.org
  84. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  85. BuildRequires: automake14
  86. BuildRequires: gtk+-devel
  87. BuildRequires: imlib-devel
  88. %description
  89. The gtk-engines package contains shared objects and configuration
  90. files that implement a number of GTK+ theme engines. Theme engines
  91. provide different looks for GTK+, so that it can resemble other
  92. toolkits or operating systems. The gtk-engines package contains
  93. graphical engines for various GTK+ toolkit themes, including Notif,
  94. Redmond95, Pixmap and Metal (swing-like).
  95. %description -l ja
  96. gtk-engines パッケージは共有のオブジェクトとGTK+テーマエンジンの
  97. 幾つかの設定ファイルを含んでいます。テーマエンジンはGTK+にて違っ
  98. た概観を提供します。このパッケージにはさまざまなGTK+ツールキット
  99. テーマ Notif,Redmond95,Pixmap,Metal(swing-like )を含めてあります。
  100. 加えて、それ以外にもたくさんの物を収めてあります。
  101. %prep
  102. %setup -q -a 2 -a 3 -a 4 -a 5 -a 6
  103. %patch1 -p1 -b .memleak
  104. %patch2 -p0 -b .draw
  105. %build
  106. rm acinclude.m4
  107. libtoolize --force --copy
  108. aclocal-1.4
  109. automake-1.4
  110. autoconf
  111. %configure
  112. make
  113. for I in `echo %{extra_builds}`; do
  114. cd $I
  115. libtoolize --force --copy
  116. aclocal-1.4
  117. automake-1.4
  118. autoconf
  119. %configure --cache-file=../config.cache
  120. make
  121. cd ..
  122. done
  123. %install
  124. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  125. mkdir -p $RPM_BUILD_ROOT
  126. #
  127. # makefile is broken, sets exec_prefix explicitely.
  128. #
  129. %makeinstall
  130. for I in `echo %{extra_builds}`; do
  131. cd $I
  132. %makeinstall
  133. cd ..
  134. done
  135. # expand extra themes
  136. cd $RPM_BUILD_ROOT%{_datadir}/themes; tar xzvf %{SOURCE1}
  137. for I in 5 AbsoluteE Basic BeOS Beta Blue-n-Gray BlueSteel \
  138. BlueTheme Bluish Bluthe-1.0 BrushedMarbles BrushedMetal \
  139. BrushedMetalClean Cheese Chrome CoolIce Coolness E-Default Expensive \
  140. Forest-Green GTK_LCARS Gradient IceBerg Jander JedEye LCARS LCD \
  141. Macos-Blue-8.6 Marble Metallic Metallic_Plum MorphiusX Muffy Odo OldWood \
  142. PalmOS Porcelain QNX-Photon Rats Red-and-Blue Rocks Scalpel ShinyMetal \
  143. Skiberg Smoke-full Smoke SoulTrip ThinSki Tiger Tildouf Turismo \
  144. WoodenScraps Yell-O Zap5 eMac-GTK lauxes photon; do
  145. tar -C $RPM_BUILD_ROOT%{_datadir}/themes -xzf $RPM_SOURCE_DIR/$I.tar.gz
  146. done
  147. (cd $RPM_BUILD_ROOT%{_datadir}/themes;
  148. # Here's where I get to give themes dumb names because of possible
  149. # trademarks
  150. mv QNX-Photon LightSpeed
  151. mv photon Torpedo
  152. mv macos8.6-blue MockMack
  153. mv BeOS BeCool
  154. mv PalmOS LCD
  155. mv eMac eMock
  156. rm -rf BrushedMetalBlue
  157. # remove unnecessary .xvpics directory
  158. find . -type d -name .xvpics | xargs rm -rf
  159. )
  160. # remove Odo its broke
  161. rm -rf $RPM_BUILD_ROOT%{_datadir}/themes/Odo
  162. # remove unuse *.la files
  163. rm -f $RPM_BUILD_ROOT%{_libdir}/gtk/themes/engines/lib*.la
  164. %clean
  165. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  166. %files
  167. %defattr(644, root, root, 755)
  168. %doc COPYING README ChangeLog
  169. %attr (755, root, root) %{_libdir}/gtk/themes/engines/*
  170. %{_datadir}/themes/*
  171. %changelog
  172. * Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-2vl5
  173. - added BuildRequires: gtk+-devel, imlib-devel
  174. * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.12-1vl5
  175. - applied new versioning policy, spec in utf-8
  176. - added gtk-engines-0.12-draw.patch
  177. - remove lib*.la
  178. * Thu Aug 21 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.12-0vl5
  179. - update Source4
  180. - add Patch1 from Rawhide
  181. - add BuildPrereq: automake14
  182. - spec file fixed based on Rawhide 0.12-1
  183. - rebuild with new toolchains
  184. * Sat Mar 16 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.12-0vl4
  185. - spec file typo fixed ( -f %%{name}.lang was missing
  186. although %%find_lang was used in the %%install section)
  187. - remove unnecessary and wasting .xvpics directories
  188. * Mon Jul 16 2001 <sagami@vinelinux.org>
  189. - 0.12-0vl3: added ./autogen.sh on notif2-1.0 and quit disabling libtoolize
  190. * Sat Jul 14 2001 <sagami@vinelinux.org>
  191. - 0.12-0vl2: ugly treatment to disable libtoolize on notif2-1.0
  192. * Tue Apr 3 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.12-0vl1
  193. - New upstream release.
  194. - Use find_lang macro.
  195. * Fri Mar 9 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.11-0vl1
  196. - New upstream release.
  197. - Use rpmmacros.
  198. * Thu Feb 22 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  199. - updated to 0.10
  200. * Fri Sep 17 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  201. - added japanese Summary and description for Vine
  202. * Wed Sep 15 1999 Elliot Lee <sopwith@redhat.com>
  203. - Misc fixes from DrMike suggestions
  204. * Thu Sep 09 1999 Elliot Lee <sopwith@redhat.com>
  205. - Update to 0.6, etc.
  206. * Wed Apr 14 1999 Michael Fulbright <drmike@redhat.com>
  207. - removed Odo (has issues)
  208. * Fri Apr 9 1999 The Rasterman <raster@redhat.com>
  209. - patched metal theme - fixed handlebox redraw.
  210. * Wed Mar 31 1999 Michael Fulbright <drmike@redhat.com>
  211. - removed some themes that were misbehaving
  212. * Tue Mar 16 1999 Michael Fulbright <drmike@redhat.com>
  213. - removed enlightened themes, seems to be defective
  214. * Thu Mar 11 1999 Michael Fulbright <drmike@redhat.com>
  215. - removed Default theme data, this comes with gtk+ package
  216. * Wed Mar 10 1999 Michael Fulbright <drmike@redhat.com>
  217. - added extra gtk themes
  218. * Thu Mar 04 1999 Michael Fulbright <drmike@redhat.com>
  219. - version 0.5
  220. * Fri Feb 12 1999 Michael Fulbright <drmike@redhat.com>
  221. - version 0.4
  222. * Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
  223. - version 0.3
  224. * Mon Dec 18 1998 Michael Fulbright <drmike@redhat.com>
  225. - version 0.2
  226. * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
  227. - rebuild because gtk+ version changed
  228. * Wed Dec 16 1998 Michael Fulbright <drmike@redhat.com>
  229. - in preparation for GNOME freeze
  230. * Fri Nov 20 1998 Michael Fulbright <drmike@redhat.com>
  231. - First try at a spec file