Пакет libmpc: Specfile

Name: libmpc
Version: 0.8.2
Release: alt0.M51.1

Summary: Complex floating-point library with high precision and exact rounding
License: LGPL 2.1+
Group: System/Libraries
Url: http://multiprecision.org/
Packager: Kirill A. Shutemov <kas@altlinux.org>

Source: mpc-%version.tar

BuildRequires: libgmp-devel libmpfr-devel

%description
The MPC library is a C library for the arithmetic of complex numbers
with arbitrarily high precision and correct rounding of the result. It
is built upon and follows the same principles as MPFR.

%package devel
Summary: Header files for MPC library
Group: Development/C
Requires: %name = %version-%release

%package static
Summary: Static MPC library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel
Header files for MPC library.

%description static
Static MPC library.

%prep
%setup -q -n mpc-%version

%build
%configure
%make_build

%install
%make_install DESTDIR=$RPM_BUILD_ROOT install

%files
%doc AUTHORS NEWS README TODO
%_libdir/libmpc.so.*

%files devel
%_libdir/libmpc.so
%_includedir/mpc.h
%_infodir/mpc.info*

%files static
%_libdir/libmpc.a

%changelog
* Sat Mar 05 2011 Igor Vlasenko <viy@altlinux.ru> 0.8.2-alt0.M51.1
- M51 backport

* Wed Oct 20 2010 Kirill A. Shutemov <kas@altlinux.org> 0.8.2-alt1
- 0.8.2

* Sun Mar 21 2010 Kirill A. Shutemov <kas@altlinux.org> 0.8.1-alt1
- Initial build for ALT Linux Sisyphus