[packages/libnumbertext] - initial

arekm arekm at pld-linux.org
Wed Aug 8 20:36:32 CEST 2018


commit d6dffb2f71704f4ffb074dfe5aabc74176e8ab72
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Aug 8 20:36:16 2018 +0200

    - initial

 libnumbertext.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 97 insertions(+)
---
diff --git a/libnumbertext.spec b/libnumbertext.spec
new file mode 100644
index 0000000..479796e
--- /dev/null
+++ b/libnumbertext.spec
@@ -0,0 +1,97 @@
+#
+# Conditional build:
+#
+Summary:	Number to number name and money text conversion library
+Name:		libnumbertext
+Version:	1.0.3
+Release:	1
+License:	BSD
+Group:		Libraries
+Source0:	https://github.com/Numbertext/libnumbertext/releases/download/1.0/%{name}-%{version}.tar.xz
+# Source0-md5:	7772b37de7d5d3e95480c40f31df3466
+URL:		https://gitlab.com/numbertext/numbertext
+BuildRequires:	autoconf >= 2.65
+BuildRequires:	automake >= 1:1.11
+BuildRequires:	boost-devel
+BuildRequires:	libtool >= 2:1.5
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Number to number name and money text conversion libraries in C++,
+Java, JavaScript and Python & LibreOffice Calc Extension
+
+%package devel
+Summary:	Header files for libnumbertext
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libnumbertext
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	boost-devel
+
+%description devel
+This package contains the header files for developing applications
+that use libnumbertext.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących bibliotekę libnumbertext.
+
+%package static
+Summary:	Static libnumbertext library
+Summary(pl.UTF-8):	Statyczna biblioteka libnumbertext
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libnumbertext library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libnumbertext.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-silent-rules \
+	--with-boost
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libnumbertext-*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/spellout
+%attr(755,root,root) %{_libdir}/libnumbertext-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnumbertext-1.0.so.0
+%{_datadir}/%{name}
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libnumbertext-1.0.so
+%{_includedir}/libnumbertext
+%{_pkgconfigdir}/libnumbertext.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnumbertext-1.0.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnumbertext.git/commitdiff/d6dffb2f71704f4ffb074dfe5aabc74176e8ab72



More information about the pld-cvs-commit mailing list