wml-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: Website META Language
  2. Name: wml
  3. Version: 2.0.9
  4. Release: 0vl7
  5. License: GPL
  6. Group: Applications/Internet
  7. URL: http://www.engelschall.com/sw/wml/
  8. Source0: http://www.engelschall.com/sw/wml/distrib/wml-%{version}.tar.bz2
  9. Patch0: wml-2.0.9-perllibs.patch
  10. Patch1: wml-2.0.9-gcc4.patch
  11. Requires: perl >= 5.005
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. BuildRequires: gdbm-devel db4-devel
  16. %description
  17. WML is a free and extensible Webdesigner's off-line HTML
  18. generation toolkit for Unix.
  19. #'
  20. %prep
  21. %setup -q
  22. %patch0 -p1 -b .perllib
  23. %patch1 -p1 -b .gcc4
  24. %build
  25. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;
  26. CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;
  27. FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;
  28. ./configure --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir}
  29. #configure
  30. make
  31. %install
  32. rm -rf %{buildroot}
  33. #makeinstall
  34. make prefix=%{buildroot}/usr mandir=%{buildroot}%{_mandir} infodir=%{buildroot}%{_infodir} install
  35. pushd %{buildroot}%{_mandir}
  36. # move some man files
  37. mv cat1/* man1
  38. mv cat7/* man7
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr (-,root,root)
  43. %doc ANNOUNCE BUGREPORT COPYING COPYRIGHT* CREDITS ChangeLog
  44. %doc INSTALL MANIFEST NEWS README* SUPPORT VERSION*
  45. /usr/bin/wmk
  46. /usr/bin/wml
  47. /usr/bin/wmd
  48. /usr/bin/wmb
  49. /usr/bin/wmu
  50. /usr/lib/wml
  51. %{_mandir}/man*/*
  52. %changelog
  53. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-0vl7
  54. - rebuilt with new toolchain
  55. - added Patch0 and Patch1 from http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/wml/
  56. * Sun Jul 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.0.9-0vl6
  57. - rebuilt with db4-4.2.52 (db4-devel)
  58. - add BuildRequires: gdbm-devel, db4-devel
  59. * Sun Nov 7 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.9-0vl5
  60. - rebuilt with db4-4.2.52
  61. * Wed May 5 2004 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 2.0.9-0vl4
  62. - rebuild for VineSeed
  63. * Wed May 5 2004 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 2.0.9-0vl2
  64. - rebuild for VineSeed
  65. * Wed May 5 2004 Nobuyuki Tsuchimura <tutimura@nn.iij4u.or.jp> 2.0.9-0vl1
  66. - updated to 2.0.9
  67. * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 2.0.8-0vl1
  68. - updated to 2.0.8 with minor spec cleanups
  69. - handle %%{optflags}
  70. - install man pages into %%{_mandir}
  71. * Tue Jun 13 2000 Yoichi Imai <yoichi@silver-forest.com>
  72. - version up to 2.0.1
  73. * Mon May 22 2000 Yoichi Imai <yoichi@silver-forest.com>
  74. - Create rpm