29111a
%global apiversion 0.1
29111a
29111a
Name: libetonyek
29111a
Version: 0.1.8
29111a
Release: 1%{?dist}
29111a
Summary: A library for import of Apple iWork documents
29111a
29111a
License: MPLv2.0
29111a
URL: http://wiki.documentfoundation.org/DLP/Libraries/libetonyek
29111a
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
29111a
29111a
BuildRequires: boost-devel
29111a
BuildRequires: doxygen
29111a
BuildRequires: gcc-c++
29111a
BuildRequires: glm-devel
29111a
BuildRequires: gperf
29111a
BuildRequires: help2man
29111a
BuildRequires: pkgconfig(cppunit)
29111a
BuildRequires: pkgconfig(liblangtag)
29111a
BuildRequires: pkgconfig(librevenge-0.0)
29111a
BuildRequires: pkgconfig(librevenge-generators-0.0)
29111a
BuildRequires: pkgconfig(librevenge-stream-0.0)
29111a
BuildRequires: pkgconfig(libxml-2.0)
29111a
BuildRequires: pkgconfig(mdds-1.5)
29111a
BuildRequires: pkgconfig(zlib)
29111a
29111a
%description
29111a
%{name} is library for import of Apple iWork documents. It supports
29111a
documents created by any version of Keynote, Pages or Numbers.
29111a
29111a
%package devel
29111a
Summary: Development files for %{name}
29111a
Requires: %{name}%{?_isa} = %{version}-%{release}
29111a
29111a
%description devel
29111a
The %{name}-devel package contains libraries and header files for
29111a
developing applications that use %{name}.
29111a
29111a
%package doc
29111a
Summary: Documentation of %{name} API
29111a
BuildArch: noarch
29111a
29111a
%description doc
29111a
The %{name}-doc package contains documentation files for %{name}.
29111a
29111a
%package tools
29111a
Summary: Tools to transform Apple iWork documents into other formats
29111a
Requires: %{name}%{?_isa} = %{version}-%{release}
29111a
29111a
%description tools
29111a
Tools to transform Apple iWork documents into other formats. Currently
29111a
supported: CSV, HTML, SVG, text, and raw.
29111a
29111a
%prep
29111a
%autosetup -p1
29111a
29111a
%build
29111a
%configure --disable-silent-rules --disable-static --disable-werror --with-mdds=1.5
29111a
sed -i \
29111a
    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
29111a
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
29111a
    libtool
