|
|
41fc1b |
%global apiversion 0.4
|
|
|
41fc1b |
|
|
|
41fc1b |
Name: libwps
|
|
|
41fc1b |
Version: 0.4.9
|
|
|
41fc1b |
Release: 1%{?dist}
|
|
|
41fc1b |
Summary: A library for import of Microsoft Works documents
|
|
|
41fc1b |
|
|
|
41fc1b |
License: LGPLv2+ or MPLv2.0
|
|
|
41fc1b |
URL: http://libwps.sourceforge.net/
|
|
|
41fc1b |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
|
|
41fc1b |
|
|
|
41fc1b |
BuildRequires: doxygen
|
|
|
41fc1b |
BuildRequires: gcc-c++
|
|
|
41fc1b |
BuildRequires: help2man
|
|
|
41fc1b |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
41fc1b |
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
41fc1b |
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
41fc1b |
|
|
|
41fc1b |
%description
|
|
|
41fc1b |
%{name} is a library for import of Microsoft Works text documents,
|
|
|
41fc1b |
spreadsheets and (in a limited way) databases. Full list of supported
|
|
|
41fc1b |
formats is available at
|
|
|
41fc1b |
https://sourceforge.net/p/libwps/wiki/Home/#recognized-formats .
|
|
|
41fc1b |
|
|
|
41fc1b |
%package devel
|
|
|
41fc1b |
Summary: Development files for %{name}
|
|
|
41fc1b |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
41fc1b |
|
|
|
41fc1b |
%description devel
|
|
|
41fc1b |
The %{name}-devel package contains libraries and header files for
|
|
|
41fc1b |
developing applications that use %{name}.
|
|
|
41fc1b |
|
|
|
41fc1b |
%package tools
|
|
|
41fc1b |
Summary: Tools to transform Microsoft Works documents into other formats
|
|
|
41fc1b |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
41fc1b |
|
|
|
41fc1b |
%description tools
|
|
|
41fc1b |
Tools to transform Microsoft Works documents into other formats.
|
|
|
41fc1b |
Currently supported: CSV, HTML, raw, text
|
|
|
41fc1b |
|
|
|
41fc1b |
%package doc
|
|
|
41fc1b |
Summary: Documentation of %{name} API
|
|
|
41fc1b |
BuildArch: noarch
|
|
|
41fc1b |
|
|
|
41fc1b |
%description doc
|
|
|
41fc1b |
The %{name}-doc package contains documentation files for %{name}
|
|
|
41fc1b |
|
|
|
41fc1b |
%prep
|
|
|
41fc1b |
%autosetup -p1
|
|
|
41fc1b |
|
|
|
41fc1b |
%build
|
|
|
41fc1b |
%configure --disable-silent-rules --disable-static --disable-werror
|
|
|
41fc1b |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
41fc1b |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
41fc1b |
make %{?_smp_mflags}
|
|
|
41fc1b |
|
|
|
41fc1b |
%install
|
|
|
41fc1b |
make install INSTALL="install -p" DESTDIR="%{buildroot}"
|
|
|
41fc1b |
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
41fc1b |
# we install API docs directly from build
|
|
|
41fc1b |
rm -rf %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
41fc1b |
|
|
|
41fc1b |
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
41fc1b |
for tool in wks2csv wks2raw wks2text wps2html wps2raw wps2text; do
|
|
|
41fc1b |
help2man -S '%{name} %{version}' -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
41fc1b |
done
|
|
|
41fc1b |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
41fc1b |
install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
41fc1b |
|
|
|
41fc1b |
%post -p /sbin/ldconfig
|
|
|
41fc1b |
%postun -p /sbin/ldconfig
|
|
|
41fc1b |
|
|
|
41fc1b |
%files
|
|
|
41fc1b |
%doc CREDITS NEWS README
|
|
|
41fc1b |
%license COPYING.LGPL COPYING.MPL
|
|
|
41fc1b |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
41fc1b |
|
|
|
41fc1b |
%files devel
|
|
|
41fc1b |
%{_includedir}/%{name}-%{apiversion}
|
|
|
41fc1b |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
41fc1b |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
41fc1b |
|
|
|
41fc1b |
%files tools
|
|
|
41fc1b |
%{_bindir}/wks2csv
|
|
|
41fc1b |
%{_bindir}/wks2raw
|
|
|
41fc1b |
%{_bindir}/wks2text
|
|
|
41fc1b |
%{_bindir}/wps2html
|
|
|
41fc1b |
%{_bindir}/wps2raw
|
|
|
41fc1b |
%{_bindir}/wps2text
|
|
|
41fc1b |
%{_mandir}/man1/wks2csv.1*
|
|
|
41fc1b |
%{_mandir}/man1/wks2raw.1*
|
|
|
41fc1b |
%{_mandir}/man1/wks2text.1*
|
|
|
41fc1b |
%{_mandir}/man1/wps2html.1*
|
|
|
41fc1b |
%{_mandir}/man1/wps2raw.1*
|
|
|
41fc1b |
%{_mandir}/man1/wps2text.1*
|
|
|
41fc1b |
|
|
|
41fc1b |
%files doc
|
|
|
41fc1b |
%license COPYING.LGPL COPYING.MPL
|
|
|
41fc1b |
%doc docs/doxygen/html
|
|
|
41fc1b |
|
|
|
41fc1b |
%changelog
|
|
|
41fc1b |
* Wed Apr 25 2018 David Tardon <dtardon@redhat.com> - 0.4.9-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Nov 27 2017 David Tardon <dtardon@redhat.com> - 0.4.8-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-3
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Jul 16 2017 David Tardon <dtardon@redhat.com> - 0.4.7-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Mar 20 2017 David Tardon <dtardon@redhat.com> - 0.4.6-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-3
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.4.5-2
|
|
|
41fc1b |
- Rebuilt for Boost 1.63
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jan 11 2017 David Tardon <dtardon@redhat.com> - 0.4.5-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Oct 17 2016 David Tardon <dtardon@redhat.com> - 0.4.4-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Feb 14 2016 David Tardon <dtardon@redhat.com> - 0.4.3-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-3
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.4.2-2
|
|
|
41fc1b |
- Rebuilt for Boost 1.60
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Oct 06 2015 David Tardon <dtardon@redhat.com> - 0.4.2-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.4.1-2
|
|
|
41fc1b |
- Rebuilt for Boost 1.59
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Aug 25 2015 David Tardon <dtardon@redhat.com> - 0.4.1-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.4.0-3
|
|
|
41fc1b |
- rebuild for Boost 1.58
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat May 16 2015 David Tardon <dtardon@redhat.com> - 0.4.0-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.3.1-3
|
|
|
41fc1b |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.3.1-2
|
|
|
41fc1b |
- Rebuild for boost 1.57.0
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Dec 30 2014 David Tardon <dtardon@redhat.com> - 0.3.1-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.3.0-1
|
|
|
41fc1b |
- new upstream release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.2.9-8
|
|
|
41fc1b |
- Rebuild for boost 1.55.0
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.2.9-7
|
|
|
41fc1b |
- generate man pages
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Sep 09 2013 David Tardon <dtardon@redhat.com> - 0.2.9-6
|
|
|
41fc1b |
- Resolves: rhbz#1005711 do not compile in C++11 mode
|
|
|
41fc1b |
|
|
|
41fc1b |
* Mon Aug 19 2013 David Tardon <dtardon@redhat.com> - 0.2.9-5
|
|
|
41fc1b |
- Resolves: rhbz#98166 Duplicated documentation
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.9-4
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu May 30 2013 David Tardon <dtardon@redhat.com> - 0.2.9-3
|
|
|
41fc1b |
- drop build req. on cppunit
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu May 30 2013 David Tardon <dtardon@redhat.com> - 0.2.9-2
|
|
|
41fc1b |
- libwps does not have any test suite
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat May 25 2013 David Tardon <dtardon@redhat.com> - 0.2.9-1
|
|
|
41fc1b |
- new release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Apr 21 2013 David Tardon <dtardon@redhat.com> - 0.2.8-1
|
|
|
41fc1b |
- new release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Apr 16 2013 Caolán McNamara <caolanm@redhat.com> - 0.2.7-5
|
|
|
41fc1b |
- Resolves: rhbz#925931 support aarch64
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Jul 27 2012 David Tardon <dtardon@redhat.com> - 0.2.7-3
|
|
|
41fc1b |
- rebuilt for boost 1.50
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Jun 29 2012 David Tardon <dtardon@redhat.com> - 0.2.7-1
|
|
|
41fc1b |
- new release
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
|
|
|
41fc1b |
- Rebuilt for c++ ABI breakage
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Thu Dec 01 2011 David Tardon <dtardon@redhat.com> - 0.2.4-1
|
|
|
41fc1b |
- latest version
|
|
|
41fc1b |
|
|
|
41fc1b |
* Fri Nov 18 2011 David Tardon <dtardon@redhat.com> - 0.2.3-1
|
|
|
41fc1b |
- latest version
|
|
|
41fc1b |
- remove obsoleted patch
|
|
|
41fc1b |
|
|
|
41fc1b |
* Wed Jul 13 2011 David Tardon <dtardon@redhat.com> - 0.2.2-1
|
|
|
41fc1b |
- latest version
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Jun 28 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.2.0-3
|
|
|
41fc1b |
- Remove -Werror from CFLAGS/CXXFLAGS (Add libwps-0.2.0-werror.patch)
|
|
|
41fc1b |
(Fix FTBFS BZ#715767).
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Dec 05 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.0-1
|
|
|
41fc1b |
- latest version
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat Jan 30 2010 Chen Lei <supercyper@163.com> - 0.1.2-7
|
|
|
41fc1b |
- Add noarch to -doc subpackage
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-6
|
|
|
41fc1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Mar 10 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-5
|
|
|
41fc1b |
- Correct DOC issues (again) RHBZ: #484933 / C14
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-4
|
|
|
41fc1b |
- Correct path for CHECK section
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-3
|
|
|
41fc1b |
- Add CHECK section
|
|
|
41fc1b |
- Add cppunit-devel to BuildRequires
|
|
|
41fc1b |
|
|
|
41fc1b |
* Sun Feb 15 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-2
|
|
|
41fc1b |
- Correct DOC issues
|
|
|
41fc1b |
- Delete wrong pkgconfig pathes
|
|
|
41fc1b |
|
|
|
41fc1b |
* Tue Feb 10 2009 Simon Wesp <cassmodiah@fedoraproject.org> - 0.1.2-1
|
|
|
41fc1b |
- Initial Package build
|