|
|
ad392c |
%global apiversion 0.1
|
|
|
ad392c |
|
|
|
ad392c |
Name: libabw
|
|
|
ad392c |
Version: 0.1.2
|
|
|
ad392c |
Release: 2%{?dist}
|
|
|
ad392c |
Summary: A library for import of AbiWord files
|
|
|
ad392c |
|
|
|
ad392c |
License: MPLv2.0
|
|
|
ad392c |
URL: https://wiki.documentfoundation.org/DLP/Libraries/libabw
|
|
|
ad392c |
Source: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
|
|
|
ad392c |
|
|
|
ad392c |
BuildRequires: boost-devel
|
|
|
ad392c |
BuildRequires: doxygen
|
|
|
ad392c |
BuildRequires: gperf
|
|
|
ad392c |
BuildRequires: help2man
|
|
|
ad392c |
BuildRequires: perl-interpreter
|
|
|
ad392c |
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
ad392c |
BuildRequires: pkgconfig(librevenge-generators-0.0)
|
|
|
ad392c |
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
|
|
ad392c |
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
ad392c |
BuildRequires: pkgconfig(zlib)
|
|
|
ad392c |
|
|
|
ad392c |
%description
|
|
|
ad392c |
%{name} is a library for import of AbiWord files.
|
|
|
ad392c |
|
|
|
ad392c |
%package devel
|
|
|
ad392c |
Summary: Development files for %{name}
|
|
|
ad392c |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ad392c |
|
|
|
ad392c |
%description devel
|
|
|
ad392c |
The %{name}-devel package contains libraries and header files for
|
|
|
ad392c |
developing applications that use %{name}.
|
|
|
ad392c |
|
|
|
ad392c |
%package doc
|
|
|
ad392c |
Summary: Documentation of %{name} API
|
|
|
ad392c |
BuildArch: noarch
|
|
|
ad392c |
|
|
|
ad392c |
%description doc
|
|
|
ad392c |
The %{name}-doc package contains documentation files for %{name}.
|
|
|
ad392c |
|
|
|
ad392c |
%package tools
|
|
|
ad392c |
Summary: Tools to transform AbiWord files into other formats
|
|
|
ad392c |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ad392c |
|
|
|
ad392c |
%description tools
|
|
|
ad392c |
Tools to transform AbiWord files into other formats. Currently
|
|
|
ad392c |
supported: XHTML, raw, text.
|
|
|
ad392c |
|
|
|
ad392c |
%prep
|
|
|
ad392c |
%autosetup -p1
|
|
|
ad392c |
|
|
|
ad392c |
%build
|
|
|
ad392c |
%configure --disable-silent-rules --disable-static --disable-werror
|
|
|
ad392c |
sed -i \
|
|
|
ad392c |
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
ad392c |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
ad392c |
libtool
|
|
|
ad392c |
make %{?_smp_mflags}
|
|
|
ad392c |
|
|
|
ad392c |
%install
|
|
|
ad392c |
make install DESTDIR=%{buildroot}
|
|
|
ad392c |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
ad392c |
# we install API docs directly from build
|
|
|
ad392c |
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
ad392c |
|
|
|
ad392c |
# generate and install man pages
|
|
|
ad392c |
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
|
|
ad392c |
for tool in abw2html abw2raw abw2text; do
|
|
|
ad392c |
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
ad392c |
done
|
|
|
ad392c |
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
ad392c |
install -m 0644 abw2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
ad392c |
|
|
|
ad392c |
%post -p /sbin/ldconfig
|
|
|
ad392c |
|
|
|
ad392c |
%postun -p /sbin/ldconfig
|
|
|
ad392c |
|
|
|
ad392c |
%files
|
|
|
ad392c |
%doc CREDITS README
|
|
|
ad392c |
%license COPYING.MPL
|
|
|
ad392c |
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
ad392c |
|
|
|
ad392c |
%files devel
|
|
|
ad392c |
%doc ChangeLog
|
|
|
ad392c |
%{_includedir}/%{name}-%{apiversion}
|
|
|
ad392c |
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
ad392c |
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
ad392c |
|
|
|
ad392c |
%files doc
|
|
|
ad392c |
%license COPYING.MPL
|
|
|
ad392c |
%doc docs/doxygen/html
|
|
|
ad392c |
|
|
|
ad392c |
%files tools
|
|
|
ad392c |
%{_bindir}/abw2raw
|
|
|
ad392c |
%{_bindir}/abw2text
|
|
|
ad392c |
%{_bindir}/abw2html
|
|
|
ad392c |
%{_mandir}/man1/abw2raw.1*
|
|
|
ad392c |
%{_mandir}/man1/abw2text.1*
|
|
|
ad392c |
%{_mandir}/man1/abw2html.1*
|
|
|
ad392c |
|
|
|
ad392c |
%changelog
|
|
|
ad392c |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Tue Jan 02 2018 David Tardon <dtardon@redhat.com> - 0.1.2-1
|
|
|
ad392c |
- new upstream release
|
|
|
ad392c |
|
|
|
ad392c |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-16
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-15
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.1-14
|
|
|
ad392c |
- Rebuilt for Boost 1.64
|
|
|
ad392c |
|
|
|
ad392c |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-13
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.1-12
|
|
|
ad392c |
- Rebuilt for Boost 1.63
|
|
|
ad392c |
|
|
|
ad392c |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-11
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.1.1-10
|
|
|
ad392c |
- Rebuilt for Boost 1.60
|
|
|
ad392c |
|
|
|
ad392c |
* Sun Aug 30 2015 Jonathan Wakely <jwakely@redhat.com> - 0.1.1-9
|
|
|
ad392c |
- Rebuilt for Boost 1.59
|
|
|
ad392c |
|
|
|
ad392c |
* Sun Aug 30 2015 David Tardon <dtardon@redhat.com> - 0.1.1-8
|
|
|
ad392c |
- Resolves: rhbz#1258125 fix build with boost 1.59
|
|
|
ad392c |
|
|
|
ad392c |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-7
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
ad392c |
|
|
|
ad392c |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.1.1-6
|
|
|
ad392c |
- rebuild for Boost 1.58
|
|
|
ad392c |
|
|
|
ad392c |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-5
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Mon May 04 2015 David Tardon <dtardon@redhat.com> - 0.1.1-4
|
|
|
ad392c |
- fix two potential crashes
|
|
|
ad392c |
|
|
|
ad392c |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.1-3
|
|
|
ad392c |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
ad392c |
|
|
|
ad392c |
* Mon Jan 26 2015 Petr Machata <pmachata@redhat.com> - 0.1.1-2
|
|
|
ad392c |
- Rebuild for boost 1.57.0
|
|
|
ad392c |
|
|
|
ad392c |
* Sat Dec 20 2014 David Tardon <dtardon@redhat.com> - 0.1.1-1
|
|
|
ad392c |
- new upstream release
|
|
|
ad392c |
|
|
|
ad392c |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
|
|
|
ad392c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ad392c |
|
|
|
ad392c |
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
ad392c |
- new upstream release
|
|
|
ad392c |
|
|
|
ad392c |
* Thu May 22 2014 Petr Machata <pmachata@redhat.com> - 0.0.2-2
|
|
|
ad392c |
- Rebuild for boost 1.55.0
|
|
|
ad392c |
|
|
|
ad392c |
* Mon Feb 10 2014 David Tardon <dtardon@redhat.com> - 0.0.2-1
|
|
|
ad392c |
- new upstream release 0.0.2
|
|
|
ad392c |
- generate man pages for the tools
|
|
|
ad392c |
|
|
|
ad392c |
* Wed Jan 15 2014 David Tardon <dtardon@redhat.com> - 0.0.1-1
|
|
|
ad392c |
- new upstream release
|
|
|
ad392c |
|
|
|
ad392c |
* Mon Jan 13 2014 David Tardon <dtardon@redhat.com> - 0.0.0-1
|
|
|
ad392c |
- initial import
|