wv2-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: library which allows access to Microsoft Word files
  2. Summary(ja): Microsoft Word 形式のファイルを扱うためのライブラリ
  3. Name: wv2
  4. Version: 0.3.1
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. Source: http://download.sourceforge.net/wvware/wv2-%{version}.tar.bz2
  9. URL: http://wvWare.sourceforge.net/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libgsf-devel >= 1.7.2
  12. BuildRequires: libxml2-devel
  13. %description
  14. wv is a library which allows access to Microsoft Word files. It can load
  15. and parse Word 2000, 97, 95 and 6 file formats. (These are the file formats
  16. known internally as Word 9, 8, 7 and 6.) There is some support for reading
  17. earlier formats as well: Word 2 docs are converted to plaintext.
  18. %package devel
  19. Summary: Development files for wv2
  20. Summary(ja): wv2 の開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. Development files for wv2
  25. %prep
  26. %setup -q
  27. %build
  28. CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG -DNO_DEBUG -fno-check-new" \
  29. CFLAGS="$RPM_OPT_FLAGS -DNDEBUG -DNO_DEBUG" \
  30. %configure
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make DESTDIR=$RPM_BUILD_ROOT install
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root)
  40. %doc AUTHORS COPYING.LIB ChangeLog README RELEASE THANKS TODO
  41. %{_libdir}/*.so.*
  42. %files devel
  43. %defattr(-,root,root)
  44. %{_bindir}/*
  45. %{_includedir}/wv2/*
  46. #{_libdir}/*.la
  47. %{_libdir}/*.so
  48. %changelog
  49. * Wed May 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.1-1
  50. - new upstream release
  51. - spec in UTF-8
  52. * Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-1
  53. - applied new versioning policy
  54. - removed lib*.la files
  55. * Sun May 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl4
  56. - rebuilt with new toolchain
  57. * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.3-0vl3
  58. - added --libdir=%%{_libdir} configure option
  59. * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2
  60. - rebuilt for VineSeed (4.0)
  61. * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl1
  62. - new upstream release (including security fix CVE-2006-2197)
  63. - added Japanese summary
  64. * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.2-0vl4
  65. - rebuild
  66. * Sun Mar 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl3
  67. - rebuild with libgsf-1.14.0
  68. * Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.2-0vl2
  69. - rebuild with libgsf-1.13.3
  70. * Sun Jul 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl1
  71. - source upgrade
  72. * Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.9-0vl1
  73. - source upgrade
  74. - build with gcc-3.2.3
  75. * Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.8-0vl1
  76. - source upgrade
  77. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1-0vl1
  78. - first release