282d5f
Name:      libnumbertext
282d5f
Version:   1.0.6
282d5f
Release:   2%{?dist}
282d5f
Summary:   Number to number name and money text conversion library
282d5f
282d5f
#The entire source code is dual license LGPLv3+ or BSD, except for
282d5f
#the data files hr.sor, sr.sor and sh.sor which are tri license
282d5f
#CC-BY-SA or LGPLv3+ or BSD
282d5f
License:   (LGPLv3+ or BSD) and (LGPLv3+ or BSD or CC-BY-SA)
282d5f
URL:       https://github.com/Numbertext/libnumbertext
282d5f
Source:    https://github.com/Numbertext/libnumbertext/releases/download/%{version}/libnumbertext-%{version}.tar.xz
282d5f
282d5f
BuildRequires: autoconf, automake, libtool, gcc-c++
282d5f
282d5f
%description
282d5f
Language-neutral NUMBERTEXT and MONEYTEXT functions for LibreOffice Calc
282d5f
282d5f
%package devel
282d5f
Requires: libnumbertext = %{version}-%{release}
282d5f
Summary: Files for developing with libnumbertext
282d5f
282d5f
%description devel
282d5f
Includes and definitions for developing with libnumbertext
282d5f
282d5f
%prep
282d5f
%autosetup -p1
282d5f
282d5f
%build
282d5f
autoreconf -v --install --force
282d5f
%configure --disable-silent-rules --disable-static --disable-werror --with-pic
282d5f
%make_build
282d5f
282d5f
%check
282d5f
make check
282d5f
282d5f
%install
282d5f
rm -rf $RPM_BUILD_ROOT
282d5f
%make_install
282d5f
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
282d5f
282d5f
%ldconfig_scriptlets
282d5f
282d5f
%files
282d5f
%doc AUTHORS ChangeLog NEWS THANKS
282d5f
%license COPYING
282d5f
%{_bindir}/spellout
282d5f
%{_libdir}/*.so.*
282d5f
%{_datadir}/libnumbertext
282d5f
282d5f
%files devel
282d5f
%{_includedir}/libnumbertext
282d5f
%{_libdir}/pkgconfig/libnumbertext.pc
282d5f
%{_libdir}/*.so
282d5f
282d5f
%changelog
282d5f
* Fri Oct 16 2020 Tomas Pelka <tpelka@redhat.com> - 1.0.6-2
282d5f
- rebuild to properly trigger gating
282d5f
282d5f
* Sat Aug 08 2020 Caolán McNamara <caolanm@redhat.com> - 1.0.6-1
282d5f
- latest version
282d5f
282d5f
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-6
282d5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
282d5f
282d5f
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.0.5-5
282d5f
- Use make macros
282d5f
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
282d5f
282d5f
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-4
282d5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
282d5f
282d5f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
282d5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
282d5f
282d5f
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
282d5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
282d5f
282d5f
* Tue Oct 16 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.5-1
282d5f
- latest version
282d5f
282d5f
* Thu Aug 16 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.3-1
282d5f
- latest version
282d5f
282d5f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
282d5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
282d5f
282d5f
* Tue Jun 12 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-3
282d5f
- fix changelog order
282d5f
- remove clean section
282d5f
- set COPYING as license
282d5f
- use LT_INIT
282d5f
282d5f
* Mon Jun 11 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-2
282d5f
- clarify extra license option of the sh/sr/hr data files
282d5f
282d5f
* Mon Jun 11 2018 Caolán McNamara <caolanm@redhat.com> - 1.0.2-1
282d5f
- initial version