Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 4dcaf426756db0dd98b66828837d5438 > files > 2

milia-0.3.0-2.fc13.src.rpm

Name: milia
Version: 0.3.0
Release: 2%{?dist}
Summary: C++ cosmology library

Group: Development/Libraries
License: GPLv3+
URL: http://guaix.fis.ucm.es/projects/milia/wiki
Source0: ftp://astrax.fis.ucm.es/pub/users/spr/%{name}/%{name}-%{version}.tar.gz

BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: gsl-devel boost-devel cppunit-devel

%description
Milia is a C++ library created to compute cosmological distances and 
ages in the Friedmann-Lemaître-Robertson-Walker metric. 
The luminosity distance is 
computed using elliptical functions (Kantowski, Kao, Thomas 2000). 
The remaining distances are computed from the luminosity distance using 
Hogg 1999. The age is computed following Thomas & Kantowski 2000, using also 
elliptical functions.

%package devel
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: boost-devel
Requires: %{name} = %{version}-%{release}
%description devel
These are the header files and libraries needed to develop a %{name} 
application.

%prep
%setup -q

%build
%configure --disable-static
make %{?_smp_mflags}

%check
make %{?_smp_mflags} check

%install
rm -rf %{buildroot}
make %{?_smp_mflags}  install DESTDIR=%{buildroot}


%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc COPYING NEWS README
%{_libdir}/*so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/*.la
%{_includedir}/*

%changelog
* Wed Jan 20 2010 Sergio Pascual <sergiopr at astrax.fis.ucm.es> - 0.3.0-2
- Removed requires pkgconfig
- Fixed minor typos

* Mon Jan 18 2010 Sergio Pascual <sergiopr at astrax.fis.ucm.es> - 0.3.0-1
- Initial spec file.