wmakerconf-vl.spec 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. Name: wmakerconf
  2. Version: 2.12
  3. Release: 2%{?_dist_release}
  4. Summary: Configuration tool for Window Maker
  5. Summary(ja): Window Maker の設定ツール
  6. License: GPL
  7. Group: User Interface/Desktops
  8. Icon: wmakerconf.xpm
  9. Source: http://downloads.sf.net/%{name}/wmakerconf_%{version}.tar.gz
  10. Source1: wmakerconf-2.12-ja.po
  11. Source2: wmakerconf-2.11.data.ja.po
  12. Patch0: %{name}-2.9.dif
  13. Patch1: %{name}-fix-bad-po.patch
  14. Patch3: %{name}-2.9-destdir.patch
  15. Patch4: %{name}-2.9-config.patch
  16. Patch5: %{name}-no-imlib.patch
  17. Patch7: %{name}-2.9-varargs.diff
  18. Patch9: %{name}-datarootdir.patch
  19. Patch10: %{name}-2.12-wmaker-0.95_support.patch
  20. # PATCH - Fix SUSE: implicit-pointer-decl
  21. Patch11: %{name}-implicit-pointer-decl.patch
  22. Buildroot: %{_tmppath}/%{name}-%{version}-root
  23. BuildRequires: WindowMaker
  24. BuildRequires: WindowMaker-devel >= 0.92.0
  25. BuildRequires: bison
  26. BuildRequires: gettext
  27. BuildRequires: gtk2-devel >= 2.4.0
  28. BuildRequires: perl-libwww-perl
  29. BuildRequires: xdg-utils
  30. BuildRequires: tar gzip bzip2
  31. Requires: WindowMaker
  32. Requires: xdg-utils
  33. Obsoletes: wmakerconf-data
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. %description
  37. wmakerconf is a GTK+ based configuration tool for the window manager
  38. Window Maker. All attributes (including the application menu) can be
  39. configured by wmakerconf, making it an alternative (or add-on) for the
  40. built in Window Maker configuration tool WPrefs. Moreover, an easy
  41. theme installation via WWW is available: a simple drag and drop
  42. operation from your favorite browser to your wmakerconf themes
  43. interface will do the job.
  44. %description -l ja
  45. wmakerconf は, Window Maker の各種設定を行う GTK+ ベースの ツールです.
  46. フォント設定ブラウザ, pixmapブラウザ, 色選択ダイアログ, ショートカット
  47. ダイアログ, ファイル選択ダイアログ等を搭載し, Window Makerの全ての属性
  48. に関して, 容易に設定を行えます. WWW 経由で簡単に新しいテーマのインスト
  49. ールもできます。好みのブラウザから、ドラッグ・アンド・ドロップでテーマ
  50. のインストールをしてみてください。
  51. %prep
  52. %setup -q
  53. %patch0 -p0
  54. #patch1 -p0
  55. #patch3 -p0
  56. #patch4 -p0
  57. #patch5 -p0
  58. %patch7 -p0
  59. %patch9 -p0
  60. %patch10 -p0
  61. %patch11 -p0
  62. cp %{SOURCE1} po/ja.po
  63. cp %{SOURCE2} data/po/ja.po
  64. # instead of patch4
  65. sed -i -e 's|libwww\.pl|scripts\/libwww\.pl|g' configure
  66. %build
  67. CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
  68. CPPFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
  69. NLSDIR=%{_localedir}
  70. LINGUAS="de es fr it ja"
  71. GNUSTEP_LOCAL_ROOT='%{_prefix}/lib/GNUstep'
  72. CPP_PATH=/lib/cpp
  73. export CFLAGS CPPFLAGS NLSDIR LINGUAS GNUSTEP_LOCAL_ROOT CPP_PATH
  74. ./configure \
  75. --prefix=%{_prefix} \
  76. --includedir=%{_includedir} \
  77. --disable-imlibtest \
  78. --disable-upgrade \
  79. --with-webbrowser=xdg-open \
  80. --with-wmakerdataprefix=%{_datadir} \
  81. --with-wmakeretcprefix=%{_sysconfdir}/X11
  82. make %{?_smp_mflags} LDFLAGS="-L%{_libdir}"
  83. %install
  84. rm -rf %{buildroot}
  85. make \
  86. prefix=%{buildroot}%{_prefix} \
  87. bindir=%{buildroot}%{_bindir} \
  88. mandir=%{buildroot}%{_mandir} \
  89. GNOMEDIR=%{buildroot}%{_datadir}/gnome/apps/Setting \
  90. install
  91. rm -f %{buildroot}/%{_datadir}/%{name}/{ABOUT-NLS,AUTHORS,COPYING}
  92. rm -f %{buildroot}/%{_datadir}/%{name}/{ChangeLog,NEWS,NLS-TEAM?,README}
  93. %clean
  94. rm -rf %{buildroot}
  95. %files
  96. %defattr(-,root,root)
  97. %doc ABOUT-NLS AUTHORS COPYING ChangeLog MANUAL NEWS NLS-TEAM* README TODO
  98. %{_bindir}/*
  99. %{_datadir}/%{name}/WMWmakerconf
  100. %{_datadir}/%{name}/wmaker-version
  101. %{_datadir}/%{name}/MANUAL
  102. %{_datadir}/%{name}/*.sh
  103. %{_datadir}/%{name}/*.pl
  104. %{_datadir}/%{name}/*.xpm
  105. %{_localedir}/*/LC_MESSAGES/%{name}-data.*
  106. %{_localedir}/*/LC_MESSAGES/%{name}.*
  107. %{_datadir}/applications/%{name}.desktop
  108. %{_mandir}/man1/*
  109. %changelog
  110. * Wed Feb 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12-2
  111. - added BR: xdg-utils, R: xdg-utils
  112. - removed BR: libXpm-devel. libjpeg-devel, libtiff-devel, libwebp-devel
  113. * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12-1
  114. - updated to 2.12
  115. - added Patch0, 7, 9, 10 and 11 from OpenSuSE
  116. - removed BR: imlib-devel
  117. - added BR: WindowMaker, WindowMaker-devel, libXpm-devel, libjpeg-devel,
  118. libtiff-devel, libwebp-devel and perl-libwww-perl
  119. * Mon Feb 22 2010 Shu KONNO <owa@bg.wakwak.com> 2.11-2
  120. - rebuilt with new toolchain
  121. * Tue Jun 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.11-1vl5
  122. - applied new versioning policy and utf-8
  123. - added BuildRequires: xorg-x11-devel
  124. * Tue Nov 27 2007 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl3
  125. - changed automake14 to automake19 in %%build section
  126. - added make script at end of %%build section
  127. - updated wmakerconf-2.11.data.ja.po
  128. * Sat Feb 25 2006 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl2
  129. - rebuilt for VineSeed
  130. * Sun Nov 13 2005 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl1
  131. - updated wmakerconf to 2.11
  132. - rebuilt with WindowMaker-0.12.0
  133. * Wed Jul 17 2002 Jun Nishii <jun@vinelinux.org>
  134. - 2.9-0vl1
  135. - ver.up
  136. - update ja.po
  137. * Wed Aug 22 2001 Toru Sagami <sagami@vinelinux.org>
  138. - 2.8.1-0vl1: source is now including Nishii's ja.po
  139. - move /usr/X11R6 stuff to /usr except /usr/X11R6/bin
  140. * Thu Aug 17 2000 Jun Nishii <jun@vinelinux.org>
  141. - 2.6.2-0vl1
  142. - update ja.po
  143. * Fri Jul 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  144. - added w3m patch
  145. * Wed Apr 5 2000 Jun Nishii <jun@vinelinux.org>
  146. - updated to 2.6.1
  147. * Mon Apr 3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  148. - updated to 2.6
  149. - modified ja.po files.
  150. - removed patches merged.
  151. * Wed Mar 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  152. - modified data-ja.po
  153. * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org>
  154. - change group
  155. * Wed Dec 22 1999 Jun Nishii <jun@vinelinux.org>
  156. - build for Vine Linux 2.0
  157. * Sun Dec 5 1999 Ullrich Hafner <hafner@bigfoot.de>
  158. - upgraded to wmakerconf 2.4
  159. - make the data package part of wmakerconf
  160. * Mon Oct 18 1999 Steve Hamlin <steve@hamlinx.com>
  161. - upgraded to wmakerconf 2.3
  162. - applied preview crash patch (and fixed location mistake)
  163. - added data package back, but now built separately
  164. - removed libPropList package
  165. - relocated to /usr/X11R6 from /usr
  166. * Sun Mar 14 1999 Ullrich Hafner <hafner@bigfoot.de>
  167. - upgraded to wmakerconf 1.8
  168. - removed data package
  169. - new NLS structure
  170. * Fri Feb 12 1999 Ullrich Hafner <hafner@bigfoot.de>
  171. - upgraded to wmakerconf 1.7
  172. * Wed Jan 20 1999 Ullrich Hafner <hafner@bigfoot.de>
  173. - upgraded to wmakerconf 1.6
  174. * Tue Dec 22 1998 Ullrich Hafner <hafner@bigfoot.de>
  175. - upgraded to wmakerconf 1.5
  176. - added prefix
  177. * Thu Nov 19 1998 Ullrich Hafner <hafner@bigfoot.de>
  178. - upgraded to wmakerconf 1.3
  179. - updated data files for windowmaker 0.20.2 and above
  180. - split into wmakerconf and wmakerconf-data package
  181. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  182. - strip binaries
  183. - updated data files for windowmaker 0.20 and above
  184. * Fri Sep 18 1998 Cristian Gafton <gafton@redhat.com>
  185. - packaged for 5.2 to be used with WindowMaker