198 lines
6.7 KiB
RPMSpec
198 lines
6.7 KiB
RPMSpec
#
|
|
# spec file for package libwpd (Version 0.8.12)
|
|
#
|
|
# 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: libwpd
|
|
BuildRequires: doxygen gcc-c++ libgsf-devel
|
|
License: LGPL v2.1 or later
|
|
Group: System/Libraries
|
|
AutoReqProv: on
|
|
Version: 0.8.12
|
|
Release: 1
|
|
Summary: Library for Importing WordPerfect (tm) Documents
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Url: http://libwpd.sourceforge.net
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
libwpd is a general purpose library for reading or interpreting data
|
|
from WordPerfect files. The library is not a stand-alone utility: it is
|
|
designed to be used by another program (for example, a word processor)
|
|
as an in-process component.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
William Lachance <william.lachance@sympatico.ca>
|
|
Marc Maurer <j.m.maurer@student.utwente.nl>
|
|
Fridrich Strba <fridrich.strba@bluewin.ch>
|
|
|
|
%package devel
|
|
Group: System/Libraries
|
|
Summary: Library for importing WordPerfect (tm) documents
|
|
Requires: %{name} = %{version} libstdc++-devel libgsf-devel glibc-devel glib2-devel
|
|
|
|
%description devel
|
|
libwpd is a general purpose library for reading (or, interpreting data
|
|
from) WordPerfect files. The library is not a stand-alone utility: it
|
|
is designed to be used by another program (e.g.: a word processor) as
|
|
an in-process component.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
William Lachance <william.lachance@sympatico.ca>
|
|
Marc Maurer <j.m.maurer@student.utwente.nl>
|
|
Fridrich Strba <fridrich.strba@bluewin.ch>
|
|
|
|
%package tools
|
|
Group: Productivity/Publishing/Word
|
|
Summary: Library for importing WordPerfect (tm) documents
|
|
Requires: %{name} = %{version} libstdc++-devel libgsf-devel glibc-devel glib2-devel
|
|
|
|
%description tools
|
|
Tools to transform WordPerfect Documents into other formats. Currently
|
|
supported: html, raw, text
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
William Lachance <william.lachance@sympatico.ca>
|
|
Marc Maurer <j.m.maurer@student.utwente.nl>
|
|
Fridrich Strba <fridrich.strba@bluewin.ch>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
touch AUTHORS ChangeLog NEWS ; autoreconf -f -i
|
|
%configure
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}
|
|
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
cp -p CHANGES COPYING CREDITS HACKING README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
chmod -x $RPM_BUILD_ROOT%{_docdir}/%{name}/html/* $RPM_BUILD_ROOT%{_docdir}/%{name}/*.png
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%run_ldconfig
|
|
|
|
%postun
|
|
%run_ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc %dir %{_docdir}/%{name}
|
|
%doc %{_docdir}/%{name}/[A-Z]*
|
|
%{_docdir}/%{name}/libwpd.png
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%doc %{_docdir}/%{name}/html
|
|
%doc %{_docdir}/%{name}/libwpd.dia
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.*a
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/libwpd-0.8
|
|
|
|
%files tools
|
|
%defattr (-, root, root)
|
|
%{_bindir}/*
|
|
|
|
%changelog
|
|
* Mon Nov 26 2007 - pmladek@suse.cz
|
|
- update to version 0.8.12:
|
|
- Convert Tab Set function for WP5 parser
|
|
- Basic conversion of tabulators and indents in WP3 parser
|
|
- Basic conversion of tabulators and indents in WP5 parser
|
|
- Convert the most usual Macintosh fonts from fontId to font name in
|
|
WP1 parser
|
|
- Fix compilation with the upcoming gcc 4.3
|
|
* Mon Oct 01 2007 - stbinner@suse.de
|
|
- update to version 0.8.11:
|
|
- Fix incorrect conversion of tables with cells spanning more
|
|
then 127 rows due to incorrect information in the file-format
|
|
- Fix incorrect reading of font name information in prefix packets
|
|
* Sun Jun 17 2007 - stbinner@suse.de
|
|
- update to version 0.8.10:
|
|
* Fix a locale dependency in our float to string conversion
|
|
* Enhance our reading of document meta data for WP6
|
|
* Fix some sillies and be gracious with documents with corrupted
|
|
prefix packets (Fridrich)
|
|
* Prevent the heuristic typedetection from throwing
|
|
* Add a new stream implementation based on C++ streams, rendering
|
|
libgsf dependency very optional; deprecate GSFInputStream
|
|
* Fri Mar 16 2007 - stbinner@suse.de
|
|
- update to version 0.8.9:
|
|
* Fix a bug in WP1 document type detection where we could try to
|
|
seek to a negative place in document (Fridrich)
|
|
* Fix a regression wrt. 0.8.7 preventing the conversion of tab table
|
|
in WP1 and WP3 file-format (Fridrich)
|
|
* Fixed several overflow bugs reported by iDefense. An attacker
|
|
could create a carefully crafted Word Perfect file that could
|
|
cause an application linked with libwpd, such as OpenOffice, to
|
|
crash or possibly execute arbitrary code if the file was opened
|
|
by a victim. (CVE-2007-0002) (iDefense's Sean Larsson, Fridrich)
|
|
* Sun Jan 14 2007 - dmueller@suse.de
|
|
- update to version 0.8.8:
|
|
* Add unit tests for the stream class
|
|
* Ignore foot/endnotes that are referenced inside other foot/endnotes
|
|
fixes http://www.openoffice.org/issues/show_bug.cgi?id=71487
|
|
* Handle graciously unsupported password-protected documents;
|
|
fixes http://www.openoffice.org/issues/show_bug.cgi?id=72307
|
|
* Remove some potential memory leaks in the WPXPropertyList class and optimize
|
|
the WPXPropertyList subscription operator
|
|
* Mon Dec 18 2006 - sbrabec@suse.cz
|
|
- Spec file cleanup.
|
|
* Tue Nov 07 2006 - ro@suse.de
|
|
- fix docu permissions
|
|
* Mon Oct 09 2006 - stbinner@suse.de
|
|
- update to version 0.8.7:
|
|
* Revert the alignment fix, in order to mimick the way WP for
|
|
Mac renders the documents
|
|
* Support for WP Mac 1.x documents
|
|
* Fix memory leak in standalone converters
|
|
* Miscellaneous code cleanups
|
|
* Mon Jul 17 2006 - stbinner@suse.de
|
|
- update to version 0.8.6:
|
|
* Initial support of WP Mac 2.x documents
|
|
* Initial conversion of headers/footers in WP42 parser
|
|
* General improvement of libwpd's conversion-success-rate and
|
|
extensive QA with more than 46'000 real life documents
|
|
* Thu Jun 01 2006 - stbinner@suse.de
|
|
- update to version 0.8.5
|
|
* adds header and footer conversion in WP5.x and WP3.x for
|
|
Macintosh file formats.
|
|
* adds support for footnotes and endnotes in WP5.x file format
|
|
* improves the conversion of page margins and corrects issues
|
|
with conversion of the position of tables and tabstops in
|
|
multicolumn sections
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Thu Dec 08 2005 - stbinner@suse.de
|
|
- update to version 0.8.4
|
|
* Wed Oct 19 2005 - sbrabec@suse.cz
|
|
- Package documentation.
|
|
- Split to subpackages.
|
|
* Sat Oct 08 2005 - coolo@suse.de
|
|
- make it build with gcc 4.1 (sent upstream)
|
|
* Tue Oct 04 2005 - stbinner@suse.de
|
|
- initial package of version 0.8.3
|