Name: libnumbertext Version: 1.0.11 Release: 1 Summary: Number to number name and money text conversion library #The entire source code is dual license LGPLv3+ or BSD, except for #the data files hr.sor, sr.sor and sh.sor which are tri license #CC-BY-SA or LGPLv3+ or BSD License: (LGPLv3+ or BSD) and (LGPLv3+ or BSD or CC-BY-SA) URL: https://github.com/Numbertext/libnumbertext Source: https://github.com/Numbertext/libnumbertext/releases/download/%{version}/libnumbertext-%{version}.tar.xz BuildRequires: autoconf, automake, libtool, gcc-c++ BuildRequires: make %description Language-neutral NUMBERTEXT and MONEYTEXT functions for LibreOffice Calc %package devel Requires: libnumbertext = %{version}-%{release} Summary: Files for developing with libnumbertext %description devel Includes and definitions for developing with libnumbertext %prep %autosetup -p1 %build autoreconf -v --install --force %configure --disable-silent-rules --disable-static --disable-werror --with-pic %make_build %check make check %install rm -rf $RPM_BUILD_ROOT %make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %ldconfig_scriptlets %files %doc AUTHORS ChangeLog NEWS THANKS %license COPYING %{_bindir}/spellout %{_libdir}/*.so.* %{_datadir}/libnumbertext %files devel %{_includedir}/libnumbertext %{_libdir}/pkgconfig/libnumbertext.pc %{_libdir}/*.so %changelog * Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 1.0.11-1 - Package init