- 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
|
||||
obsoletes "gmp-<targettype>"
|
||||
libgmpxx4
|
||||
libmp3
|
||||
gmp-devel
|
||||
requires -gmp-<targettype>
|
||||
requires "libgmp10-<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
|
||||
|
||||
|
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).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Torbjorn Granlund <tege@zevs.sics.se>
|
||||
|
||||
%package -n libgmp10
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Shared library for the GNU MP Library
|
||||
@ -59,11 +54,6 @@ Obsoletes: gmp <= 4.2.3
|
||||
Shared library for the GNU MP Library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Torbjorn Granlund <tege@zevs.sics.se>
|
||||
|
||||
%package -n libgmpxx4
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: C++ bindings for the GNU MP Library
|
||||
@ -74,10 +64,15 @@ Requires: libgmp10 = %{version}
|
||||
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
|
||||
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++
|
||||
Requires: libgmp10 = %{version}
|
||||
Requires: libgmpxx4 = %{version}
|
||||
Requires: libmp3 = %{version}
|
||||
AutoReqProv: on
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
@ -133,7 +129,8 @@ CFLAGS="$RPM_OPT_FLAGS -fexceptions" \
|
||||
--build=%{sanitized_platform} \
|
||||
--disable-mpfr \
|
||||
--enable-cxx \
|
||||
--enable-fat
|
||||
--enable-fat \
|
||||
--enable-mpbsd
|
||||
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -145,11 +142,15 @@ make install DESTDIR=${RPM_BUILD_ROOT}
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libgmp.la
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.la
|
||||
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 libgmpxx4 -p /sbin/ldconfig
|
||||
|
||||
%post -n libmp3 -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
%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 libmp3 -p /sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
@ -171,6 +174,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgmpxx.so.4*
|
||||
|
||||
%files -n libmp3
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmp.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README NEWS
|
||||
@ -179,7 +186,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libgmp.a
|
||||
%{_libdir}/libgmp.so
|
||||
%{_libdir}/libgmpxx.so
|
||||
%{_libdir}/libmp.so
|
||||
/usr/include/gmp.h
|
||||
/usr/include/gmpxx.h
|
||||
/usr/include/mp.h
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user