libstaroffice/libstaroffice.spec

101 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libstaroffice
Version: 0.0.7
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.*
%doc CREDITS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libstaroffice-0.0
%dir %{_includedir}/libstaroffice-0.0/libstaroffice
%{_includedir}/libstaroffice-0.0/libstaroffice/*
%{_libdir}/libstaroffice-0.0.la
%{_libdir}/libstaroffice-0.0.so
%{_libdir}/pkgconfig/libstaroffice-0.0.pc
%dir %{_datadir}/doc/libstaroffice
%dir %{_datadir}/doc/libstaroffice/html
%{_datadir}/doc/libstaroffice/html/*
%doc CHANGES NEWS README
%files tools
%defattr(-,root,root)
%{_bindir}/sd2raw
%{_bindir}/sd2svg
%{_bindir}/sd2text
%{_bindir}/sdc2csv
%{_bindir}/sdw2html
%changelog
* Wed Apr 08 2020 Automatic Build System <autodist@mambasoft.it> 0.0.7-1mamba
- automatic version update by autodist
* Fri Jun 08 2018 Automatic Build System <autodist@mambasoft.it> 0.0.6-1mamba
- automatic version update by autodist
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 0.0.5-1mamba
- automatic version update by autodist
* Wed Sep 13 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.0.4-1mamba
- package created using the webbuild interface