wv2-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 2%{?_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. export CXXFLAGS="%{optflags} `pkg-config libgsf-1 --cflags`"
  31. mkdir -p %{_target_platform}
  32. pushd %{_target_platform}
  33. %cmake ..
  34. popd
  35. make %{?_smp_mflags} -C %{_target_platform}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} install
  39. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS COPYING.LIB ChangeLog README RELEASE THANKS TODO
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %defattr(-,root,root)
  50. %{_bindir}/*
  51. %{_includedir}/wv2/*
  52. %{_libdir}/*.so
  53. %{_libdir}/wvWare/*.cmake
  54. %changelog
  55. * Wed Nov 16 2016 Toshiaki Ara <ara_t@384.jp> 0.4.2-2
  56. - rebuild under VineSeed
  57. - add export CXXFLAGS="%%{optflags} `pkg-config libgsf-1 --cflags`"
  58. * Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.2-1
  59. - new upstream release
  60. - added %%post and %%postun section
  61. * Wed May 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.1-1
  62. - new upstream release
  63. - spec in UTF-8
  64. * Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-1
  65. - applied new versioning policy
  66. - removed lib*.la files
  67. * Sun May 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl4
  68. - rebuilt with new toolchain
  69. * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.3-0vl3
  70. - added --libdir=%%{_libdir} configure option
  71. * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2
  72. - rebuilt for VineSeed (4.0)
  73. * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl1
  74. - new upstream release (including security fix CVE-2006-2197)
  75. - added Japanese summary
  76. * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.2-0vl4
  77. - rebuild
  78. * Sun Mar 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl3
  79. - rebuild with libgsf-1.14.0
  80. * Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.2-0vl2
  81. - rebuild with libgsf-1.13.3
  82. * Sun Jul 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl1
  83. - source upgrade
  84. * Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.9-0vl1
  85. - source upgrade
  86. - build with gcc-3.2.3
  87. * Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.8-0vl1
  88. - source upgrade
  89. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1-0vl1
  90. - first release