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