|
|
19894b4 |
Name: cloudy
|
|
|
f3e9c73 |
Version: 08.00
|
|
|
8befb0e |
Release: 7%{?dist}
|
|
|
19894b4 |
Summary: Spectral synthesis code to simulate conditions in interstellar matter
|
|
|
19894b4 |
|
|
|
f3e9c73 |
%define upversion 08.00
|
|
|
19894b4 |
|
|
|
19894b4 |
Group: Applications/Engineering
|
|
|
19894b4 |
License: BSD
|
|
|
19894b4 |
URL: http://www.nublado.org/
|
|
|
f3e9c73 |
Source0: ftp://gradj.pa.uky.edu/gary/cloudy_gold/c%{upversion}.tar.gz
|
|
|
24c5df7 |
Source1: cloudy_no_date_footer.tar.gz
|
|
|
19894b4 |
Patch0: cloudy-doxygen.patch
|
|
|
19894b4 |
Patch1: cloudy-shared.patch
|
|
|
19894b4 |
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
19894b4 |
|
|
|
19894b4 |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
19894b4 |
|
|
|
19894b4 |
BuildRequires: doxygen graphviz tetex-latex
|
|
|
19894b4 |
|
|
|
19894b4 |
%description
|
|
|
19894b4 |
Most of the quantitative information we have about the cosmos comes from
|
|
|
19894b4 |
spectroscopy. In many cases the light we analyze was produced by atoms in
|
|
|
19894b4 |
the first generations of stars and galaxies. The spectra are produced by
|
|
|
19894b4 |
dilute gas where such properties as the gas kinetic temperature, chemical
|
|
|
19894b4 |
state, level of ionization, and level populations, are determined by a
|
|
|
19894b4 |
host of microphysical processes rather than by a single temperature.
|
|
|
19894b4 |
Analytical solutions are seldom possible and computer solutions are
|
|
|
19894b4 |
needed to understand their physical properties. Numerical simulations make
|
|
|
19894b4 |
it possible to understand complex physical environments starting from
|
|
|
19894b4 |
first principles. Cloudy is designed to do exactly this.
|
|
|
19894b4 |
|
|
|
19894b4 |
%package devel
|
|
|
19894b4 |
Summary: Headers for developing programs that will use %{name}
|
|
|
19894b4 |
Group: Development/Libraries
|
|
|
19894b4 |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
19894b4 |
|
|
|
19894b4 |
%description devel
|
|
|
19894b4 |
These are the header files and libraries needed to develop a %{name}
|
|
|
19894b4 |
application.
|
|
|
19894b4 |
|
|
|
19894b4 |
%package libs
|
|
|
19894b4 |
Summary: Cloudy runtime libraries
|
|
|
19894b4 |
Group: System Environment/Libraries
|
|
|
19894b4 |
%description libs
|
|
|
19894b4 |
Cloudy is a Spectral synthesis code to simulate conditions in
|
|
|
f3e9c73 |
interstellar matter. This package contains the %{name} run-time library
|
|
|
19894b4 |
|
|
|
f3e9c73 |
%package doc
|
|
|
f3e9c73 |
Summary: Documentation for %{name}
|
|
|
19894b4 |
Group: Documentation
|
|
|
6575d92 |
BuildArch: noarch
|
|
|
19894b4 |
|
|
|
f3e9c73 |
%description doc
|
|
|
f3e9c73 |
This package contains the usage documentation for %{name}.
|
|
|
f3e9c73 |
|
|
|
f3e9c73 |
%package devel-doc
|
|
|
f3e9c73 |
Summary: Developer documentation for %{name}
|
|
|
f3e9c73 |
Group: Documentation
|
|
|
f3e9c73 |
BuildArch: noarch
|
|
|
f3e9c73 |
Obsoletes: cloudy-docs < 08.00-1
|
|
|
f3e9c73 |
Provides: cloudy-docs = %{version}-%{release}
|
|
|
f3e9c73 |
|
|
|
f3e9c73 |
%description devel-doc
|
|
|
f3e9c73 |
Developer documentation for %{name}
|
|
|
19894b4 |
|
|
|
19894b4 |
%prep
|
|
|
19894b4 |
%setup -q -n c%{version}
|
|
|
24c5df7 |
%setup -q -n c%{version} -T -D -a 1
|
|
|
19894b4 |
%patch0 -p1
|
|
|
19894b4 |
%patch1 -p1
|
|
|
f3e9c73 |
chmod +x source/precompile.pl
|
|
|
19894b4 |
|
|
|
19894b4 |
%build
|
|
|
19894b4 |
cd source
|
|
|
f3e9c73 |
make %{?_smp_mflags} CXX="%{__cxx}" CXXFLAGS="%{optflags}" \
|
|
|
f3e9c73 |
CLOUDY_DATA_PATH=%{_datadir}/%{name}/data/
|
|
|
19894b4 |
cd ..
|
|
|
19894b4 |
cd doxygen
|
|
|
19894b4 |
doxygen Doxyfile
|
|
|
19894b4 |
# Deleting empty files
|
|
|
19894b4 |
find -empty -exec rm '{}' ';'
|
|
|
19894b4 |
# Spurious file
|
|
|
19894b4 |
find -name installdox -exec rm '{}' ';'
|
|
|
19894b4 |
|
|
|
19894b4 |
%install
|
|
|
f3e9c73 |
rm -rf %{buildroot}
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_libdir}
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_includedir}/%{name}
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/data
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/scripts
|
|
|
f3e9c73 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/grain
|
|
|
f3e9c73 |
install -m 755 source/cloudy.exe %{buildroot}/%{_bindir}/cloudy
|
|
|
f3e9c73 |
install -m 755 source/libcloudy.so.* %{buildroot}/%{_libdir}
|
|
|
f3e9c73 |
cp -a source/libcloudy.so %{buildroot}/%{_libdir}
|
|
|
f3e9c73 |
cp -a source/cddefines.h %{buildroot}/%{_includedir}/%{name}
|
|
|
f3e9c73 |
cp -a source/cpu.h %{buildroot}/%{_includedir}/%{name}
|
|
|
f3e9c73 |
cp -a source/cddrive.h %{buildroot}/%{_includedir}/%{name}
|
|
|
f3e9c73 |
cp -a data/*.opc %{buildroot}/%{_datadir}/%{name}/data
|
|
|
f3e9c73 |
cp -a data/*.ini %{buildroot}/%{_datadir}/%{name}/data
|
|
|
f3e9c73 |
cp -a data/*.dat %{buildroot}/%{_datadir}/%{name}/data
|
|
|
f3e9c73 |
cp -a data/*.rfi %{buildroot}/%{_datadir}/%{name}/grain
|
|
|
f3e9c73 |
cp -a data/*.szd %{buildroot}/%{_datadir}/%{name}/grain
|
|
|
f3e9c73 |
cp -a data/*.in %{buildroot}/%{_datadir}/%{name}/scripts
|
|
|
19894b4 |
|
|
|
19894b4 |
%clean
|
|
|
19894b4 |
%{__rm} -fr %{buildroot}
|
|
|
19894b4 |
|
|
|
19894b4 |
%post libs -p /sbin/ldconfig
|
|
|
19894b4 |
|
|
|
19894b4 |
%postun libs -p /sbin/ldconfig
|
|
|
19894b4 |
|
|
|
19894b4 |
%files
|
|
|
19894b4 |
%defattr(-,root,root,-)
|
|
|
b2b24ba |
%doc readme.txt
|
|
|
19894b4 |
%{_bindir}/*
|
|
|
19894b4 |
|
|
|
f3e9c73 |
%files doc
|
|
|
f3e9c73 |
%defattr(-,root,root,-)
|
|
|
824538c |
%doc license.txt docs/*
|
|
|
f3e9c73 |
|
|
|
19894b4 |
%files libs
|
|
|
19894b4 |
%defattr(-,root,root,-)
|
|
|
19894b4 |
%doc license.txt data/readme_data.htm data/readme_LineList_dat.txt
|
|
|
19894b4 |
%{_libdir}/lib%{name}.so.*
|
|
|
7015917 |
%{_datadir}/%{name}
|
|
|
19894b4 |
|
|
|
19894b4 |
%files devel
|
|
|
19894b4 |
%defattr(-,root,root,-)
|
|
|
19894b4 |
%doc license.txt
|
|
|
19894b4 |
%{_includedir}/%{name}
|
|
|
19894b4 |
%{_libdir}/lib%{name}.so
|
|
|
19894b4 |
|
|
|
f3e9c73 |
%files devel-doc
|
|
|
19894b4 |
%defattr(-,root,root,-)
|
|
|
824538c |
%doc license.txt doxygen/html
|
|
|
19894b4 |
|
|
|
19894b4 |
%changelog
|
|
|
8befb0e |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.00-7
|
|
|
8befb0e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8befb0e |
|
|
|
aec7d71 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.00-6
|
|
|
aec7d71 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
aec7d71 |
|
|
|
3358778 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.00-5
|
|
|
3358778 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
3358778 |
|
|
|
e21eed2 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.00-4
|
|
|
e21eed2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e21eed2 |
|
|
|
b2b24ba |
* Fri Jul 09 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 08.00-3
|
|
|
b2b24ba |
- Reorganized help docs
|
|
|
b2b24ba |
|
|
|
824538c |
* Fri Jul 09 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 08.00-2
|
|
|
824538c |
- Include license as %doc in -doc subpackages
|
|
|
824538c |
|
|
|
f3e9c73 |
* Sun Apr 04 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 08.00-1
|
|
|
f3e9c73 |
- New upstream source
|
|
|
f3e9c73 |
- Devel documentations in its own subpackage devel-doc
|
|
|
f3e9c73 |
- Program documentation in doc subpackage (bz #492431)
|
|
|
f3e9c73 |
|
|
|
ee3456a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 07.02.01-7
|
|
|
ee3456a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ee3456a |
|
|
|
f3e9c73 |
* Tue Jun 16 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-7
|
|
|
6575d92 |
- Noarch subpackage for docs
|
|
|
6575d92 |
|
|
|
1264742 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 07.02.01-6
|
|
|
1264742 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
1264742 |
|
|
|
f3e9c73 |
* Mon Dec 01 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-5
|
|
|
7015917 |
- Directory not owned by package (bz #473639)
|
|
|
7015917 |
|
|
|
f3e9c73 |
* Thu Mar 27 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-4
|
|
|
aa285e4 |
- Timestamps in footer of doxygen docs removed (bz #436495)
|
|
|
aa285e4 |
|
|
|
f3e9c73 |
* Thu Mar 27 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-3
|
|
|
aa285e4 |
- Docs package is noarch (reverted)
|
|
|
1765ca2 |
|
|
|
f3e9c73 |
* Sat Feb 24 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-2
|
|
|
1b50b28 |
- Too much files in docs
|
|
|
1b50b28 |
|
|
|
f3e9c73 |
* Thu Feb 14 2008 Sergio Pascual <sergiopr at fedoraproject.org> - 07.02.01-1
|
|
|
19894b4 |
- Initial specfile
|