92 lines
2.4 KiB
RPMSpec
92 lines
2.4 KiB
RPMSpec
Name: libstaroffice
|
|
Version: 0.0.4
|
|
Release: 1mamba
|
|
Summary: a filter for old StarOffice's documents
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
URL: https://github.com/fosnola/libstaroffice
|
|
## GITSOURCE https://github.com/fosnola/libstaroffice.git 0.0.4
|
|
Source: https://github.com/fosnola/libstaroffice.git/%{version}/libstaroffice-%{version}.tar.bz2
|
|
License: LGPL + MPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: librevenge-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
The purpose of libstaroffice is to build a filter for old StarOffice's
|
|
documents(.sdc, .sdw, etc) based on librevenge
|
|
|
|
%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
|
|
./autogen.sh
|
|
%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}/libstaroffice-0.0.so.0
|
|
%{_libdir}/libstaroffice-0.0.so.0.0.4
|
|
%{_datadir}/doc/libstaroffice/html/*.html
|
|
%{_datadir}/doc/libstaroffice/html/*.png
|
|
%{_datadir}/doc/libstaroffice/html/*.css
|
|
%doc CREDITS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/libstaroffice-0.0/libstaroffice/STOFFDocument.hxx
|
|
%{_includedir}/libstaroffice-0.0/libstaroffice/libstaroffice.hxx
|
|
%{_libdir}/libstaroffice-0.0.la
|
|
%{_libdir}/libstaroffice-0.0.so
|
|
%{_libdir}/pkgconfig/libstaroffice-0.0.pc
|
|
%doc CHANGES NEWS README
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/sd2raw
|
|
%{_bindir}/sd2svg
|
|
%{_bindir}/sd2text
|
|
%{_bindir}/sdc2csv
|
|
%{_bindir}/sdw2html
|
|
|
|
%changelog
|
|
* Wed Sep 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.4-1mamba
|
|
- package created using the webbuild interface
|