eatdirt

fvwm2.spec

Apr 11th, 2011
337
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %define srcname fvwm
  2.  
  3. Name:           fvwm2
  4. Version:        2.5.31
  5. Release:        %mkrel 1
  6. Summary:        An improved version of the FVWM X-based window manager
  7. License:        GPLv2+
  8. Group:          Graphical desktop/FVWM based
  9.  
  10. URL:            http://www.fvwm.org/
  11. Source0:        ftp://ftp.fvwm.org/pub/fvwm/version-2/%{srcname}-%{version}.tar.bz2
  12. Source1:        fvwm2.png
  13. Source2:        system.fvwm2rc
  14. Source3:        fvwm2rc.example
  15.  
  16. Patch0:         fvwm-2.5.26-translucent-menus.diff
  17. Patch1:         fvwm-2.5.26-fix-str-fmt.patch
  18.  
  19. BuildRequires:  flex
  20. BuildRequires:  libx11-devel
  21. BuildRequires:  libxt-devel
  22. BuildRequires:  libxft-devel
  23. BuildRequires:  xpm-devel
  24. BuildRequires:  png-devel
  25. BuildRequires:  readline-devel
  26. BuildRequires:  termcap-devel
  27. BuildRequires:  fribidi-devel
  28. BuildRequires:  libstroke-devel
  29. BuildRequires:  librsvg-devel
  30. BuildRequires:  libxinerama-devel
  31.  
  32. # for fvwm-bug
  33. Requires:       sendmail-command
  34. # for fvwm-menu-headlines
  35. Requires:       desktop-common-data
  36. # for fvwm-menu-xlock
  37. Requires:       xlockmore
  38. # for doing something
  39. Requires:       xterm
  40. # for having something
  41. Requires:       xclock
  42. # for iconification and wallpaper
  43. Requires:       xwd
  44. Requires:   imagemagick
  45. # for compositing
  46. Requires:       xcompmgr
  47. Requires:   transset-df
  48. # for mimeinfo
  49. Requires:       perl-File-MimeInfo
  50.  
  51. %description
  52. FVWM2 (the F stands for whatever you want, but the VWM stands for Virtual
  53. Window Manager) is an improved version of the FVWM window manager for the X
  54. Window System and shares the same characteristics as FVWM.
  55.  
  56. %prep
  57. %setup -q -n %{srcname}-%{version}
  58. %patch0 -p0 -b .translucent
  59. %patch1 -p0 -b .str
  60.  
  61. %build
  62. %configure2_5x \
  63.     --disable-gtk \
  64.     --libexecdir=%{_libdir}/X11/fvwm2 \
  65.     --sysconfdir=%{_sysconfdir}/X11/fvwm2 \
  66.     --with-imagepath=%{_datadir}/icons
  67.  
  68.  
  69. %make LOCALEDIR=%{_datadir}/locale localedir=%{_datadir}/locale
  70.  
  71. %install
  72. rm -rf %{buildroot}
  73. %{makeinstall_std} LOCALEDIR=%{_datadir}/locale localedir=%{_datadir}/locale
  74.  
  75. install -d -m 755 %{buildroot}%{_iconsdir}
  76. install -m 644 %{SOURCE1} %{buildroot}%{_iconsdir}
  77.  
  78. mkdir -p %{buildroot}%{_sysconfdir}/X11/fvwm2
  79. install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/fvwm2
  80. install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/fvwm2
  81.  
  82. # session stuff
  83. mkdir -p %{buildroot}%{_sysconfdir}/X11/wmsession.d
  84. cat > %{buildroot}%{_sysconfdir}/X11/wmsession.d/09fvwm2 << EOF
  85. NAME=Fvwm2
  86. ICON=fvwm2.png
  87. EXEC=%{_bindir}/fvwm2
  88. DESC=A highly customizable window manager
  89. SCRIPT:
  90. exec %{_bindir}/fvwm2
  91. EOF
  92.  
  93. # OT fvwm is fvwm1
  94. # CR was on mandriva, but still cool
  95. rm -f %{buildroot}%{_bindir}/fvwm2
  96. mv %{buildroot}%{_bindir}/fvwm %{buildroot}%{_bindir}/fvwm2
  97.  
  98. %find_lang %{name} --all-name
  99.  
  100. %files -f %{name}.lang
  101. %defattr(-,root,root)
  102. %doc INSTALL README AUTHORS INSTALL.fvwm NEWS ChangeLog docs
  103. %config(noreplace) %{_sysconfdir}/X11/fvwm2
  104. %config(noreplace) %{_sysconfdir}/X11/wmsession.d/09fvwm2
  105. %{_mandir}/man1/*
  106. %{_bindir}/*
  107. %{_datadir}/fvwm
  108. %{_libdir}/X11/fvwm2
  109. %{_iconsdir}/%{name}.png
  110.  
  111. %clean
  112. rm -rf %{buildroot}
  113.  
  114. %changelog
  115. * Fri Apr 08 2011 Chris Ringeval <dirteat@gmail.com> 2.5.31-1mga1
  116. - Upgraded to 2.5.31
  117. - Configuration file modified
  118. - Added dependencies to xwd, xcompmgr, transset
  119. - Removed dependency to rplay
  120. - Python xdg menu generation replaced by PipeRead (fvwm2rc.example)
  121. - Old patches removed
  122.  
  123. * Fri Sep 11 2009 Thierry Vignaud <tvignaud@mandriva.com> 2.5.26-2mdv2010.0
  124. + Revision: 437611
  125. - rebuild
  126.  
  127. * Sat Apr 04 2009 Funda Wang <fundawang@mandriva.org> 2.5.26-1mdv2009.1
  128. + Revision: 363986
  129. - fix str fmt
  130. - rediff translucent menu patch
  131.  
  132.   + Oden Eriksson <oeriksson@mandriva.com>
  133.     - lowercase ImageMagick
  134.  
  135. * Wed Aug 06 2008 Adam Williamson <awilliamson@mandriva.org> 2.5.26-1mdv2009.0
  136. + Revision: 264127
  137. - clean up a couple of variables
  138. - buildrequires librsvg-devel and libxinerama-devel to enable these functions
  139.   (thanks Fedora)
  140. - drop the GTK+ 1.2 buildrequire (and hence the old and useless GTK+ 1.2 module)
  141. - add several requires (thanks Fedora)
  142. - new license policy
  143. - sync patches with Fedora: add xdg-open.patch, mimeopen.patch and menu-generate.patch
  144. - update to latest translucent-menus.diff from Gentoo
  145. - add fvwm-xdg-menu.py as a source (from Fedora, needed for a Fedora patch)
  146. - reorder sources
  147. - fix indentations
  148. - get rid of some bogus requires and provides (thanks Fedora)
  149. - remove some unnecessary %%defines
  150. - new release 2.5.26
  151.  
  152. * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.5.21-4mdv2009.0
  153. + Revision: 245567
  154. - rebuild
  155.  
  156.   + Pixel <pixel@mandriva.com>
  157.     - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
  158.  
  159. * Thu Mar 13 2008 Andreas Hasenack <andreas@mandriva.com> 2.5.21-2mdv2008.1
  160. + Revision: 187612
  161. - rebuild for 2008.1
  162.  
  163.   + Olivier Blin <oblin@mandriva.com>
  164.     - restore BuildRoot
  165.  
  166.   + Thierry Vignaud <tvignaud@mandriva.com>
  167.     - kill re-definition of %%buildroot on Pixel's request
  168.  
  169. * Tue May 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.21-1mdv2008.0
  170. + Revision: 29904
  171. - new version
  172.  
  173.  
  174. * Thu Jan 18 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.18-4mdv2007.0
  175. + Revision: 110130
  176. - revert to previous setup, with distinct configuration and menu files included from main configuration file
  177.  
  178. * Mon Dec 11 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.18-3mdv2007.1
  179. + Revision: 94775
  180. - bump release
  181. - buildrequires libxft-devel
  182.  
  183. * Fri Dec 08 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.18-2mdv2007.1
  184. + Revision: 92250
  185. - return of the translucent menu patch
  186.  
  187. * Wed Nov 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.18-1mdv2007.1
  188. + Revision: 88337
  189. - new version
  190.   drop transclucy patch (merged upstream)
  191.  
  192. * Thu Nov 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 2.5.10-9mdv2007.1
  193. + Revision: 84723
  194. - new release
  195. - fix buildrequires name
  196. - bump release
  197. - fix buildrequires
  198. - bump release
  199. - removed unused macros
  200. - unused anymore
  201. - move icons into a distinct source package, as they are distributed separatly
  202. - fix menus
  203. - no more need for the cursor hack
  204. - add icon in wmsession script
  205. - switch to new menu conversion system
  206. - no need for menu entries
  207. - patch is now uncompressed
  208. - use a single configuration file, as twm
  209. - uncompressed all additional sources
  210. - icons are now generated with convert
  211. - revert previous change, seems this menu template is needed after all
  212. - don't ship default menu, let's use standard menu system
  213. - unused anymore
  214. - convert old menu to new xdg menu
  215.   fix old menu to use png icons
  216.   use fvwm2 icons set
  217. - drop old obsoletes
  218. - %%{1}mdv2007.1
  219. - spec cleanup
  220. - fix prefix
  221. - fix buildrequires
  222. - Import fvwm2
  223.  
  224. * Thu Jan 20 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.5.10-5mdk
  225. - rebuild for new readline
  226.  
  227. * Sun Jul 25 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.10-4mdk
  228. - From Philippe Reynes <trem@zarb.org>
  229.     - fix the compilation problem
  230.  
  231. * Sun Jun 13 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.10-3mdk
  232. - Fix missing binary (Thanks Gregoire Favre <Gregoire.Favre@freesurf.ch>)
  233.  
  234. * Fri Jun 11 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.10-2mdk
  235. - apply transparency patch0 (ask by Yves Brissaud)
  236.  
  237. * Fri Jun 11 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.5.10-1mdk
  238. - 2.5.10
  239.  
  240. * Fri Apr 23 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 2.4.18-1mdk
  241. - 2.4.18
RAW Paste Data