wmakerconf-vl.spec 5.9 KB

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