libetonyek/libetonyek.spec

119 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

%define apiver %(echo %version | cut -d. -f1-2)
Name: libetonyek
Version: 0.1.8
Release: 1mamba
Summary: A library and a set of tools for reading and converting Apple Keynote presentations
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/wiki/Software/libetonyek/
Source: http://dev-www.libreoffice.org/src/libetonyek-%{version}.tar.xz
License: MPL 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: liblzma-devel
BuildRequires: librevenge-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: librevenge-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libetonyek is a library and a set of tools for reading and converting Apple Keynote presentations. The library tries to extract the most important parts of version 2 format of Keynote (version 1 is not supported yet, but it should be in the future. Version 6 is being reverse engineered; we plan to support it as well when there is enough info about the new format to implement something).
See FEATURES for what is currently supported.
%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}/libetonyek-%{apiver}.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libetonyek-%{apiver}
%dir %{_includedir}/libetonyek-%{apiver}/libetonyek
%{_includedir}/libetonyek-%{apiver}/libetonyek/*.h
%{_libdir}/libetonyek-%{apiver}.la
%{_libdir}/libetonyek-%{apiver}.so
%{_libdir}/pkgconfig/libetonyek-%{apiver}.pc
%dir %{_datadir}/doc/libetonyek
%dir %{_datadir}/doc/libetonyek/html
%{_datadir}/doc/libetonyek/html/*
%doc ChangeLog NEWS README TODO
%files tools
%defattr(-,root,root)
%{_bindir}/key2raw
%{_bindir}/key2text
%{_bindir}/key2xhtml
%{_bindir}/numbers2csv
%{_bindir}/numbers2raw
%{_bindir}/numbers2text
%{_bindir}/pages2html
%{_bindir}/pages2raw
%{_bindir}/pages2text
%changelog
* Sat May 05 2018 Automatic Build System <autodist@mambasoft.it> 0.1.8-1mamba
- automatic version update by autodist
* Fri Dec 08 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.7-1mamba
- update to 0.1.7
* Fri Jan 15 2016 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
- automatic version update by autodist
* Sat Dec 05 2015 Automatic Build System <autodist@mambasoft.it> 0.1.5-1mamba
- automatic version update by autodist
* Sun Jul 12 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.3-1mamba
- update to 0.1.3
* Wed Jun 18 2014 Automatic Build System <autodist@mambasoft.it> 0.1.1-1mamba
- automatic version update by autodist
* Fri Apr 18 2014 Automatic Build System <autodist@mambasoft.it> 0.0.4-1mamba
- automatic version update by autodist
* Fri Feb 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.3-1mamba
- package created using the webbuild interface