119 lines
3 KiB
RPMSpec
119 lines
3 KiB
RPMSpec
Name: wv
|
|
Summary: MSWord 6/7/8/9 binary file format to HTML converter
|
|
Version: 1.2.0
|
|
Release: 3%{?dist}
|
|
License: GPL
|
|
Group: Applications/Text
|
|
URL: http://wvware.sourceforge.net
|
|
Source: http://dl.sf.net/wvware/wv-1.2.0.tar.gz
|
|
#Patch0: wv-wvtext-tmp.patch
|
|
#Patch1: wv-1.0.3-oledecod.patch
|
|
#Patch2: wv-1.0.3-gcc4.patch
|
|
Patch5: wv-1.0.0-rhbug150461.patch
|
|
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: ImageMagick-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: libgsf-devel >= 1.11.2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Provides: wvware = %{version}-%{release}
|
|
|
|
%description
|
|
Wv is a program that understands the Microsoft Word 6/7/8/9
|
|
binary file format and is able to convert Word
|
|
documents into HTML, which can then be read with a browser.
|
|
|
|
|
|
%package devel
|
|
Summary: MSWord format converter - development files
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Wv is a program that understands the Microsoft Word 6/7/8/9
|
|
binary file format and is able to convert Word
|
|
documents into HTML, which can then be read with a browser.
|
|
This package contains the development files
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0
|
|
#%patch1 -p1 -b .oledecod
|
|
#%patch2 -p1 -b .gcc4
|
|
%patch5 -p1 -b .printf-rhbug150461
|
|
|
|
|
|
%build
|
|
%configure --with-exporter \
|
|
--with-libxml2 \
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
#ln -sf wvConvert $RPM_BUILD_ROOT/%{_bindir}/wvText
|
|
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -exec rm -f {} \;
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING README
|
|
%{_bindir}/wv*
|
|
%{_datadir}/wv
|
|
%{_mandir}/man1/*
|
|
%{_libdir}/libwv*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/wv
|
|
%{_libdir}/libwv*.so
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 22 2006 Aurelien Bompard <gauret[AT]free.fr> 1.2.0-3
|
|
- don't build the static lib
|
|
|
|
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 1.2.0-2
|
|
- rebuild for FC5
|
|
|
|
* Fri Nov 11 2005 Aurelien Bompard <gauret[AT]free.fr> 1.2.0-1
|
|
- version 1.2.0
|
|
|
|
* Fri Oct 28 2005 Aurelien Bompard <gauret[AT]free.fr> 1.0.3-2
|
|
- split out a -devel package (#171962)
|
|
|
|
* Sun May 15 2005 Aurelien Bompard <gauret[AT]free.fr> 1.0.3-1%{?dist}
|
|
- new version
|
|
- fix build with gcc4
|
|
- use dist tag
|
|
|
|
* Tue May 10 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.0-5
|
|
- Include printf format fix for bug 150461.
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
- rebuilt
|
|
|
|
* Wed Jul 28 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.3
|
|
- fix security vulnerability (CAN-2004-0645)
|
|
|
|
* Fri May 14 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.2
|
|
- add several patches
|
|
- depend on glib2 (bug 1592)
|
|
|
|
* Wed May 12 2004 Aurelien Bompard <gauret[AT]free.fr> 0:1.0.0-0.fdr.1
|
|
- initial RPM (from Mandrake)
|