2024-01-06 03:44:11 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1-2)
|
2024-01-06 03:44:11 +01:00
|
|
|
Name: libabw
|
2024-01-06 03:44:12 +01:00
|
|
|
Version: 0.1.3
|
2024-01-06 03:44:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library providing ability to interpret and import AbiWord documents into various applications. You can find it being used in libreoffice
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/libabw/
|
2024-01-06 03:44:11 +01:00
|
|
|
Source: http://dev-www.libreoffice.org/src/libabw-%{version}.tar.xz
|
2024-01-06 03:44:11 +01:00
|
|
|
License: MPL 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 03:44:11 +01:00
|
|
|
BuildRequires: librevenge-devel
|
2024-01-06 03:44:11 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 03:44:11 +01:00
|
|
|
BuildRequires: libwpd-devel >= 0.10
|
2024-01-06 03:44:11 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libabw is a library providing ability to interpret and import AbiWord documents into various applications. You can find it being used in libreoffice.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:44:11 +01:00
|
|
|
%{_libdir}/libabw-%{apiver}.so.*
|
2024-01-06 03:44:11 +01:00
|
|
|
%doc CREDITS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:44:11 +01:00
|
|
|
%dir %{_includedir}/libabw-%{apiver}
|
|
|
|
%dir %{_includedir}/libabw-%{apiver}/libabw
|
|
|
|
%{_includedir}/libabw-%{apiver}/libabw/AbiDocument.h
|
|
|
|
%{_includedir}/libabw-%{apiver}/libabw/libabw.h
|
|
|
|
%{_libdir}/libabw-%{apiver}.la
|
|
|
|
%{_libdir}/libabw-%{apiver}.so
|
|
|
|
%{_libdir}/pkgconfig/libabw-%{apiver}.pc
|
2024-01-06 03:44:11 +01:00
|
|
|
%dir %{_datadir}/doc/libabw
|
2024-01-06 03:44:11 +01:00
|
|
|
#%{_datadir}/doc/libabw/libwpd.dia
|
|
|
|
#%{_datadir}/doc/libabw/libwpd.png
|
2024-01-06 03:44:11 +01:00
|
|
|
%dir %{_datadir}/doc/libabw
|
|
|
|
%dir %{_datadir}/doc/libabw/html
|
|
|
|
%{_datadir}/doc/libabw/html/*
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/abw2html
|
|
|
|
%{_bindir}/abw2raw
|
|
|
|
%{_bindir}/abw2text
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:44:12 +01:00
|
|
|
* Tue Aug 20 2019 Automatic Build System <autodist@mambasoft.it> 0.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:44:11 +01:00
|
|
|
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-1mamba
|
|
|
|
- update to 0.1.2
|
|
|
|
|
2024-01-06 03:44:11 +01:00
|
|
|
* Wed Dec 24 2014 Automatic Build System <autodist@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:44:11 +01:00
|
|
|
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
|
|
|
|
- update to 0.1.0
|
|
|
|
|
|
|
|
* Fri Jul 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-2mamba
|
|
|
|
- rebuilt with libwpd 0.10.0
|
|
|
|
|
2024-01-06 03:44:11 +01:00
|
|
|
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
|
|
|
|
- package created using the webbuild interface
|