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