]> git.pld-linux.org Git - packages/libnumbertext.git/blob - libnumbertext.spec
- updated to 1.0.6
[packages/libnumbertext.git] / libnumbertext.spec
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
3 Name:           libnumbertext
4 Version:        1.0.6
5 Release:        1
6 License:        BSD or LGPL v3+
7 Group:          Libraries
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
16 BuildRequires:  xz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Number to number name and money text conversion libraries in C++,
21 Java, JavaScript and Python & LibreOffice Calc Extension.
22
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.
26
27 %package devel
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
33
34 %description devel
35 This package contains the header files for developing applications
36 that use libnumbertext.
37
38 %description devel -l pl.UTF-8
39 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
40 wykorzystujących bibliotekę libnumbertext.
41
42 %package static
43 Summary:        Static libnumbertext library
44 Summary(pl.UTF-8):      Statyczna biblioteka libnumbertext
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static libnumbertext library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libnumbertext.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__libtoolize}
59 %{__aclocal} -I m4
60 %{__autoconf}
61 %{__autoheader}
62 %{__automake}
63 %configure \
64         --disable-silent-rules
65 %{__make}
66
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 # obsoleted by pkg-config
75 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnumbertext-*.la
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
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
89 %{_datadir}/%{name}
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libnumbertext-1.0.so
94 %{_includedir}/libnumbertext
95 %{_pkgconfigdir}/libnumbertext.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libnumbertext-1.0.a
This page took 0.050073 seconds and 3 git commands to generate.