Projects
home:pandora:RobinOS23
gmp
_service:download_src_package:gmp.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:gmp.spec of Package gmp
%define anolis_release 2 Name: gmp Version: 6.2.1 Release: %{anolis_release}%{?dist} Epoch: 1 URL: https://gmplib.org Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.xz Patch0: CVE-2021-43618.patch License: LGPLv3 and GPLv2 BuildRequires: autoconf automake libtool gcc gcc-c++ perl-Carp Summary: A GNU multiple precision arithmetic library %description GMP is a portable library written in C for arbitrary precision arithmetic on integers, rational numbers, and floating-point numbers. It aims to provide the fastest possible arithmetic for all applications that need higher precision than is directly supported by the basic C types. %package devel Summary: Development library package for GMP. Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-c++ = %{epoch}:%{version}-%{release} %description devel Devel package include header files, documentation and libraries for GMP %package static Summary: Development tools for the GNU MP arbitrary precision library Requires: %{name}-devel = %{epoch}:%{version}-%{release} %description static The static libraries for using the GNU MP arbitrary precision library in applications. %package c++ Summary: C++ development library package for GMP. Requires: %{name} = %{epoch}:%{version}-%{release} %description c++ GMP dependent library for C++ applications. %package doc Summary: Doc files for GMP. Requires: %{name} = %{epoch}:%{version}-%{release} BuildArch: noarch %description doc Doc files for GMP. %prep %autosetup -p1 %build autoreconf -ifv if as --help | grep -q execstack; then export CCAS="gcc -c -Wa,--noexecstack" fi %configure --enable-cxx --enable-shared --enable-static %make_build %install %make_install install -m 644 gmp-mparam.h ${RPM_BUILD_ROOT}%{_includedir} rm -f $RPM_BUILD_ROOT%{_infodir}/dir find ${RPM_BUILD_ROOT} -name "*.la" -delete %check %make_build check %files %{!?_licensedir:%global license %%doc} %license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3 %{_libdir}/libgmp.so.* %files devel %{_libdir}/libgmpxx.so %{_libdir}/libgmp.so %{_libdir}/pkgconfig/*.pc %{_includedir}/*.h %{_infodir}/gmp.info* %files static %{_libdir}/libgmpxx.a %{_libdir}/libgmp.a %files c++ %{_libdir}/libgmpxx.so.* %files doc %doc NEWS README %changelog * Sun Oct 09 2022 Funda Wang <fundawang@yeah.net> - 6.2.1-2 - Rework package layout for compatiblity with a8 - Add patch for CVE-2021-43618 * Thu Mar 10 2022 liuzhilin <liuzhilin@uniontech.com> - 6.2.1-1 - Init for Anolis OS 23
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2