1 |
Name: wv |
2 |
Summary: MSWord 6/7/8/9 binary file format to HTML converter |
3 |
Version: 1.0.0 |
4 |
Release: 3%{?dist} |
5 |
Epoch: 0 |
6 |
License: GPL |
7 |
Group: Applications/Text |
8 |
URL: http://wvware.sourceforge.net |
9 |
Source: http://dl.sf.net/wvware/wv-1.0.0.tar.gz |
10 |
Patch0: wv-wvtext-tmp.patch |
11 |
Patch1: wv-wvdvi-copy.patch |
12 |
Patch2: wv-docbook-filename.patch |
13 |
# patch3: deal with filenames containing spaces |
14 |
Patch3: wv-wvmime-tmp-filename.patch |
15 |
Patch4: wv-field.c.patch |
16 |
|
17 |
#BuildRequires: XFree86-devel |
18 |
BuildRequires: glib2-devel |
19 |
BuildRequires: libjpeg-devel |
20 |
BuildRequires: libpng-devel |
21 |
BuildRequires: libxml2-devel |
22 |
BuildRequires: ImageMagick-devel |
23 |
BuildRequires: pkgconfig |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
25 |
Provides: wvware = %{epoch}:%{version}-%{release} |
26 |
Provides: wv-devel = %{epoch}:%{version}-%{release} |
27 |
|
28 |
%description |
29 |
Wv is a program that understands the Microsoft Word 6/7/8/9 |
30 |
binary file format and is able to convert Word |
31 |
documents into HTML, which can then be read with a browser. |
32 |
|
33 |
|
34 |
%prep |
35 |
%setup -q |
36 |
%patch0 |
37 |
%patch1 |
38 |
%patch2 |
39 |
%patch3 |
40 |
%patch4 |
41 |
|
42 |
|
43 |
%build |
44 |
%configure --with-exporter \ |
45 |
--with-libxml2 |
46 |
|
47 |
make %{?_smp_mflags} |
48 |
|
49 |
%install |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
%makeinstall |
52 |
|
53 |
#ln -sf wvConvert $RPM_BUILD_ROOT/%{_bindir}/wvText |
54 |
mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_datadir} |
55 |
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -exec rm -f {} \; |
56 |
|
57 |
%clean |
58 |
rm -rf $RPM_BUILD_ROOT |
59 |
|
60 |
%post -p /sbin/ldconfig |
61 |
|
62 |
%postun -p /sbin/ldconfig |
63 |
|
64 |
|
65 |
%files |
66 |
%defattr(-,root,root) |
67 |
%doc COPYING README |
68 |
%{_bindir}/wv* |
69 |
%{_datadir}/wv |
70 |
%{_includedir}/wv |
71 |
%{_mandir}/man1/* |
72 |
%{_libdir}/libwv* |
73 |
%{_libdir}/pkgconfig/* |
74 |
|
75 |
|
76 |
%changelog |
77 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
78 |
- Clean up spec so package can be built by koji/plague |
79 |
|
80 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
81 |
- Update to new release naming. No functional changes. |
82 |
- Make Packager generic |
83 |
|
84 |
* Wed Jul 28 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.3 |
85 |
- fix security vulnerability (CAN-2004-0645) |
86 |
|
87 |
* Fri May 14 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.2 |
88 |
- add several patches |
89 |
- depend on glib2 (bug 1592) |
90 |
|
91 |
* Wed May 12 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.1 |
92 |
- initial RPM (from Mandrake) |