fluxbox-vl.spec 14 KB

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