2007-01-16 00:41:34 +01:00
|
|
|
#
|
2007-01-18 01:48:25 +01:00
|
|
|
# spec file for package wv (Version 1.2.2)
|
2007-01-16 00:41:34 +01:00
|
|
|
#
|
2009-06-19 00:22:39 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:41:34 +01:00
|
|
|
#
|
2009-06-19 00:22:39 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:41:34 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-07-09 02:00:29 +02:00
|
|
|
|
2007-01-16 00:41:34 +01:00
|
|
|
Name: wv
|
2007-01-18 01:48:25 +01:00
|
|
|
BuildRequires: glib2-devel libgsf-devel libtiff-devel libwmf-devel libxml2-devel pkgconfig
|
2007-01-16 00:41:34 +01:00
|
|
|
Obsoletes: mswordvw
|
|
|
|
Provides: mswordvw
|
2008-07-09 02:00:29 +02:00
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
2007-01-16 00:41:34 +01:00
|
|
|
Group: Productivity/Publishing/Word
|
2008-07-09 02:00:29 +02:00
|
|
|
AutoReqProv: on
|
2007-01-18 01:48:25 +01:00
|
|
|
Version: 1.2.2
|
2009-06-19 00:22:39 +02:00
|
|
|
Release: 215
|
2008-07-09 02:00:29 +02:00
|
|
|
Summary: Library and Tools for Importing Microsoft Word (tm) Documents
|
|
|
|
Url: http://wvWare.sourceforge.net/
|
2007-01-18 01:48:25 +01:00
|
|
|
Source: wv-%{version}.tar.gz
|
|
|
|
Patch: wv-1.2.2-automake.patch
|
|
|
|
Patch5: wv-1.0.3-wvText.patch
|
|
|
|
Patch7: wv-1.0.3-pc.patch
|
|
|
|
Patch8: wv-1.2.2-overflow.patch
|
2007-01-16 00:41:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-18 01:48:25 +01:00
|
|
|
Requires: w3m
|
2007-01-16 00:41:34 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
WV is a program that can understand the Microsoft Word 8 binary file
|
|
|
|
format (Office97). It currently converts Word into HTML, which can then
|
|
|
|
be read with a web browser.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Caolan McNamara <Caolan.McNamara@ul.ie>
|
|
|
|
|
|
|
|
%package devel
|
2008-07-09 02:00:29 +02:00
|
|
|
License: GPL v2 or later
|
|
|
|
Requires: %{name} = %{version} libgsf-devel libwmf-devel
|
2007-01-16 00:41:34 +01:00
|
|
|
Obsoletes: mswordvd
|
|
|
|
Provides: mswordvd
|
|
|
|
Summary: Static Libraries and Header Files for wv
|
|
|
|
Group: Development/Libraries/C and C++
|
2008-07-09 02:00:29 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:41:34 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Static Libraries and Header Files for wv
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Caolan McNamara <Caolan.McNamara@ul.ie>
|
|
|
|
|
|
|
|
%prep
|
2008-07-09 02:00:29 +02:00
|
|
|
%setup -q
|
2007-01-18 01:48:25 +01:00
|
|
|
%patch
|
2007-01-16 00:41:34 +01:00
|
|
|
%patch5
|
|
|
|
%patch7
|
|
|
|
%patch8
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i --verbose
|
|
|
|
%define warn_flags -Wall -Wstrict-prototypes -Wpointer-arith -Wformat -Wformat-security
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS %{warn_flags} -fno-strict-aliasing -fstack-protector" \
|
2008-07-09 02:00:29 +02:00
|
|
|
%configure --with-libwmf --with-expat --disable-dependency-tracking --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:41:34 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT manonedir=%{_mandir}/man1 install
|
2008-07-09 02:00:29 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:41:34 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-07-09 02:00:29 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:41:34 +01:00
|
|
|
|
2008-07-09 02:00:29 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:41:34 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/wvAbw
|
|
|
|
/usr/bin/wvCleanLatex
|
|
|
|
/usr/bin/wvConvert
|
|
|
|
/usr/bin/wvDVI
|
|
|
|
/usr/bin/wvHtml
|
|
|
|
/usr/bin/wvLatex
|
|
|
|
/usr/bin/wvMime
|
|
|
|
/usr/bin/wvPDF
|
|
|
|
/usr/bin/wvPS
|
|
|
|
/usr/bin/wvRTF
|
|
|
|
/usr/bin/wvSummary
|
|
|
|
/usr/bin/wvText
|
|
|
|
/usr/bin/wvVersion
|
|
|
|
/usr/bin/wvWare
|
|
|
|
/usr/bin/wvWml
|
|
|
|
/usr/bin/wvDocBook
|
|
|
|
/usr/share/wv
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%doc %{_mandir}/*/*
|
|
|
|
%doc COPYING README
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-07-09 02:00:29 +02:00
|
|
|
%_libdir/pkgconfig/*
|
2007-01-16 00:41:34 +01:00
|
|
|
/usr/include/wv
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
2008-07-09 02:00:29 +02:00
|
|
|
%changelog
|
|
|
|
* Fri Jun 27 2008 crrodriguez@suse.de
|
|
|
|
- disable unusable static libraries
|
|
|
|
* Wed Jan 17 2007 joeshaw@suse.de
|
2007-01-18 01:48:25 +01:00
|
|
|
- Update to 1.2.2. It requires libgsf and glib2 now, and I've
|
|
|
|
updated some patches and dropepd others.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Nov 15 2006 prusnak@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed VUL-0: overflow (overflow.patch) [#215612]
|
2009-06-19 00:22:39 +02:00
|
|
|
* Sat Oct 21 2006 dmueller@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- build against system expat to reduce code size
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Jan 26 2006 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed libdir in pkgconfig file [#115679]
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Jan 12 2006 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- compile with -fstack-protector
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Aug 04 2005 gekker@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Fix to open files RO rather than RW
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Feb 07 2005 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- updated to 1.0.3
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Nov 11 2004 sbrabec@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- Fixed buffer overflow in the wvHandleDateTimePicture function in wv
|
|
|
|
library: CAN-2004-0645 (#47767).
|
2008-07-09 02:00:29 +02:00
|
|
|
* Tue Mar 30 2004 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- prefer w3m in wvText as it handles UTF-8 output better
|
|
|
|
- better temp file handling in wvText
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri Feb 13 2004 meissner@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed pkgconfig path.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Feb 12 2004 ro@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- added directory /usr/include/wv to devel filelist
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Feb 11 2004 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- updated to 1.0.0
|
|
|
|
- compile with -fno-strict-aliasing
|
2008-07-09 02:00:29 +02:00
|
|
|
* Sat Jan 10 2004 adrian@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- add %%run_ldconfig
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Jul 28 2003 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- updated to 0.7.6
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Jun 18 2003 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile with new libwmf
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu May 29 2003 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- packaged wv.h
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Sep 11 2002 ro@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed patch (my fault)
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Sep 11 2002 pthomas@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Make wvText output to stdout on request.
|
|
|
|
- Add missing itmes to my last entry.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Sep 11 2002 ro@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed requires of devel-package
|
2008-07-09 02:00:29 +02:00
|
|
|
* Tue Sep 10 2002 pthomas@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Change wvText to use either w3m or lynx.
|
|
|
|
- wv-devel requires wv of same version.
|
|
|
|
- Require w3m
|
|
|
|
- Filter out /usr/include from CPPFLAGS.
|
|
|
|
- Don't patch config.h.in but instead call autoheader to
|
|
|
|
regenerate it.
|
2009-06-19 00:22:39 +02:00
|
|
|
* Fri Jul 26 2002 adrian@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- fix neededforbuild
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Jun 20 2002 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.7.2
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri Apr 05 2002 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed instalation of manpages
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Apr 04 2002 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile with new autoconf
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri Mar 08 2002 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed permissions and removed CVS dirs in doc directory
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Feb 07 2002 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.7.1:
|
|
|
|
- built with shared library
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Nov 28 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.7.0:
|
|
|
|
- compiles with libwmf 0.2.2
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Jun 28 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.6.5
|
|
|
|
- libwmf is now a separate package
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Jun 13 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile with new autoconf
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri May 18 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed cast warnings and include files for ia64
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Apr 23 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile on s390
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Mar 12 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- libwmf compiled with -fPIC, now it can be linked to
|
|
|
|
ImageMagick module
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Feb 08 2001 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update wv to 0.6.4, libwmf to 0.1.21
|
|
|
|
- fixed bug #6165
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Nov 22 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed docdir name
|
2008-07-09 02:00:29 +02:00
|
|
|
* Tue Nov 21 2000 schwab@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Fix permissions.
|
|
|
|
- Remove all CVS directories.
|
|
|
|
- Avoid double slashes.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri Nov 10 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- rename mswordvw -> wv
|
|
|
|
- mswordvd -> wv-devel
|
|
|
|
- update wv to 0.6.2, libwmf to 0.1.20
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Nov 08 2000 ro@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed neededforbuild for ImageMagick
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Oct 09 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed Copyright
|
|
|
|
- used bzip2
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Sep 18 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- added magickd to neededforbuild
|
|
|
|
- fixed to compile
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Jun 19 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.5.44
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Jun 05 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile with ImageMagick-5.2.0
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri May 26 2000 schwab@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Update config files.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu May 18 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- used %%{_defaultdocdir}
|
2008-07-09 02:00:29 +02:00
|
|
|
* Tue May 02 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed to compile
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Apr 20 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- fixed filelist
|
|
|
|
- created development subpackage mswordvd
|
2008-07-09 02:00:29 +02:00
|
|
|
* Tue Apr 18 2000 nadvornik@suse.cz
|
2007-01-16 00:41:34 +01:00
|
|
|
- update to 0.5.43, libwmf 0.1.17
|
|
|
|
- added Buildroot
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Jan 31 2000 kukuk@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Update to 0.5.14-bw6
|
|
|
|
- Fix spec file
|
|
|
|
- Move /usr/man -> /usr/share/man
|
2008-07-09 02:00:29 +02:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-07-09 02:00:29 +02:00
|
|
|
* Wed Aug 04 1999 uli@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- added some missing files
|
2008-07-09 02:00:29 +02:00
|
|
|
* Fri May 21 1999 kukuk@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- Update mswordview to 0.5.14
|
2008-07-09 02:00:29 +02:00
|
|
|
* Thu Apr 29 1999 kukuk@suse.de
|
2007-01-16 00:41:34 +01:00
|
|
|
- first initial version of mswordview 0.5.10 with libwmf 0.1.9
|