29111a
make %{?_smp_mflags}
29111a
29111a
%install
29111a
make install DESTDIR=%{buildroot}
29111a
rm -f %{buildroot}/%{_libdir}/*.la
29111a
# we install API docs directly from build
29111a
rm -rf %{buildroot}/%{_docdir}/%{name}
29111a
29111a
# generate and install man pages
29111a
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
29111a
for tool in key2raw key2text key2xhtml numbers2csv numbers2raw numbers2text pages2html pages2raw pages2text; do
29111a
    help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
29111a
done
29111a
install -m 0755 -d %{buildroot}/%{_mandir}/man1
29111a
install -m 0644 key2*.1 numbers2*.1 pages2*.1 %{buildroot}/%{_mandir}/man1
29111a
29111a
%post -p /sbin/ldconfig
29111a
%postun -p /sbin/ldconfig
29111a
29111a
%check
29111a
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
29111a
if ! make %{?_smp_mflags} check; then
29111a
    cat src/test/*.log
29111a
    exit 1
29111a
fi
29111a
29111a
%files
29111a
%doc AUTHORS FEATURES NEWS README
29111a
%license COPYING
29111a
%{_libdir}/%{name}-%{apiversion}.so.*
29111a
29111a
%files devel
29111a
%doc ChangeLog
29111a
%{_includedir}/%{name}-%{apiversion}
29111a
%{_libdir}/%{name}-%{apiversion}.so
29111a
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
29111a
29111a
%files doc
29111a
%license COPYING
29111a
%doc docs/doxygen/html
29111a
29111a
%files tools
29111a
%{_bindir}/key2raw
29111a
%{_bindir}/key2text
29111a
%{_bindir}/key2xhtml
29111a
%{_bindir}/numbers2csv
29111a
%{_bindir}/numbers2raw
29111a
%{_bindir}/numbers2text
29111a
%{_bindir}/pages2html
29111a
%{_bindir}/pages2raw
29111a
%{_bindir}/pages2text
29111a
%{_mandir}/man1/key2raw.1*
29111a
%{_mandir}/man1/key2text.1*
29111a
%{_mandir}/man1/key2xhtml.1*
29111a
%{_mandir}/man1/numbers2csv.1*
29111a
%{_mandir}/man1/numbers2raw.1*
29111a
%{_mandir}/man1/numbers2text.1*
29111a
%{_mandir}/man1/pages2html.1*
29111a
%{_mandir}/man1/pages2raw.1*
29111a
%{_mandir}/man1/pages2text.1*
29111a
29111a
%changelog
29111a
* Sun Apr 22 2018 David Tardon <dtardon@redhat.com> - 0.1.8-1
29111a
- new upstream release
29111a
29111a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-3
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
29111a
29111a
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.1.7-2
29111a
- Rebuilt for Boost 1.66
29111a
29111a
* Mon Oct 23 2017 David Tardon <dtardon@redhat.com> - 0.1.7-1
29111a
- new upstream release
29111a
29111a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-10
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
29111a
29111a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-9
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
29111a
29111a
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.6-8
29111a
- Rebuilt for Boost 1.64
29111a
29111a
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-7
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
29111a
29111a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-6
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
29111a
29111a
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.6-5
29111a
- Rebuilt for Boost 1.63
29111a
29111a
* Sun Feb 14 2016 David Tardon <dtardon@redhat.com> - 0.1.6-4
29111a
- switch to mdds 1.x
29111a
29111a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.6-3
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
29111a
29111a
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.1.6-2
29111a
- Rebuilt for Boost 1.60
29111a
29111a
* Wed Jan 13 2016 David Tardon <dtardon@redhat.com> - 0.1.6-1
29111a
- new upstream release
29111a
29111a
* Thu Dec 03 2015 David Tardon <dtardon@redhat.com> - 0.1.5-1
29111a
- new upstream release
29111a
29111a
* Wed Nov 18 2015 David Tardon <dtardon@redhat.com> - 0.1.4-1
29111a
- new upstream release
29111a
29111a
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.1.3-4
29111a
- Rebuilt for Boost 1.59
29111a
29111a
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
29111a
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
29111a
29111a
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.1.3-2
29111a
- rebuild for Boost 1.58
29111a
29111a
* Wed Jun 24 2015 David Tardon <dtardon@redhat.com> - 0.1.3-1
29111a
- new upstream release
29111a
29111a
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
29111a
29111a
* Fri Jun 12 2015 David Tardon <dtardon@redhat.com> - 0.1.2-3
29111a
- fix output of shapes
29111a
29111a
* Tue May 26 2015 David Tardon <dtardon@redhat.com> - 0.1.2-2
29111a
- fix some problems found by coverity
29111a
29111a
* Wed May 20 2015 David Tardon <dtardon@redhat.com> - 0.1.2-1
29111a
- new upstream release
29111a
29111a
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.1-5
29111a
- Rebuilt for GCC 5 C++11 ABI change
29111a
29111a
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.1.1-4
29111a
- Rebuild for boost 1.57.0
29111a
29111a
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
29111a
29111a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
29111a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
29111a
29111a
* Tue Jun 03 2014 David Tardon <dtardon@redhat.com> - 0.1.1-1
29111a
- new upstream release
29111a
29111a
* Thu May 29 2014 David Tardon <dtardon@redhat.com> - 0.1.0-2
29111a
- fix detection of Keynote 3 documents
29111a
29111a
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
29111a
- new upstream release
29111a
29111a
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.0.4-3
29111a
- Rebuild for boost 1.55.0
29111a
29111a
* Mon May 05 2014 Jaromir Capik <jcapik@redhat.com> - 0.0.4-2
29111a
- fixing FTBFS on ppc64le
29111a
29111a
* Tue Apr 15 2014 David Tardon <dtardon@redhat.com> - 0.0.4-1
29111a
- new upstream release
29111a
29111a
* Wed Apr 09 2014 David Tardon <dtardon@redhat.com> - 0.0.3-2
29111a
- generate man pages
29111a
29111a
* Fri Dec 06 2013 David Tardon <dtardon@redhat.com> - 0.0.3-1
29111a
- new release
29111a
29111a
* Wed Dec 04 2013 David Tardon <dtardon@redhat.com> - 0.0.2-1
29111a
- new release
29111a
29111a
* Mon Nov 04 2013 David Tardon <dtardon@redhat.com> - 0.0.1-1
29111a
- new release
29111a
29111a
* Wed Oct 30 2013 David Tardon <dtardon@redhat.com> 0.0.0-1
29111a
- initial import