]> git.pld-linux.org Git - packages/libnumbertext.git/commitdiff
- initial auto/th/libnumbertext-1.0.3-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 8 Aug 2018 18:36:16 +0000 (20:36 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 8 Aug 2018 18:36:16 +0000 (20:36 +0200)
libnumbertext.spec [new file with mode: 0644]

diff --git a/libnumbertext.spec b/libnumbertext.spec
new file mode 100644 (file)
index 0000000..479796e
--- /dev/null
@@ -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
This page took 0.13031 seconds and 4 git commands to generate.