fluxbox-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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: 1%{?_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. * Wed Jun 12 2013 TANAKA hiroaki mosaicist@jcom.home.ne.jp > 1.3.5-1
  165. - new upstream release
  166. - update fluxbox-%version.menugen.patch
  167. * Mon Feb 13 2012 KATO Masashi <mkato@par.odn.ne.jp> 1.3.2-3
  168. - replaced wallpaper setter "xsri" with "feh"
  169. - update documents(fluxtips.html)
  170. * Mon Nov 14 2011 KATO Masashi <mkato@par.odn.ne.jp> 1.3.2-2
  171. - rewrited spec file
  172. (reformat %changelog)
  173. * Mon Nov 14 2011 KATO Masashi <mkato@par.odn.ne.jp> 1.3.2-1
  174. - new upstream release.
  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. (initial package for Vine Linux)
  349. - modified menu-generator patch (x-terminals)
  350. - modified init.in patch (date,workspace name,default style)
  351. - added 2 styles (VineStyle, BlueStar)