diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-13 10:57:53 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-13 10:57:53 +0000 |
commit | 651ead8259b66745afd8aa629a842b5c3a7a8aea (patch) | |
tree | ef94d525360fd16bd93e447a94c5c44aeec0071e | |
parent | 99fd874ae959ccc575d31f283a9b501393caf25a (diff) |
automatic import of libnumbertextopeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | libnumbertext.spec | 58 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 60 insertions, 0 deletions
@@ -0,0 +1 @@ +/libnumbertext-1.0.11.tar.xz diff --git a/libnumbertext.spec b/libnumbertext.spec new file mode 100644 index 0000000..a36d908 --- /dev/null +++ b/libnumbertext.spec @@ -0,0 +1,58 @@ +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 @@ -0,0 +1 @@ +03a7034283f7eab14120acf9a727f0fa libnumbertext-1.0.11.tar.xz |