rpms/qd/F-10 qd.spec,NONE,1.1 sources,1.1,1.2

Jussi Lehtola jussilehtola at fedoraproject.org
Mon Mar 9 17:58:26 UTC 2009


Author: jussilehtola

Update of /cvs/pkgs/rpms/qd/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26478/F-10

Modified Files:
	sources 
Added Files:
	qd.spec 
Log Message:
* Mon Mar 09 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-5
- Import to Fedora.



--- NEW FILE qd.spec ---
# Disable debug package since only static library provided (leading to an empty debuginfo file)
%global debug_package %{nil}

Name:		qd
Version:	2.3.7
Release:	5%{?dist}
Summary:	Double-Double and Quad-Double Arithmetic
Group:		Applications/Engineering
License:	BSD
URL:		http://www.cs.berkeley.edu/~yozo/
Source0:	http://www.cs.berkeley.edu/%7Eyozo/software/qd-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	gcc-c++
BuildRequires:	gcc-gfortran

%description
This package provides numeric types of twice the precision of IEEE
double (106 mantissa bits, or approximately 32 decimal digits) and
four times the precision of IEEE double (212 mantissa bits, or
approximately 64 decimal digits).  Due to features such as operator
and function overloading, these facilities can be utilized
with only minor modifications to conventional C++ and Fortran-90
programs.

In addition to the basic arithmetic operations (add, subtract,
multiply, divide, square root), common transcendental functions such
as the exponential, logarithm, trigonometric and hyperbolic functions
are also included. 

%package devel
Summary:	Double-Double and Quad-Double Arithmetic
Group:		Applications/Engineering
Provides:	qd-static = %{name}-%{version}

%description devel
This package provides numeric types of twice the precision of IEEE
double (106 mantissa bits, or approximately 32 decimal digits) and
four times the precision of IEEE double (212 mantissa bits, or
approximately 64 decimal digits).  Due to features such as operator
and function overloading, these facilities can be utilized
with only minor modifications to conventional C++ and Fortran-90
programs.

In addition to the basic arithmetic operations (add, subtract,
multiply, divide, square root), common transcendental functions such
as the exponential, logarithm, trigonometric and hyperbolic functions
are also included.


%prep
%setup -q -n qd-%{version}

%build
export CC=gcc
export CXX=g++	
export FC=gfortran
export FCFLAGS="%{optflags}"
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Fix location of documentation
mv %{buildroot}/usr/share/doc/qd/* .
rm -rf %{buildroot}/usr/share/

%check
make check

%clean
rm -rf $RPM_BUILD_ROOT

%files devel
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README qd.pdf TODO
%{_bindir}/qd-config
%{_includedir}/qd
%{_libdir}/*

%changelog
* Sun Mar 08 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-5
- Fix license.

* Thu Dec 18 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-4
- Change base name back to qd.

* Sat Dec 13 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-3
- Removed debug package.

* Sat Dec 13 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-2
- Review fixes.
- Rename package to qd-devel.

* Thu Nov 06 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.3.7-1
- First release.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qd/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Mar 2009 16:04:53 -0000	1.1
+++ sources	9 Mar 2009 17:57:55 -0000	1.2
@@ -0,0 +1 @@
+8a66004a0eead55cf3cca87ddf3b69d8  qd-2.3.7.tar.gz




More information about the fedora-extras-commits mailing list