254 lines
7.2 KiB
RPMSpec
254 lines
7.2 KiB
RPMSpec
#
|
|
# spec file for package wv (Version 1.2.2)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: wv
|
|
BuildRequires: glib2-devel libgsf-devel libtiff-devel libwmf-devel libxml2-devel pkgconfig
|
|
Obsoletes: mswordvw
|
|
Provides: mswordvw
|
|
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|
Group: Productivity/Publishing/Word
|
|
Autoreqprov: on
|
|
Version: 1.2.2
|
|
Release: 1
|
|
Summary: Word 8 Converter for Unix
|
|
URL: http://wvWare.sourceforge.net/
|
|
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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: w3m
|
|
|
|
%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
|
|
Requires: %{name} = %{version}
|
|
Requires: bzip2 glib2-devel libgsf-devel libwmf-devel
|
|
Obsoletes: mswordvd
|
|
Provides: mswordvd
|
|
Summary: Static Libraries and Header Files for wv
|
|
Group: Development/Libraries/C and C++
|
|
Autoreqprov: on
|
|
|
|
%description devel
|
|
Static Libraries and Header Files for wv
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Caolan McNamara <Caolan.McNamara@ul.ie>
|
|
|
|
%prep
|
|
%setup
|
|
%patch
|
|
%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" \
|
|
./configure \
|
|
--prefix=/usr --mandir=%{_mandir} --with-libwmf --with-expat \
|
|
--libdir=%{_libdir} \
|
|
--disable-dependency-tracking $RPM_ARCH-suse-linux
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT manonedir=%{_mandir}/man1 install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%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)
|
|
/usr/%_lib/pkgconfig/*
|
|
/usr/include/wv
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
%{_libdir}/*.so
|
|
|
|
%changelog -n wv
|
|
* Wed Jan 17 2007 - joeshaw@suse.de
|
|
- Update to 1.2.2. It requires libgsf and glib2 now, and I've
|
|
updated some patches and dropepd others.
|
|
* Wed Nov 15 2006 - prusnak@suse.cz
|
|
- fixed VUL-0: overflow (overflow.patch) [#215612]
|
|
* Sat Oct 21 2006 - dmueller@suse.de
|
|
- build against system expat to reduce code size
|
|
* Thu Jan 26 2006 - nadvornik@suse.cz
|
|
- fixed libdir in pkgconfig file [#115679]
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Thu Jan 12 2006 - nadvornik@suse.cz
|
|
- compile with -fstack-protector
|
|
* Thu Aug 04 2005 - gekker@suse.de
|
|
- Fix to open files RO rather than RW
|
|
* Mon Feb 07 2005 - nadvornik@suse.cz
|
|
- updated to 1.0.3
|
|
* Thu Nov 11 2004 - sbrabec@suse.cz
|
|
- Fixed buffer overflow in the wvHandleDateTimePicture function in wv
|
|
library: CAN-2004-0645 (#47767).
|
|
* Tue Mar 30 2004 - nadvornik@suse.cz
|
|
- prefer w3m in wvText as it handles UTF-8 output better
|
|
- better temp file handling in wvText
|
|
* Fri Feb 13 2004 - meissner@suse.de
|
|
- fixed pkgconfig path.
|
|
* Thu Feb 12 2004 - ro@suse.de
|
|
- added directory /usr/include/wv to devel filelist
|
|
* Wed Feb 11 2004 - nadvornik@suse.cz
|
|
- updated to 1.0.0
|
|
- compile with -fno-strict-aliasing
|
|
* Sat Jan 10 2004 - adrian@suse.de
|
|
- add %%run_ldconfig
|
|
* Mon Jul 28 2003 - nadvornik@suse.cz
|
|
- updated to 0.7.6
|
|
* Wed Jun 18 2003 - nadvornik@suse.cz
|
|
- fixed to compile with new libwmf
|
|
* Thu May 29 2003 - nadvornik@suse.cz
|
|
- packaged wv.h
|
|
* Wed Sep 11 2002 - ro@suse.de
|
|
- fixed patch (my fault)
|
|
* Wed Sep 11 2002 - pthomas@suse.de
|
|
- Make wvText output to stdout on request.
|
|
- Add missing itmes to my last entry.
|
|
* Wed Sep 11 2002 - ro@suse.de
|
|
- fixed requires of devel-package
|
|
* Tue Sep 10 2002 - pthomas@suse.de
|
|
- 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.
|
|
* Fri Jul 26 2002 - adrian@suse.de
|
|
- fix neededforbuild
|
|
* Thu Jun 20 2002 - nadvornik@suse.cz
|
|
- update to 0.7.2
|
|
* Fri Apr 05 2002 - nadvornik@suse.cz
|
|
- fixed instalation of manpages
|
|
* Thu Apr 04 2002 - nadvornik@suse.cz
|
|
- fixed to compile with new autoconf
|
|
* Fri Mar 08 2002 - nadvornik@suse.cz
|
|
- fixed permissions and removed CVS dirs in doc directory
|
|
* Thu Feb 07 2002 - nadvornik@suse.cz
|
|
- update to 0.7.1:
|
|
- built with shared library
|
|
* Fri Feb 01 2002 - ro@suse.de
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
|
* Wed Nov 28 2001 - nadvornik@suse.cz
|
|
- update to 0.7.0:
|
|
- compiles with libwmf 0.2.2
|
|
* Thu Jun 28 2001 - nadvornik@suse.cz
|
|
- update to 0.6.5
|
|
- libwmf is now a separate package
|
|
* Wed Jun 13 2001 - nadvornik@suse.cz
|
|
- fixed to compile with new autoconf
|
|
* Fri May 18 2001 - nadvornik@suse.cz
|
|
- fixed cast warnings and include files for ia64
|
|
* Mon Apr 23 2001 - nadvornik@suse.cz
|
|
- fixed to compile on s390
|
|
* Mon Mar 12 2001 - nadvornik@suse.cz
|
|
- libwmf compiled with -fPIC, now it can be linked to
|
|
ImageMagick module
|
|
* Thu Feb 08 2001 - nadvornik@suse.cz
|
|
- update wv to 0.6.4, libwmf to 0.1.21
|
|
- fixed bug #6165
|
|
* Wed Nov 22 2000 - nadvornik@suse.cz
|
|
- fixed docdir name
|
|
* Tue Nov 21 2000 - schwab@suse.de
|
|
- Fix permissions.
|
|
- Remove all CVS directories.
|
|
- Avoid double slashes.
|
|
* Fri Nov 10 2000 - nadvornik@suse.cz
|
|
- rename mswordvw -> wv
|
|
- mswordvd -> wv-devel
|
|
- update wv to 0.6.2, libwmf to 0.1.20
|
|
* Wed Nov 08 2000 - ro@suse.de
|
|
- fixed neededforbuild for ImageMagick
|
|
* Mon Oct 09 2000 - nadvornik@suse.cz
|
|
- fixed Copyright
|
|
- used bzip2
|
|
* Mon Sep 18 2000 - nadvornik@suse.cz
|
|
- added magickd to neededforbuild
|
|
- fixed to compile
|
|
* Mon Jun 19 2000 - nadvornik@suse.cz
|
|
- update to 0.5.44
|
|
* Mon Jun 05 2000 - nadvornik@suse.cz
|
|
- fixed to compile with ImageMagick-5.2.0
|
|
* Fri May 26 2000 - schwab@suse.de
|
|
- Update config files.
|
|
* Thu May 18 2000 - nadvornik@suse.cz
|
|
- used %%{_defaultdocdir}
|
|
* Tue May 02 2000 - nadvornik@suse.cz
|
|
- fixed to compile
|
|
* Thu Apr 20 2000 - nadvornik@suse.cz
|
|
- fixed filelist
|
|
- created development subpackage mswordvd
|
|
* Tue Apr 18 2000 - nadvornik@suse.cz
|
|
- update to 0.5.43, libwmf 0.1.17
|
|
- added Buildroot
|
|
* Mon Jan 31 2000 - kukuk@suse.de
|
|
- Update to 0.5.14-bw6
|
|
- Fix spec file
|
|
- Move /usr/man -> /usr/share/man
|
|
* Mon Sep 13 1999 - bs@suse.de
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
* Wed Aug 04 1999 - uli@suse.de
|
|
- added some missing files
|
|
* Fri May 21 1999 - kukuk@suse.de
|
|
- Update mswordview to 0.5.14
|
|
* Thu Apr 29 1999 - kukuk@suse.de
|
|
- first initial version of mswordview 0.5.10 with libwmf 0.1.9
|