Group :: Office
RPM: wv
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: wv
Version: 1.0.3
Release: alt2
%def_disable static
Summary: MSWord 6/7/8/9 binary file -> open format converters
License: GPL
Group: Office
Url: http://www.wvWare.com/
Requires: lib%name = %version-%release
Obsoletes: mswordview
Conflicts: wv-tetex
Source: http://prdownloads.sourceforge.net/wvware/%name-%version.tar.bz2
Prefix: %prefix
# Manually removed: gcc-c++ libstdc++-devel
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: common-licenses freetype2-devel glib2-devel libexpat-devel libjpeg-devel libpng-devel libwmf-devel pkgconfig xorg-x11-devel xorg-x11-libs zlib-devel
BuildRequires: autoconf >= 2.5
%package print
Summary: MSWord 6/7/8/9 binary file -> open format converters (print friendly)
Group: Office
Requires: %name = %version-%release
Requires: tetex-dvips tetex-latex
Provides: wv-tetex
Obsoletes: wv-tetex
%package -n lib%name
Summary: MSWord 6/7/8/9 binary file -> open format converters (shared library)
Group: Office
%package -n lib%name-devel
Summary: MSWord 6/7/8/9 binary file -> open format converters (development)
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%if_enabled static
%package -n lib%name-devel-static
Summary: MSWord 6/7/8/9 binary file -> open format converters (static libraries)
Group: Development/C
Requires: lib%name-devel = %version-%release
%endif # enabled static
%description
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
%description print
Tetex-dependent converters for Microsoft Word 6/7/8/9 from the Wv family.
These can convert Word documents into DVI, PostScript and PDF.
%description -n lib%name
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This package contains libwv, the Wv shared library.
%description -n lib%name-devel
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This is the development package for libwv, the Wv shared library.
%if_enabled static
%description -n lib%name-devel-static
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This package contains the libwv.a static library.
%endif # enabled static
%prep
%setup -q
rm -f COPYING
ln -s %_licensedir/GPL-2 COPYING
#bzip2 -9k CHANGELOG
%build
%__aclocal
%__automake --foreign -a -c
%__autoconf
%configure \
--with-expat \
--with-glib \
--with-libwmf \
%{subst_enable static}
%make_build
%install
%makeinstall
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc --no-dereference COPYING
%doc README
%_bindir/wvAbw
%_bindir/wvCleanLatex
%_bindir/wvConvert
%_bindir/wvDocBook
%_bindir/wvHtml
%_bindir/wvLatex
%_bindir/wvRTF
%_bindir/wvSummary
%_bindir/wvText
%_bindir/wvVersion
%_bindir/wvWare
%_bindir/wvWml
%_datadir/wv
%_man1dir/wvAbw.1*
%_man1dir/wvCleanLatex.1*
%_man1dir/wvHtml.1*
%_man1dir/wvLatex.1*
%_man1dir/wvRTF.1*
%_man1dir/wvSummary.1*
%_man1dir/wvText.1*
%_man1dir/wvVersion.1*
%_man1dir/wvWare.1*
%_man1dir/wvWml.1*
%files print
%_bindir/wvDVI
%_bindir/wvMime
%_bindir/wvPDF
%_bindir/wvPS
%_man1dir/wvDVI.1*
%_man1dir/wvMime.1*
%_man1dir/wvPDF.1*
%_man1dir/wvPS.1*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
Version: 1.0.3
Release: alt2
%def_disable static
Summary: MSWord 6/7/8/9 binary file -> open format converters
License: GPL
Group: Office
Url: http://www.wvWare.com/
Requires: lib%name = %version-%release
Obsoletes: mswordview
Conflicts: wv-tetex
Source: http://prdownloads.sourceforge.net/wvware/%name-%version.tar.bz2
Prefix: %prefix
# Manually removed: gcc-c++ libstdc++-devel
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: common-licenses freetype2-devel glib2-devel libexpat-devel libjpeg-devel libpng-devel libwmf-devel pkgconfig xorg-x11-devel xorg-x11-libs zlib-devel
BuildRequires: autoconf >= 2.5
%package print
Summary: MSWord 6/7/8/9 binary file -> open format converters (print friendly)
Group: Office
Requires: %name = %version-%release
Requires: tetex-dvips tetex-latex
Provides: wv-tetex
Obsoletes: wv-tetex
%package -n lib%name
Summary: MSWord 6/7/8/9 binary file -> open format converters (shared library)
Group: Office
%package -n lib%name-devel
Summary: MSWord 6/7/8/9 binary file -> open format converters (development)
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel
Obsoletes: %name-devel
%if_enabled static
%package -n lib%name-devel-static
Summary: MSWord 6/7/8/9 binary file -> open format converters (static libraries)
Group: Development/C
Requires: lib%name-devel = %version-%release
%endif # enabled static
%description
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
%description print
Tetex-dependent converters for Microsoft Word 6/7/8/9 from the Wv family.
These can convert Word documents into DVI, PostScript and PDF.
%description -n lib%name
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This package contains libwv, the Wv shared library.
%description -n lib%name-devel
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This is the development package for libwv, the Wv shared library.
%if_enabled static
%description -n lib%name-devel-static
Wv is a family of programs that understand the Microsoft Word 6/7/8/9
binary file format and are able to convert Word
documents into various open formats.
This package contains the libwv.a static library.
%endif # enabled static
%prep
%setup -q
rm -f COPYING
ln -s %_licensedir/GPL-2 COPYING
#bzip2 -9k CHANGELOG
%build
%__aclocal
%__automake --foreign -a -c
%__autoconf
%configure \
--with-expat \
--with-glib \
--with-libwmf \
%{subst_enable static}
%make_build
%install
%makeinstall
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files
%doc --no-dereference COPYING
%doc README
%_bindir/wvAbw
%_bindir/wvCleanLatex
%_bindir/wvConvert
%_bindir/wvDocBook
%_bindir/wvHtml
%_bindir/wvLatex
%_bindir/wvRTF
%_bindir/wvSummary
%_bindir/wvText
%_bindir/wvVersion
%_bindir/wvWare
%_bindir/wvWml
%_datadir/wv
%_man1dir/wvAbw.1*
%_man1dir/wvCleanLatex.1*
%_man1dir/wvHtml.1*
%_man1dir/wvLatex.1*
%_man1dir/wvRTF.1*
%_man1dir/wvSummary.1*
%_man1dir/wvText.1*
%_man1dir/wvVersion.1*
%_man1dir/wvWare.1*
%_man1dir/wvWml.1*
%files print
%_bindir/wvDVI
%_bindir/wvMime
%_bindir/wvPDF
%_bindir/wvPS
%_man1dir/wvDVI.1*
%_man1dir/wvMime.1*
%_man1dir/wvPDF.1*
%_man1dir/wvPS.1*
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here