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