wv2-vl.spec 3.0 KB

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