1 Summary: Number to number name and money text conversion library
2 Summary(pl.UTF-8): Biblioteka do konwersji liczb i pieniędzy na tekst
6 License: BSD or LGPL v3+
8 #Source0Download: https://github.com/Numbertext/libnumbertext/releases
9 Source0: https://github.com/Numbertext/libnumbertext/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5: d5e70dd61deb138add3fe3e8b102197c
11 URL: https://numbertext.github.io/
12 BuildRequires: autoconf >= 2.68
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: libstdc++-devel >= 6:4.9
15 BuildRequires: libtool >= 2:1.5
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Number to number name and money text conversion libraries in C++,
21 Java, JavaScript and Python & LibreOffice Calc Extension.
23 %description -l pl.UTF-8
24 Biblioteka C++ do konwersji liczb i pieniędzy na tekst dla C++,
25 Javy, JavaScriptu i Pythona oraz rozszerzenia LibreOffice Calc.
28 Summary: Header files for libnumbertext
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnumbertext
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
32 Requires: libstdc++-devel >= 6:4.9
35 This package contains the header files for developing applications
36 that use libnumbertext.
38 %description devel -l pl.UTF-8
39 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
40 wykorzystujących bibliotekę libnumbertext.
43 Summary: Static libnumbertext library
44 Summary(pl.UTF-8): Statyczna biblioteka libnumbertext
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static libnumbertext library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libnumbertext.
64 --disable-silent-rules
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 # obsoleted by pkg-config
75 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnumbertext-*.la
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
85 %doc AUTHORS COPYING ChangeLog NEWS README.md THANKS
86 %attr(755,root,root) %{_bindir}/spellout
87 %attr(755,root,root) %{_libdir}/libnumbertext-1.0.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libnumbertext-1.0.so.0
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libnumbertext-1.0.so
94 %{_includedir}/libnumbertext
95 %{_pkgconfigdir}/libnumbertext.pc
98 %defattr(644,root,root,755)
99 %{_libdir}/libnumbertext-1.0.a