cvsextras e2e5e5
Name:           stellarium
be3e1b
Version:        0.7.1
be3e1b
Release:        1%{?dist}
0c6348
Summary:        Photo-realistic nightsky renderer
cvsextras e2e5e5
cvsextras e2e5e5
Group:          Amusements/Graphics
cvsextras e2e5e5
License:        GPL
cvsextras e2e5e5
URL:            http://stellarium.free.fr/
be3e1b
Source0:        http://dl.sf.net/stellarium/stellarium-%{version}.tar.gz
cvsextras e2e5e5
Source1:        stellarium.desktop
cvsextras e2e5e5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras e2e5e5
cvsextras e2e5e5
BuildRequires:  SDL-devel
cvsextras e2e5e5
BuildRequires:  desktop-file-utils
cvsextras e2e5e5
BuildRequires:  ImageMagick
be3e1b
BuildRequires:  libpng-devel
cvsextras e2e5e5
0c6348
%description
cvsextras e2e5e5
Stellarium is a real-time 3D photo-realistic nightsky renderer. It can
cvsextras e2e5e5
generate images of the sky as seen through the Earth's atmosphere with
cvsextras e2e5e5
more than one hundred thousand stars from the Hipparcos Catalogue,
cvsextras e2e5e5
constellations, planets, major satellites and nebulas.
cvsextras e2e5e5
cvsextras e2e5e5
cvsextras e2e5e5
%prep
cvsextras e2e5e5
%setup -q
cvsextras e2e5e5
cvsextras e2e5e5
%build
cvsextras e2e5e5
%configure
cvsextras e2e5e5
make %{?_smp_mflags}
cvsextras e2e5e5
convert data/stellarium.ico stellarium.png
cvsextras e2e5e5
cvsextras e2e5e5
cvsextras e2e5e5
%install
cvsextras e2e5e5
rm -rf $RPM_BUILD_ROOT
cvsextras e2e5e5
make install DESTDIR=$RPM_BUILD_ROOT
cvsextras e2e5e5
cvsextras e2e5e5
desktop-file-install                            \
cvsextras e2e5e5
  --vendor fedora                               \
cvsextras e2e5e5
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsextras e2e5e5
  --add-category X-Fedora                       \
cvsextras e2e5e5
  %{SOURCE1}
cvsextras e2e5e5
iconv -f iso-8859-1 -t utf-8 $RPM_BUILD_ROOT%{_mandir}/man1/stellarium.1 \
cvsextras e2e5e5
  -o $RPM_BUILD_ROOT%{_mandir}/man1/stellarium.1.utf8
cvsextras e2e5e5
mv $RPM_BUILD_ROOT%{_mandir}/man1/stellarium.1.utf8 $RPM_BUILD_ROOT%{_mandir}/man1/stellarium.1
cvsextras e2e5e5
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
d49a62
install -m 0644 -p stellarium-2.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/stellarium.png
cvsextras e2e5e5
rm $RPM_BUILD_ROOT%{_datadir}/stellarium/data/{icon.bmp,files_format.txt,stellarium.ico}
cvsextras e2e5e5
cvsextras e2e5e5
cvsextras e2e5e5
%clean
cvsextras e2e5e5
rm -rf $RPM_BUILD_ROOT
cvsextras e2e5e5
cvsextras e2e5e5
cvsextras e2e5e5
%files
cvsextras e2e5e5
%defattr(-,root,root,-)
cvsextras e2e5e5
%doc AUTHORS ChangeLog COPYING NEWS README TODO
cvsextras e2e5e5
%{_bindir}/stellarium
cvsextras e2e5e5
%{_datadir}/%{name}
cvsextras e2e5e5
%{_datadir}/applications/*%{name}.desktop
cvsextras e2e5e5
%{_datadir}/pixmaps/%{name}.png
cvsextras e2e5e5
%{_mandir}/man1/*
cvsextras e2e5e5
be3e1b
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/stellarium.mo
be3e1b
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/stellarium.mo
be3e1b
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/stellarium.mo
cvsextras e2e5e5
cvsextras e2e5e5
%changelog
be3e1b
* Sun Oct  9 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 0.7.1-1
be3e1b
- New upstream release
be3e1b
0bfc11
* Thu Aug 11 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 0.6.2-6
0bfc11
- Add %%{?dist} to release.
0bfc11
2e92dd
* Wed Aug 10 2005 Jochen Schmitt <jochen herr-schmitt="" de=""> 0.6.2-5
2e92dd
- Fix build for GCC4.
2e92dd
d49a62
* Thu Apr 14 2005 Michael Schwendt <mschwendt[at]users.sf.net> - 0.6.2-4
d49a62
- Fix build for GCC4.
d49a62
- Fix desktop icon installation.
d49a62
99467b
* Fri Apr  7 2005 Michael Schwendt <mschwendt[at]users.sf.net>
99467b
- rebuilt
99467b
5a6cdb
* Sun Jan 23 2005 Marius L. Jøhndal <mariuslj at="" ifi.uio.no=""> - 0:0.6.2-2
5a6cdb
- Fixed broken patch.
5a6cdb
5a6cdb
* Sun Jan 16 2005 Marius L. Jøhndal <mariuslj at="" ifi.uio.no=""> - 0:0.6.2-0.fdr.1
5a6cdb
- Updated to 0.6.2.
5a6cdb
5a6cdb
* Sun Oct 17 2004 Marius L. Jøhndal <mariuslj at="" ifi.uio.no=""> - 0:0.6.1-0.fdr.1
deaa22
- Updated to 0.6.1.
deaa22
cvsextras e2e5e5
* Sat Aug 21 2004 Marius L. Jøhndal <mariuslj at="" ifi.uio.no=""> - 0:0.6.0-0.fdr.2
cvsextras e2e5e5
- Patched to honour optflags.
cvsextras e2e5e5
- Added nvidia specific patch.
cvsextras e2e5e5
cvsextras e2e5e5
* Sat Jul 17 2004 Marius L. Jøhndal <mariuslj at="" ifi.uio.no=""> - 0:0.6.0-0.fdr.1
cvsextras e2e5e5
- Initial RPM release.