fluxbox-vl.spec 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  1. %define FBversion 1.3.1
  2. %define pversion 1.3.0
  3. %define patchversion 1.1.0.1
  4. %define fbumenu_version 0.5.5
  5. %define vinefiles_version 11.2
  6. Summary: Fluxbox is a windowmanager that is based on Blackbox.
  7. summary(ja): Fluxbox は Blackbox から派生したウインドウマネージャです。
  8. Name: fluxbox
  9. Version: %{FBversion}
  10. Release: 2%{?_dist_release}
  11. Group: User Interface/Desktops
  12. License: MIT
  13. URL: http://fluxbox.org/
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Source0: http://sourceforge.net/projects/fluxbox/files/fluxbox/%{version}/fluxbox-%{version}.tar.bz2
  17. # styles & scripts
  18. Source1: %{name}-vinefiles-%{vinefiles_version}.tar.bz2
  19. Source2: styles2-2.tar.bz2
  20. Source3: fb_libexec.tar.bz2
  21. Source4: fb_extend_menu
  22. Patch0: fluxbox-%{pversion}-2.init-in.patch
  23. ##Patch1: fluxbox-%{patchversion}.src-clock-tool.patch
  24. ##Patch2: fluxbox-%{patchversion}.src-Makefile-in.patch
  25. Patch3: fluxbox-%{pversion}.nls-ja.patch
  26. Patch4: fluxbox-%{pversion}-2.startfb.patch
  27. Patch5: fluxbox-%{pversion}.menugen-menu-default.patch
  28. Patch6: fluxbox-%{pversion}.menugen-add-app.patch
  29. Patch8: fluxbox-%{pversion}.menugen-utf-8.patch
  30. Patch9: fluxbox-%{pversion}.menugen-vine-ext.patch
  31. Patch91: fluxbox-%{pversion}-2.menugen.patch
  32. Patch10: fbsetbg_setter_priority.patch
  33. ##Patch20: fluxbox-1.1.1.Xclients.patch
  34. ##fluxbox-%{patchversion}.Xclients.patch
  35. ##Patch30: fluxbox-%{patchversion}.nls-hh.patch
  36. Patch40: fluxbox-%{patchversion}.nls-ja-make.patch
  37. Patch41: fluxbox-%{pversion}.update_cfg.patch
  38. Patch50: fluxbox.windowmenu-1.patch
  39. Patch51: fluxbox.keys-1.patch
  40. ##Patch100: fluxbox-%{patchversion}.20080913.patch
  41. BuildRoot: %{_tmppath}/%{name}-buildroot
  42. BuildRequires: libX11-devel libXext-devel
  43. BuildRequires: bzip2 imlib2-devel zlib-devel freetype2-devel
  44. BuildRequires: libXpm-devel nkf libXft-devel
  45. BuildRequires: libICE-devel libSM-devel libXinerama-devel
  46. BuildRequires: libXrandr-devel libXrender-devel
  47. BuildRequires: fontconfig-devel libtool
  48. Requires: imlib2 imlib2-loader ImageMagick nkf xsri task-xorg-x11
  49. Requires: zenity bash
  50. %description
  51. Fluxbox is yet another windowmanager for X.
  52. It's based on the Blackbox 0.61.1 code.
  53. Fluxbox looks like blackbox and handles styles, colors, window
  54. placement and similar thing exactly like blackbox
  55. (100% theme/style compability).
  56. So what's the difference between fluxbox and blackbox then?
  57. The answer is: LOTS!
  58. Here is a list of features that fluxbox already has, or is in the works...
  59. %description -l ja
  60. fluxbox は X Window System 用の、一味違ったウィンドウマネージャです。
  61. それは blackbox-0.61.1 のプログラムコードをベースに開発されています。
  62. fluxbox は blackbox によく似ていて、スタイル、カラーリング、ウィンドウ
  63. の配置などを blackbox 同様に処理します。(スタイル(テーマ)は 100% 互換)
  64. では、fluxbox と blackbox の違いは? ... その答えは「いっぱい」!
  65. fluxbox に何が出来るか、今後何を計画しているのか?
  66. 詳しくは http://fluxbox.sourceforge.net/ をご覧下さい。
  67. %prep
  68. %__rm -rf %{buildroot}
  69. %setup -q -a 1 -a 2 -a 3
  70. ## init
  71. %patch0 -p1
  72. ##%patch1 -p1
  73. ##%patch2 -p1
  74. ## nls
  75. %patch3 -p1
  76. ## startfluxbox
  77. %patch4 -p1
  78. ## fluxbox-generete_menu
  79. %patch5 -p1
  80. %patch6 -p1
  81. %patch8 -p1
  82. %patch9 -p1
  83. %patch91 -p1
  84. ## fbsetbg_setter_priority
  85. %patch10 -p1
  86. ##%patch30 -p1
  87. ## nls Makefile.in
  88. %patch40 -p1
  89. ## fluxbox-update_configs.cc
  90. %patch41 -p1
  91. ## windowmenu
  92. %patch50 -p1
  93. ## keys
  94. %patch51 -p1
  95. ## keys
  96. ##%patch50 -p1
  97. ##%patch100 -p1
  98. %build
  99. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
  100. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
  101. FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
  102. ./configure --enable-nls \
  103. --prefix=%{_prefix} \
  104. --exec-prefix=%{_exec_prefix} \
  105. --bindir=%{_bindir} \
  106. --sbindir=%{_sbindir} \
  107. --sysconfdir=%{_sysconfdir} \
  108. --datadir=%{_datadir} \
  109. --includedir=%{_includedir} \
  110. --libdir=%{_libdir} \
  111. --libexecdir=%{_libexecdir} \
  112. --localstatedir=%{_localstatedir} \
  113. --sharedstatedir=%{_sharedstatedir} \
  114. --mandir=%{_mandir} \
  115. --infodir=%{_infodir}
  116. %__make
  117. %install
  118. %__rm -rf %{buildroot}
  119. # fluxbox installation
  120. make "DESTDIR=%{buildroot}" install
  121. # styles
  122. %__rm data/styles/Makefile*
  123. %__cp -a data/styles %{buildroot}%{_datadir}/%{name}/
  124. %__cp -a data/styles2 %{buildroot}%{_datadir}/%{name}/
  125. # wallpapers
  126. %__cp -a data/backgrounds %{buildroot}%{_datadir}/%{name}/
  127. # HTML images
  128. %__cp -a data/images %{buildroot}%{_datadir}/%{name}/
  129. # UserMenu samples
  130. %__cp -a data/UserMenu %{buildroot}%{_datadir}/%{name}/
  131. # HTML docs
  132. %__cp data/*.html %{buildroot}%{_datadir}/%{name}/
  133. # scripts
  134. %__cp data/fb_welcome %{buildroot}%{_datadir}/%{name}/
  135. %__cp data/cng_fbtips %{buildroot}%{_datadir}/%{name}/
  136. %__cp data/change-rootcmd %{buildroot}%{_datadir}/%{name}/
  137. %__cp data/change-init_rootcmd %{buildroot}%{_datadir}/%{name}/
  138. %__cp data/applyoldstyle %{buildroot}%{_datadir}/%{name}/
  139. %__cp data/mk-rootcmds %{buildroot}%{_bindir}/
  140. %__cp data/fbumenu_gen-%{fbumenu_version} %{buildroot}%{_bindir}/fbumenu_gen
  141. # changelog
  142. %__cp ChangeLog %{buildroot}%{_datadir}/%{name}/
  143. # xsession desktop entry
  144. %__mkdir_p %{buildroot}%{_datadir}/xsessions/
  145. #%__cp data/fluxbox.desktop %{buildroot}%{_datadir}/xsessions/
  146. %__install -m 644 data/fluxbox.desktop %{buildroot}%{_datadir}/xsessions/
  147. # logout, reboot, shutdown commands
  148. %__mkdir_p %{buildroot}%{_libexecdir}/%{name}
  149. %__install -m 755 fb_libexec/* %{buildroot}%{_libexecdir}/%{name}/
  150. # extend menu
  151. %__mkdir_p %{buildroot}%{_datadir}/%{name}/
  152. %__install -m 755 %{SOURCE4} %{buildroot}%{_datadir}/%{name}/
  153. if [ -z "$DEBUG" ]; then
  154. strip %{buildroot}%{_bindir}/fluxbox \
  155. %{buildroot}%{_bindir}/fbsetroot \
  156. %{buildroot}%{_bindir}/fbrun
  157. fi
  158. bzip2 %{buildroot}%{_mandir}/man1/*.1
  159. %post
  160. # New menu-system
  161. %__rm %{_datadir}/fluxbox/menu*
  162. %{_bindir}/fluxbox-generate_menu \
  163. -in -B \
  164. -p %{_prefix} \
  165. -o %{_datadir}/fluxbox/menu 2> /dev/null
  166. %clean
  167. %__rm -rf %{buildroot}
  168. %files
  169. %defattr(-,root,root,755)
  170. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  171. %{_bindir}/*
  172. %{_datadir}/*
  173. %{_libexecdir}/*
  174. %changelog
  175. * Sat Mar 26 2011 KATO Masashi <mkato@par.odn.ne.jp> 1.3.1-2
  176. - added wide wall paper
  177. - update documents(flux_news.html)
  178. * Mon Mar 7 2011 KATO Masashi <mkato@par.odn.ne.jp> 1.3.1-1
  179. - new upstream release.
  180. * Tue Mar 1 2011 KATO Masashi <mkato@par.odn.ne.jp> 1.3.0-1
  181. - new upstream release.
  182. - updated patchs.
  183. - added keys & windowmenu patch.
  184. - update documents(flux_news.html,styles.html)
  185. * Tue Oct 5 2010 KATO Masashi <mkato@par.odn.ne.jp> 1.1.1-5
  186. - added BR: libICE-devel libSM-devel libXinerama-devel
  187. libXrandr-devel libXrender-devel fontconfig-devel libtool
  188. - added Requires: task-xorg-x11 bash
  189. - dropped Requires: xinitrc libXpm
  190. * Mon Oct 4 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.1-4
  191. - add BR: libXft-devel (1.1.1-3.ppc was built w/o libXft-devel)
  192. * Wed May 26 2010 KATO Masashi <mkato@par.odn.ne.jp> 1.1.1-3
  193. - update & added Vine documents. (apps.html, config_files.html)
  194. - Combined some of patches.
  195. - update fbumenu_gen script(usermenu generator).
  196. - added menu commands. (logout, reboot, shutdown)
  197. - added extend application menu script. (%{SOURCE4})
  198. * Tue Mar 16 2010 KATO Masashi <mkato@par.odn.ne.jp> 1.1.1-2
  199. - updated wallpapers.
  200. - moved desktop-entry to %{_datadir}/xsessions/ .
  201. * Fri Sep 19 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.1.1-1
  202. - new upstream release.
  203. - removed upstream patchs.
  204. - rewrote Vine documents.
  205. * Sat Sep 14 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.1.0.1-3
  206. - Applied upstream patchs.
  207. * Fri Sep 12 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.1.0.1-2
  208. - updated mk-rootcmds
  209. - updated vine documents. (keys.html, flux_news.html)
  210. * Thu Sep 11 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.1.0.1-1
  211. - new upstream release
  212. - removed fluxbox-%{FBversion}.nls-hh.patch
  213. - rewrote documents. (keys.html, flux_news.html)
  214. - added new default keys file
  215. * Sun Aug 24 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-6
  216. - fixed locale problem
  217. - rewrote scripts for eucJP and UTF-8
  218. - revived fluxbox-%{FBversion}.Xclients.patch. (for startx)
  219. * Sun Jun 22 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-5
  220. - add new style. (tux)
  221. * Mon Jun 16 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-3
  222. - corrected line gap of nls-header
  223. - (fluxbox-1.0.0.nls-hh.patch)
  224. * Tue May 27 2008 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-2
  225. - adjust startup sequence
  226. - (rewrite desktop entry file for dm sessions)
  227. - (remove fluxbox-%{FBversion}.Xclients.patch)
  228. * Sun May 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
  229. - applied new versioning policy
  230. - rebuilt with xorg-x11 7.3
  231. - spec in UTF-8
  232. * Tue Dec 4 2007 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-0vl3, 4
  233. - retouch patchs for ja_JP.UTF-8 locale
  234. - : for root menu & help message
  235. - rewrite vine documents
  236. * Mon Oct 15 2007 KATO Masashi <mkato@par.odn.ne.jp> 1.0.0-0vl1, 2
  237. - new upstream 'stable' release
  238. - add new documents(styles tips, keys tips).
  239. - add new styles
  240. - update patch files, vine documents, vine scripts
  241. * Wed Apr 11 2007 KATO Masashi <mkato@par.odn.ne.jp> 1.0-0vl0.rc3.1, 2
  242. - new upstream release
  243. - add rewrited system styles
  244. - update patch files
  245. - update vine documents
  246. * Sun Dec 24 2006 KATO Masashi <mkato@par.odn.ne.jp> 1.0-0vl0.rc2.3, 4
  247. - add BuildRequires: zlib-devel freetype2-devel
  248. - add Requires: xsri
  249. - Change wpsetter's priority (fbsetbg_setter_priority.patch)
  250. * Thu Jul 20 2006 KATO Masashi <mkato@par.odn.ne.jp> 1.0-0vl0.rc2.1, 2
  251. - new upstream release
  252. - update patch files
  253. - update vine documents
  254. * Thu Jul 6 2006 KATO Masashi <mkato@par.odn.ne.jp> 1.0-0vl0.rc0.1, 2
  255. - new upstream release
  256. - update patch files
  257. - added 'additional applications' extension to fluxbox-generate_menu
  258. * Tue Apr 8 2006 KATO Masashi <mkato@par.odn.ne.jp> 0.9.15.1-0vl1, 2
  259. - new upstream release
  260. - add 'init file rewrite' script for back-compatible
  261. - rewrite documents
  262. * Wed Mar 29 2006 KATO Masashi <mkato@par.odn.ne.jp> 0.9.15-0vl1, 2
  263. - new upstream release
  264. - update *tips*
  265. - update patch files
  266. - add & update script files
  267. - update & retouch style files (VineStyle*, BlueStar*)
  268. - retouch menu structure (Vine tools)
  269. - add script for back compatible to background-style
  270. * Sun Mar 19 2006 KATO Masashi <mkato@par.odn.ne.jp> 0.9.14-0vl1.1, 2.2
  271. - update *_tips.html
  272. (retouch link errors)
  273. - retouch ja_JP/Translation.m
  274. - update menugen patch
  275. - update style file (VineStyle, BlueStar)
  276. - add index.html, scripts for 'wellcome'
  277. * Tue Oct 25 2005 KATO Masashi <mkato@par.odn.ne.jp> 0.9.14-0vl1, 2
  278. - new upstream release
  279. - update vine patch
  280. (retouch init file for new spec.)
  281. - update vinefiles
  282. (update fbumenu_gen(usermenu generator))
  283. (update 2 style files for new spec.)
  284. (update fluxtips.txt)
  285. - update fluxbox_menu_tips.html
  286. * Sun Jun 5 2005 KATO Masashi <mkato@par.odn.ne.jp> 0.9.13-0vl3, 4
  287. - update vine patch
  288. (add some menu items to fluxbox-generate_menu)
  289. (retouch menu structure)
  290. (rewrite 'about menu')
  291. - update vinefiles
  292. (add usermenu generator to x-utilus)
  293. - update fluxbox_menu_tips.html
  294. * Fri May 27 2005 KATO Masashi <mkato@par.odn.ne.jp> 0.9.13-0vl1
  295. - new upstream release
  296. - update vine patch
  297. (add some menu items to fluxbox-generate_menu)
  298. (extend 'about toolbar')
  299. - update nls-ja patch
  300. - update fluxtips.txt
  301. (rewrite, add '0.9.13 news')
  302. * Sun Feb 6 2005 KATO Masashi <mkato@par.odn.ne.jp> 0.9.12-0vl1
  303. - new upstream release
  304. - update vine patch
  305. (add some menu items to fluxbox-generate_menu)
  306. (include blackbox styles)
  307. (extend 'my_mail')
  308. (extend 'about menu')
  309. - add nls-ja patch
  310. * Sun Dec 12 2004 KATO Masashi <mkato@par.odn.ne.jp> 0.9.11-0vl1
  311. - new upstream release
  312. - update vine patch
  313. (generate japanese menu)
  314. (add some menu items to fluxbox-generate_menu)
  315. (retouch menu structure)
  316. (fix menu backup problem)
  317. * Wed Nov 24 2004 IWAI, Masaharu <iwai@alib.jp> 0.9.10-0vl1
  318. - new upstream release
  319. - update vine patch ( merged vine patches )
  320. - add font_locale patch ( Patch100 )
  321. - fix typo: s/buidroot/buildroot/g
  322. * Sun Jun 20 2004 KATO Masashi <mkato@par.odn.ne.jp> 0.9.9-0vl2
  323. - rewrite 2 styles (VineStyleII, BlueStarII)
  324. - rewrite fluxtips.txt(for 0.9.x)
  325. - modifying menu-generator
  326. (fix problems of 'can't generates some menus')
  327. (add some menu items)
  328. (Japanese help messages)
  329. - modifying 'init' file(default style, menu-alpha)
  330. - append sample of 'keys' file
  331. * Sun May 2 2004 IWAI, Masaharu <iwai@alib.jp> 0.9.9-0vl1
  332. - new upstream release
  333. * Sun Mar 14 2004 IWAI, Masaharu <iwai@alib.jp> 0.9.8-0vl2
  334. - using rpm macros
  335. - fix nonexistent directory for styles in postscript
  336. - add BuildRequires: bzip2
  337. - drop Prefix tag
  338. * Sat Mar 6 2004 IWAI, Masaharu <iwai@alib.jp> 0.9.8-0vl1
  339. - new upstream release
  340. - update vine patch (Patch101)
  341. * Mon Aug 11 2003 IWAI, Masaharu <iwai@alib.jp> 0.1.14-1_0vl2
  342. - build for VineSeed
  343. - fix Group tag for VineLinux:
  344. Graphical desktop/Other -> User Interface/Desktops
  345. - add /usr/share/%%{name} directory in %%files section
  346. * Sat May 31 2003 KATO Masashi <mkato@par.odn.ne.jp> 0.1.14-1_0vl1
  347. - fluxbox for Vine Linux. Japanese menu enabled at default.
  348. - modified menu-generator patch (x-terminals)
  349. - modified init.in patch (date,workspace name,default style)
  350. - added 2 styles (VineStyle, BlueStar)
  351. * Mon Dec 9 2002 Han Boetes <han@mijncomputer.nl> 0.1.14-1
  352. - And we have a new release
  353. * Sun Dec 1 2002 Han Boetes <han@linux-mandrake.com> 0.1.13-4
  354. - added only missing patch from bugfixpatch
  355. * Mon Nov 25 2002 Han Boetes <han@linux-mandrake.com> 0.1.13-3
  356. - aa-startup- and openoffice-patch from Rathnor
  357. * Thu Nov 21 2002 Han Boetes <han@linux-mandrake.com> 0.1.13-2
  358. - Fix locales patch
  359. * Tue Nov 19 2002 Han Boetes <han@linux-mandrake.com> 0.1.13-1
  360. - Bump
  361. * Fri Sep 13 2002 Han Boetes <han@linux-mandrake.com> 0.1.12-1
  362. - Bump
  363. * Tue Sep 10 2002 Han Boetes <han@linux-mandrake.com> 0.1.11-3
  364. - Applied bugfix2 patch
  365. * Tue Sep 10 2002 Han Boetes <han@linux-mandrake.com> 0.1.11-2
  366. - Applied bugfix1 patch
  367. * Tue Sep 3 2002 Han Boetes <han@mijncomputer.nl> 0.1.11-1
  368. - Bump
  369. * Mon Jul 15 2002 Han Boetes <han@mijncomputer.nl> 0.1.10-1
  370. - Bump ;kudo's to Kurt Bechstein for recovering the rpm.
  371. * Mon Jun 3 2002 Han Boetes <han@mijncomputer.nl> 0.1.9-2
  372. - Applied bugfix-patch 2
  373. * Sat May 25 2002 Han Boetes <han@mijncomputer.nl> 0.1.9-1
  374. - Version Bump
  375. - New menu-system
  376. * Thu May 9 2002 Han Boetes <han@mijncomputer.nl> 0.1.8-4
  377. - Esthetic and Profilactic cleanups
  378. * Fri May 3 2002 Han Boetes <han@mijncomputer.nl> 0.1.8-3
  379. - Applied bugfix-patch 1+2+3
  380. * Sat Apr 27 2002 Han Boetes <han@mijncomputer.nl> 0.1.8-2
  381. - Applied bugfix-patch 1
  382. * Fri Apr 19 2002 Han Boetes <han@mijncomputer.nl> 0.1.8-1
  383. - Bump to version 0.1.8
  384. * Sat Mar 9 2002 Han Boetes <han@mijncomputer.nl> 0.1.7-3
  385. - Applied patch 1
  386. * Wed Mar 6 2002 Han Boetes <han@mijncomputer.nl> 0.1.7-2
  387. - Added DEBUG flavor
  388. * Fri Mar 1 2002 Han Boetes <han@mijncomputer.nl> 0.1.7-1
  389. - BUMP!
  390. * Thu Feb 07 2002 Christian Pelealu <chris@nerv-9.net> 0.1.6-3RH
  391. - Changed a lot of the build spec for RedHat 7.2
  392. * Tue Jan 29 2002 Han Boetes <han@mijncomputer.nl> 0.1.6-3
  393. - Applied patch 2
  394. * Sun Jan 13 2002 Han Boetes <han@mijncomputer.nl> 0.1.6-2
  395. - Applied patch.
  396. * Fri Jan 11 2002 Han Boetes <han@mijncomputer.nl> 0.1.6-1
  397. - Bump version.
  398. * Fri Dec 28 2001 Han Boetes <han@mijncomputer.nl> 0.1.5-1
  399. - Initial build