caaa16
%define guidever 0.10.2-1
cab31a
5a75f3
Name:           stellarium
3b70db
Jochen Schmitt 00a73d
Version:        0.11.4a
Jochen Schmitt 00a73d
Release:        1%{?dist}
0c6348
Summary:        Photo-realistic nightsky renderer
cvsextras e2e5e5
cvsextras e2e5e5
Group:          Amusements/Graphics
b82527
License:        GPLv2+
cvsextras e2e5e5
URL:            http://stellarium.free.fr/
fb7338
Source0:        http://downloads.sourceforge.net/stellarium/stellarium-%{version}.tar.gz
cvsextras e2e5e5
Source1:        stellarium.desktop
caaa16
Source2:        http://downloads.sourceforge.net/stellarium/stellarium_user_guide-%{guidever}.pdf
480053
cvsextras e2e5e5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras e2e5e5
aaca9c
BuildRequires:  SDL_mixer-devel
cvsextras e2e5e5
BuildRequires:  desktop-file-utils
ea6dc4
BuildRequires:  mesa-libGLU-devel
cvsextras e2e5e5
BuildRequires:  ImageMagick
70a62c
BuildRequires:  freetype-devel
a114d8
BuildRequires:	cmake
3b70db
BuildRequires:	qt4-devel >= 4.6.0
aa1da0
BuildRequires:	gettext-devel
aa1da0
BuildRequires:	boost-devel
cb7c84
BuildRequires:	glib2-devel
cvsextras e2e5e5
987e19
Requires:	opengl-games-utils
987e19
ab1576
Requires:	dejavu-sans-fonts dejavu-sans-mono-fonts
b3c11c
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
ea6dc4
%package doc
ea6dc4
Summary:   	The user guide about Stellarium
ea6dc4
Group:		Documentation
b82527
License:	GFDL
e6785e
Buildarch:	noarch
ea6dc4
%description doc
ea6dc4
The user guide for stellarium writeen by Matthew Gates. It shouuld 
ea6dc4
contains everythings you want to know about Stellarium.
ea6dc4
ea6dc4
You will need a PDF viewer to read the user guide.
cvsextras e2e5e5
cvsextras e2e5e5
%prep
Jochen Schmitt 00a73d
%setup -q -n stellarium-0.11.4
cvsextras e2e5e5
cvsextras e2e5e5
%build
a114d8
export CFLAGS="$RPM_OPT_FLAGS"
a114d8
export CXXFLAGS="$RPM_OPT_FLAGS"
a114d8
%cmake -DCMAKE_BUILD_TYPE=Release
a114d8
make VERBOSE=1 %{?_smp_mflags}
30411c
convert -size 32x32 data/icon.bmp stellarium.png
cvsextras e2e5e5
cvsextras e2e5e5
%install
cvsextras e2e5e5
rm -rf $RPM_BUILD_ROOT
6cafde
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{_bindir}/install -c -p"
cvsextras e2e5e5
Jochen Schmitt 69fe87
# Remove unwanted files
Jochen Schmitt 69fe87
rm -f $RPM_BUILD_ROOT%{_datadir}/stellarium/data/*.ttf
Jochen Schmitt 69fe87
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/stellarium.xpm
Jochen Schmitt 69fe87
rm -f $RPM_BUILD_ROOT%{_datadir}/stellarium/data/stellarium.ico
Jochen Schmitt bf3b33
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/stellarium.desktop
Jochen Schmitt 69fe87
cvsextras e2e5e5
desktop-file-install                            \
cvsextras e2e5e5
  --vendor fedora                               \
cvsextras e2e5e5
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
cvsextras e2e5e5
  %{SOURCE1}
Jochen Schmitt bf3b33
6cafde
install -m 0644 -p stellarium.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/stellarium.png
Jochen Schmitt 00a73d
cp %{SOURCE2} $RPM_BUILD_DIR/stellarium-0.11.4
cvsextras e2e5e5
815106
ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/stellarium-wrapper
987e19
db34c4
%find_lang %{name}
cab31a
%find_lang %{name}-skycultures
cab31a
cat %{name}-skycultures.lang >>%{name}.lang
cvsextras e2e5e5
cvsextras e2e5e5
%clean
cvsextras e2e5e5
rm -rf $RPM_BUILD_ROOT
cvsextras e2e5e5
db34c4
%files -f %{name}.lang
cvsextras e2e5e5
%defattr(-,root,root,-)
cb7c84
%doc AUTHORS ChangeLog COPYING README 
cvsextras e2e5e5
%{_bindir}/stellarium
987e19
%{_bindir}/stellarium-wrapper
cvsextras e2e5e5
%{_datadir}/%{name}
cvsextras e2e5e5
%{_datadir}/applications/*%{name}.desktop
cvsextras e2e5e5
%{_datadir}/pixmaps/%{name}.png
cab31a
%{_mandir}/man1/stellarium.1.gz
ea6dc4
ea6dc4
%files doc
fb7da8
%defattr(-,root,root,-) 
cab31a
%doc COPYING stellarium_user_guide-%{guidever}.pdf
ea6dc4
cvsextras e2e5e5
%changelog
Jochen Schmitt 00a73d
* Mon Aug 27 2012 Jochen Schmitt <JOchen her-schmitt de> - 0.11.4a-1
Jochen Schmitt 00a73d
- New upstream release
Jochen Schmitt 00a73d
Jochen Schmitt 00a73d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3
Jochen Schmitt 00a73d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Jochen Schmitt 00a73d
Jochen Schmitt 00a73d
* Fri Jun  8 2012 Jochen Schmitt <s4504kr@omega.in.herr-schmitt.de> - 0.11.3-2
Jochen Schmitt bf3b33
- Remove duplicate desktop file
Jochen Schmitt bf3b33
Jochen Schmitt 69fe87
* Mon Jun  4 2012 Jochen Schmitt <Jochen herr-schmitt de> 0.11.3-1
Jochen Schmitt 69fe87
- New upstream release
Jochen Schmitt 69fe87
Jochen Schmitt 69fe87
* Tue Mar 13 2012 Jochen Schmitt <Jochen herr-schmitt de> 0.11.2-1
Jochen Schmitt 58f48d
- New upstream release
Jochen Schmitt 58f48d
Jochen Schmitt 69fe87
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-3
Jochen Schmitt 69fe87
- Rebuilt for c++ ABI breakage
Jochen Schmitt 69fe87
Jochen Schmitt 69fe87
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
Jochen Schmitt 69fe87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Jochen Schmitt 37287d
Jochen Schmitt 69fe87
* Tue Nov  8 2011 Jochen Schmitt <Jochen herr-schmitt de> 0.11.1-1
Jochen Schmitt 69fe87
- New upstream release
Jochen Schmitt 69fe87
Jochen Schmitt 69fe87
* Tue Jul  5 2011 Jochen Schmitt <Jochen herr-schmitt de> 0.11.0-1
Jochen Schmitt 69fe87
- New upstream release
Jochen Schmitt 69fe87
Jochen Schmitt 69fe87
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.6-2
Jochen Schmitt 69fe87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Jochen Schmitt 69fe87
Jochen Schmitt 69fe87
* Mon Dec  6 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.6-1
Jochen Schmitt 69fe87
- New upstream release
Jochen Schmitt 1ef191
f99070
* Thu Jun  3 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.5-1
f99070
- Nrw upstream release
f99070
f99070
* Sun Mar 14 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.4-4
f99070
- Set StartupNotify=true in desktop file
f99070
fd433b
* Wed Feb 24 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.4-3
fd433b
- Remove font files
fd433b
3b70db
* Tue Feb 23 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.4-2
3b70db
- Fix uploaded sources
3b70db
3b70db
* Tue Feb 23 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.4-1
3b70db
- New upstream release
3b70db
3b70db
* Sun Jan 31 2010 Jochen Schmitt <Jochen herr-schmitt de> 0.10.3-1
3b70db
- New upstream release (#559929)
3b70db
3b70db
* Wed Nov 25 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.10.2-7
3b70db
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
3b70db
3b70db
* Sun Nov  1 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.2-6
294cb7
- Remove symlink to font files
294cb7
caaa16
* Thu Sep 24 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.2-5
caaa16
- Updated program documentation (#525302)
caaa16
d7e043
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.2-4
d7e043
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d7e043
647b87
* Thu Jul  2 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.2-3
647b87
- Rebuild for new boost release
647b87
910e83
* Tue Mar 24 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.2-2
910e83
- Changed desktop file (#491922)
910e83
a462ba
* Thu Mar 12 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.2-1
a462ba
- New upstream release
a462ba
e6785e
* Thu Mar  5 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.1-4
e6785e
- Support noarch subpackates
e6785e
5c5d19
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
5c5d19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5c5d19
50ccc6
* Sun Feb  8 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.1-2
fb7338
- New upstream release
fb7338
fb7338
* Sun Jan 18 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.0-3
ab1576
- Change Req. to fonts pakcage because fonts package renaming (#480474)
ab1576
b3c11c
* Sun Jan  4 2009 Jochen Schmitt <Jochen herr-schmitt de> 0.10.0-2
b3c11c
- Create symlinks to DejaVu fonts (#477460)
b3c11c
cab31a
* Wed Sep 24 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.10.0-1
cab31a
- New upstream release
cab31a
cab31a
* Sat Sep  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.1-7
b82527
- fix license tag
b82527
cab31a
*  Mon Feb 11 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.1-6
1c0cb9
- Fix gcc-4.3 related issues
964bac
1c0cb9
* Tue Jan 22 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.1-1
cb7c84
- New upstream release
cb7c84
815106
* Tue Oct 23 2007 Will Woods <wwoods@redhat.com> 0.9.0-6
815106
- Fix opengl-game-wrapper.sh usage
815106
987e19
* Wed Sep 26 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-5
987e19
- Add usage of opengl-game-wrapper (BZ #304851)
987e19
cc8eb0
* Thu Aug  9 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-4
987e19
- Rebuild
cc8eb0
ca03da
* Tue Aug  7 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-3
987e19
- Solve weakday displaying issue (#250621)
ca03da
63633f
* Wed Jun 27 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-2
63633f
- Change category of the desktop entry (#241440)
63633f
a114d8
* Tue Jun 12 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-1
a114d8
- New upstream release
a114d8
6cafde
* Sun Dec 17 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.2-5
30411c
- Resize icon to 32x32
30411c
480053
* Tue Nov 14 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.2-3
480053
- Try to fix AMD64 problem (#210525)
480053
fa0ede
* Thu Oct 19 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.2-2
fa0ede
- Fix segfault on x64 systems (#210525)
fa0ede
1378e7
* Tue Oct 10 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.2-1
1378e7
- New upstream release
257624
fb7da8
* Tue Jul  4 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.1-1
fb7da8
- New upstream release
fb7da8
- Fix demaged PDF (#197301)
fb7da8
b1fb1b
* Wed May 31 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.0-4
b1fb1b
- Update user guide
b1fb1b
- change dl.sf.net to prdownloads.sf.net
b1fb1b
70a62c
* Sun May  7 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.8.0-3
d9cf0a
- New upstream release
d9cf0a
f1cb72
* Tue Feb 14 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.7.1-7
ea6dc4
- Add stellarium user guide as doc subpackage
ea6dc4
- Add gcc41 patch from Diego Petteno
ea6dc4
ea6dc4
* Mon Feb 13 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.7.1-4
aaca9c
- Add SDL_mixer-devel as BuildRequires:
aaca9c
96ed94
* Sun Feb 12 2006 Jochen Schmitt <Jochen herr-schmitt de> 0.7.1-3
96ed94
- Rebuilt for FC5
96ed94
db34c4
* Mon Oct 10 2005 Jochen Schmitt <Jochen herr-schmitt de> 0.7.1-2
db34c4
- use of %%find_lang
db34c4
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.