Author: pluto Date: Wed Mar 10 21:41:28 2010 GMT Module: packages Tag: HEAD ---- Log message: - initial spec.
---- Files affected: packages/libmpc: libmpc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libmpc/libmpc.spec diff -u /dev/null packages/libmpc/libmpc.spec:1.1 --- /dev/null Wed Mar 10 22:41:28 2010 +++ packages/libmpc/libmpc.spec Wed Mar 10 22:41:23 2010 @@ -0,0 +1,94 @@ +# $Revision$, $Date$ +Summary: Complex floating-point library with high precision and exact rounding +Summary(pl.UTF-8): Biblioteka do obliczeń na liczbach zespolonych z wielokrotną precyzją i poprawnym zaokrąglaniem +Name: libmpc +Version: 0.8.1 +Release: 1 +License: LGPL 2.1+ +Group: Libraries +Source0: http://multiprecision.org/mpc/download/mpc-%{version}.tar.gz +# Source0-md5: 5b34aa804d514cc295414a963aedb6bf +URL: http://multiprecision.org/ +BuildRequires: gmp-devel +BuildRequires: mpfr-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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. + +%description -l pl.UTF-8 +Biblioteka MPC to biblioteka C do obliczeń na liczbach zespolonych z +wielokrotną precyzją i poprawnym zaokrąglaniem wyników. Zbudowana jest +na tych samych założeniach co biblioteka MPFR. + +%package devel +Summary: Header files for MPC library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MPC +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for MPC library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki MPC. + +%package static +Summary: Static MPC library +Summary(pl.UTF-8): Statyczna biblioteka MPC +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static MPC library. + +%description static -l pl.UTF-8 +Statyczna biblioteka MPC. + +%prep +%setup -q -n mpc-%{version} + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS NEWS README TODO +%attr(755,root,root) %{_libdir}/libmpc.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libmpc.so.2 + +%files devel +%defattr(644,root,root,755) +%{_libdir}/libmpc.so +%{_libdir}/libmpc.la +%{_includedir}/mpc.h +%{_infodir}/mpc.info* + +%files static +%defattr(644,root,root,755) +%{_libdir}/libmpc.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/03/10 21:41:23 pluto +- initial spec. + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
