[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 |
---|
[521] | 5 | Release: 1%{?_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 |
---|
[3151] | 38 | mkdir -p %{_target_platform} |
---|
| 39 | pushd %{_target_platform} |
---|
| 40 | %cmake .. |
---|
| 41 | popd |
---|
[521] | 42 | |
---|
[3151] | 43 | make %{?_smp_mflags} -C %{_target_platform} |
---|
[521] | 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
[3151] | 47 | make DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} install |
---|
[521] | 48 | |
---|
| 49 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | |
---|
[3151] | 54 | %post -p /sbin/ldconfig |
---|
| 55 | |
---|
| 56 | %postun -p /sbin/ldconfig |
---|
| 57 | |
---|
[521] | 58 | %files |
---|
| 59 | %defattr(-,root,root) |
---|
| 60 | %doc AUTHORS COPYING.LIB ChangeLog README RELEASE THANKS TODO |
---|
| 61 | %{_libdir}/*.so.* |
---|
| 62 | |
---|
| 63 | %files devel |
---|
| 64 | %defattr(-,root,root) |
---|
| 65 | %{_bindir}/* |
---|
| 66 | %{_includedir}/wv2/* |
---|
| 67 | %{_libdir}/*.so |
---|
[3151] | 68 | %{_libdir}/wvWare/*.cmake |
---|
[521] | 69 | |
---|
| 70 | %changelog |
---|
[3151] | 71 | * Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.2-1 |
---|
| 72 | - new upstream release |
---|
| 73 | - added %%post and %%postun section |
---|
| 74 | |
---|
[521] | 75 | * Wed May 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.1-1 |
---|
| 76 | - new upstream release |
---|
| 77 | - spec in UTF-8 |
---|
| 78 | |
---|
| 79 | * Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-1 |
---|
| 80 | - applied new versioning policy |
---|
| 81 | - removed lib*.la files |
---|
| 82 | |
---|
| 83 | * Sun May 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl4 |
---|
| 84 | - rebuilt with new toolchain |
---|
| 85 | |
---|
| 86 | * Sun Oct 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 0.2.3-0vl3 |
---|
| 87 | - added --libdir=%%{_libdir} configure option |
---|
| 88 | |
---|
| 89 | * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl2 |
---|
| 90 | - rebuilt for VineSeed (4.0) |
---|
| 91 | |
---|
| 92 | * Tue Aug 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-0vl1 |
---|
| 93 | - new upstream release (including security fix CVE-2006-2197) |
---|
| 94 | - added Japanese summary |
---|
| 95 | |
---|
| 96 | * Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.2-0vl4 |
---|
| 97 | - rebuild |
---|
| 98 | |
---|
| 99 | * Sun Mar 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl3 |
---|
| 100 | - rebuild with libgsf-1.14.0 |
---|
| 101 | |
---|
| 102 | * Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.2-0vl2 |
---|
| 103 | - rebuild with libgsf-1.13.3 |
---|
| 104 | |
---|
| 105 | * Sun Jul 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-0vl1 |
---|
| 106 | - source upgrade |
---|
| 107 | |
---|
| 108 | * Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.9-0vl1 |
---|
| 109 | - source upgrade |
---|
| 110 | - build with gcc-3.2.3 |
---|
| 111 | |
---|
| 112 | * Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1.8-0vl1 |
---|
| 113 | - source upgrade |
---|
| 114 | |
---|
| 115 | * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.1-0vl1 |
---|
| 116 | - first release |
---|