94 lines
2.5 KiB
RPMSpec
94 lines
2.5 KiB
RPMSpec
Name: libabw
|
|
Version: 0.0.2
|
|
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/
|
|
Source: http://dev-www.libreoffice.org/src/libabw-%{version}.tar.xz
|
|
License: MPL 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libwpd-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
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)
|
|
%{_libdir}/libabw-0.0.so.*
|
|
%doc CREDITS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libabw-0.0
|
|
%dir %{_includedir}/libabw-0.0/libabw
|
|
%{_includedir}/libabw-0.0/libabw/AbiDocument.h
|
|
%{_includedir}/libabw-0.0/libabw/libabw.h
|
|
%{_libdir}/libabw-0.0.la
|
|
%{_libdir}/libabw-0.0.so
|
|
%{_libdir}/pkgconfig/libabw-0.0.pc
|
|
%dir %{_datadir}/doc/libabw
|
|
%{_datadir}/doc/libabw/libwpd.dia
|
|
%{_datadir}/doc/libabw/libwpd.png
|
|
%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
|
|
* Sat Feb 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
|
|
- package created using the webbuild interface
|