libmpc 1.4.1
This commit is contained in:
commit
c38e9c781a
1 changed files with 41 additions and 0 deletions
41
libmpc.spec
Normal file
41
libmpc.spec
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
Name: libmpc
|
||||||
|
Version: 1.4.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: C library for the arithmetic of complex numbers
|
||||||
|
|
||||||
|
License: GPL
|
||||||
|
URL: https://www.multiprecision.org/mpc
|
||||||
|
Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc gmp-devel mpfr-devel
|
||||||
|
Requires: bash
|
||||||
|
|
||||||
|
%description
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n mpc-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
|
%{?ldconfig_scriptlets}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}
|
||||||
|
%{_includedir}
|
||||||
|
%{_datadir}
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Apr 17 2026 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||||
|
-
|
||||||
Loading…
Add table
Add a link
Reference in a new issue