- Package BSB libmp bindings. [bnc#623910]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=12
This commit is contained in:
parent
69a118fd95
commit
a2e7876857
@ -3,7 +3,9 @@ targettype x86 package libgmp3
|
|||||||
libgmp10
|
libgmp10
|
||||||
obsoletes "gmp-<targettype>"
|
obsoletes "gmp-<targettype>"
|
||||||
libgmpxx4
|
libgmpxx4
|
||||||
|
libmp3
|
||||||
gmp-devel
|
gmp-devel
|
||||||
requires -gmp-<targettype>
|
requires -gmp-<targettype>
|
||||||
requires "libgmp10-<targettype> = <version>"
|
requires "libgmp10-<targettype> = <version>"
|
||||||
requires "libgmpxx4-<targettype> = <version>"
|
requires "libgmpxx4-<targettype> = <version>"
|
||||||
|
requires "libmp3-<targettype> = <version>"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 10:20:05 UTC 2010 - rguenther@novell.com
|
||||||
|
|
||||||
|
- Package BSB libmp bindings. [bnc#623910]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 6 13:27:34 UTC 2010 - rguenther@novell.com
|
Mon Sep 6 13:27:34 UTC 2010 - rguenther@novell.com
|
||||||
|
|
||||||
|
37
gmp.spec
37
gmp.spec
@ -42,11 +42,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
A library for calculating huge numbers (integer and floating point).
|
A library for calculating huge numbers (integer and floating point).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Torbjorn Granlund <tege@zevs.sics.se>
|
|
||||||
|
|
||||||
%package -n libgmp10
|
%package -n libgmp10
|
||||||
License: GPLv3+ ; LGPLv3+
|
License: GPLv3+ ; LGPLv3+
|
||||||
Summary: Shared library for the GNU MP Library
|
Summary: Shared library for the GNU MP Library
|
||||||
@ -59,11 +54,6 @@ Obsoletes: gmp <= 4.2.3
|
|||||||
Shared library for the GNU MP Library.
|
Shared library for the GNU MP Library.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Torbjorn Granlund <tege@zevs.sics.se>
|
|
||||||
|
|
||||||
%package -n libgmpxx4
|
%package -n libgmpxx4
|
||||||
License: GPLv3+ ; LGPLv3+
|
License: GPLv3+ ; LGPLv3+
|
||||||
Summary: C++ bindings for the GNU MP Library
|
Summary: C++ bindings for the GNU MP Library
|
||||||
@ -74,10 +64,15 @@ Requires: libgmp10 = %{version}
|
|||||||
C++ bindings for the GNU MP Library.
|
C++ bindings for the GNU MP Library.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libmp3
|
||||||
|
License: GPLv3+ ; LGPLv3+
|
||||||
|
Summary: BSD libmp bindings for the GNU MP Library
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: libgmp10 = %{version}
|
||||||
|
|
||||||
|
%description -n libmp3
|
||||||
|
BSD libmp bindings for the GNU MP Library.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Torbjorn Granlund <tege@zevs.sics.se>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv3+ ; LGPLv3+
|
License: GPLv3+ ; LGPLv3+
|
||||||
@ -85,6 +80,7 @@ Summary: Include Files and Libraries for Development with the GNU MP Libr
|
|||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libgmp10 = %{version}
|
Requires: libgmp10 = %{version}
|
||||||
Requires: libgmpxx4 = %{version}
|
Requires: libgmpxx4 = %{version}
|
||||||
|
Requires: libmp3 = %{version}
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -133,7 +129,8 @@ CFLAGS="$RPM_OPT_FLAGS -fexceptions" \
|
|||||||
--build=%{sanitized_platform} \
|
--build=%{sanitized_platform} \
|
||||||
--disable-mpfr \
|
--disable-mpfr \
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--enable-fat
|
--enable-fat \
|
||||||
|
--enable-mpbsd
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
|
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -145,11 +142,15 @@ make install DESTDIR=${RPM_BUILD_ROOT}
|
|||||||
rm $RPM_BUILD_ROOT%{_libdir}/libgmp.la
|
rm $RPM_BUILD_ROOT%{_libdir}/libgmp.la
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.la
|
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.la
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
|
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/libmp.a
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/libmp.la
|
||||||
|
|
||||||
%post -n libgmp10 -p /sbin/ldconfig
|
%post -n libgmp10 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libgmpxx4 -p /sbin/ldconfig
|
%post -n libgmpxx4 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libmp3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
@ -157,6 +158,8 @@ rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
|
|||||||
|
|
||||||
%postun -n libgmpxx4 -p /sbin/ldconfig
|
%postun -n libgmpxx4 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libmp3 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
@ -171,6 +174,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libgmpxx.so.4*
|
%{_libdir}/libgmpxx.so.4*
|
||||||
|
|
||||||
|
%files -n libmp3
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libmp.so.3*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README NEWS
|
%doc AUTHORS README NEWS
|
||||||
@ -179,7 +186,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libgmp.a
|
%{_libdir}/libgmp.a
|
||||||
%{_libdir}/libgmp.so
|
%{_libdir}/libgmp.so
|
||||||
%{_libdir}/libgmpxx.so
|
%{_libdir}/libgmpxx.so
|
||||||
|
%{_libdir}/libmp.so
|
||||||
/usr/include/gmp.h
|
/usr/include/gmp.h
|
||||||
/usr/include/gmpxx.h
|
/usr/include/gmpxx.h
|
||||||
|
/usr/include/mp.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user