19894b4
Name: cloudy
Sergio Pascual e265ad8
Version: 13.04
0d35205
Release: 2%{?dist}
19894b4
Summary: Spectral synthesis code to simulate conditions in interstellar matter
19894b4
19894b4
19894b4
Group: Applications/Engineering
19894b4
License: BSD
19894b4
URL: http://www.nublado.org/
Sergio Pascual 84f501c
Source0: http://data.nublado.org/cloudy_releases/c13/c%{version}.tar.gz
19894b4
Sergio Pascual 84f501c
Obsoletes: cloudy <  08.00-10
Sergio Pascual 84f501c
Obsoletes: cloudy-devel <  08.00-10
Sergio Pascual 84f501c
Obsoletes: cloudy-devel-doc <  08.00-10
Sergio Pascual 84f501c
Obsoletes: cloudy-libs <  08.00-10
d348b4a
BuildRequires: perl-generators
19894b4
Sergio Pascual 84f501c
Requires: %{name}-data = %{version}-%{release}
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
Sergio Pascual 84f501c
%package data
Sergio Pascual 84f501c
Summary: data %{name}
Sergio Pascual 84f501c
BuildArch: noarch
Sergio Pascual 84f501c
 
Sergio Pascual 84f501c
%description data
Sergio Pascual 84f501c
This package contains the atomic data for %{name}.
19894b4
f3e9c73
%package doc
f3e9c73
Summary: Documentation for %{name}
6575d92
BuildArch: noarch
19894b4
 
f3e9c73
%description doc
f3e9c73
This package contains the usage documentation for %{name}.
f3e9c73
19894b4
%prep
19894b4
%setup -q -n c%{version}
9a49791
rm data/chianti/mn/mn_8/.meo.swp
19894b4
19894b4
%build
19894b4
cd source
f3e9c73
make %{?_smp_mflags} CXX="%{__cxx}" CXXFLAGS="%{optflags}" \
f3e9c73
    CLOUDY_DATA_PATH=%{_datadir}/%{name}/data/
19894b4
19894b4
%install
f3e9c73
mkdir -p %{buildroot}/%{_bindir}
f3e9c73
mkdir -p %{buildroot}/%{_datadir}/%{name}/scripts
f3e9c73
mkdir -p %{buildroot}/%{_datadir}/%{name}/grain
Sergio Pascual 84f501c
install -m 755 source/cloudy.exe %{buildroot}/%{_bindir}
Sergio Pascual 84f501c
cp -a data/ %{buildroot}/%{_datadir}/%{name}/
Sergio Pascual 84f501c
rm -rf %{buildroot}/%{_datadir}/%{name}/data/cdms+jpl/convert_calpgm
Sergio Pascual 84f501c
rm -rf %{buildroot}/%{_datadir}/%{name}/data/cdms+jpl/convert_calpgm.cpp
Sergio Pascual 84f501c
rm -rf %{buildroot}/%{_datadir}/%{name}/data/cdms+jpl/.gitignore
Sergio Pascual 84f501c
Sergio Pascual 84f501c
%check
Sergio Pascual 84f501c
echo "test" > test.in
Sergio Pascual 84f501c
export CLOUDY_DATA_PATH="%{buildroot}/%{_datadir}/%{name}/data/"
Sergio Pascual 84f501c
%{buildroot}/%{_bindir}/cloudy.exe -r test
19894b4
19894b4
%files
Sergio Pascual e265ad8
%license license.txt 
Sergio Pascual e265ad8
%doc readme.txt 
19894b4
%{_bindir}/*
19894b4
Sergio Pascual 84f501c
%files data
Sergio Pascual 84f501c
%doc data/readme_data.htm data/readme_LineList_dat.txt
7015917
%{_datadir}/%{name}
19894b4
Sergio Pascual 84f501c
%files doc
Sergio Pascual e265ad8
%license license.txt
Sergio Pascual e265ad8
%doc docs/* 
19894b4
19894b4
%changelog
0d35205
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 13.04-2
0d35205
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0d35205
Sergio Pascual e265ad8
* Tue Aug 02 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 13.04-1
Sergio Pascual e265ad8
- New upstream source (13.04), fixes GCC 6 build failure
Sergio Pascual e265ad8
46c1369
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 13.03-8
46c1369
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
46c1369
9bab04e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.03-7
9bab04e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9bab04e
70355cf
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 13.03-6
70355cf
- Rebuilt for GCC 5 C++11 ABI change
70355cf
6a88664
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.03-5
6a88664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6a88664
d3795ad
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.03-4
d3795ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d3795ad
9a49791
* Sat Apr  5 2014 Ville Ville Skyttä <ville.skytta@iki.fi> - 13.03-3
9a49791
- Don't ship editor backup files
9a49791
Sergio Pascual 91ef5df
* Tue Feb 04 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 13.03-2
Sergio Pascual 91ef5df
- Remove doxygen source and build requires
Sergio Pascual 91ef5df
Sergio Pascual 84f501c
* Tue Feb 04 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 13.03-1
Sergio Pascual 84f501c
- New upstream version
Sergio Pascual 84f501c
Sergio Pascual 9c12d54
* Wed Jan 22 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 08.00-9
Sergio Pascual 9c12d54
- Updated macros
Sergio Pascual 9c12d54
- Fix bz #1037017, format security error
Sergio Pascual 9c12d54
0da58a1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.00-8
0da58a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0da58a1
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
Sergio Pascual 9c12d54
* Sun 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