Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev:devel
libmpc
libmpc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmpc.spec of Package libmpc
%define realname mpc %define realver 1.2.1 %define srcext tar.gz %define so_ver 3 # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: libmpc%{?so_ver} Version: %{realver} Release: wiz%{?extraver:0.}1%{?dist} License: LGPL-3.0+ Group: System/Libraries URL: http://mpc.multiprecision.org/ Summary: GNU Multiple Precision Complex Library # Install-time parameters Provides: %{realname} = %{version}-%{release} # Build-time parameters BuildRequires: gmp-devel >= 5.0.0 BuildRequires: mpfr-devel >= 4.1.0 BuildRoot: %{_tmppath}/%{name}-root Source0: http://ftp.gnu.org/gnu/mpc/%{realname}-%{realver}%{?extraver}.%{srcext} Source999: baselibs.conf %description GNU Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It extends the principles of the IEEE-754 standard for fixed precision real floating point numbers to complex numbers, providing well-defined semantics for every operation. At the same time, speed of operation at high precision is a major design goal. %package -n %{!?suse_version:lib}mpc-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Provides: %{?suse_version:lib}mpc-devel = %{version}-%{release} %description -n %{!?suse_version:lib}mpc-devel Development files for %{name} # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build _CFLAGS='%{optflags} %{?gcc_lto}' _LDFLAGS='-Wl,--as-needed -Wl,--strip-all -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro %{?gcc_lto}' %configure \ --disable-static \ CFLAGS="$_CFLAGS" \ LDFLAGS="$_LDFLAGS" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %license COPYING* %doc AUTHORS NEWS README %{_libdir}/libmpc.so.%{?so_ver}* # Development stuff %files -n %{!?suse_version:lib}mpc-devel %defattr(-,root,root) %{_includedir}/mpc.h %{_libdir}/libmpc.so %exclude %{_libdir}/*.la %doc %{_infodir}/* %exclude %{_infodir}/dir %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n %{!?suse_version:lib}mpc-devel /sbin/install-info %{_infodir}/mpc.info* %{_infodir}/dir || : %preun -n %{!?suse_version:lib}mpc-devel if [ ${1} -eq 0 ]; then /sbin/install-info --delete %{_infodir}/mpc.info* %{_infodir}/dir || : fi %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor