SPECS: stellarium.spec - Version: 0.10.0

jajcus jajcus at pld-linux.org
Sun Jan 4 14:57:50 CET 2009


Author: jajcus                       Date: Sun Jan  4 13:57:50 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Version: 0.10.0

---- Files affected:
SPECS:
   stellarium.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/stellarium.spec
diff -u SPECS/stellarium.spec:1.20 SPECS/stellarium.spec:1.21
--- SPECS/stellarium.spec:1.20	Sun Jul  8 22:15:48 2007
+++ SPECS/stellarium.spec	Sun Jan  4 14:57:44 2009
@@ -1,34 +1,32 @@
 # $Revision$, $Date$
+%define guide_version 0.9.1-1
 Summary:	Realistic sky generator
 Summary(pl.UTF-8):	Realistyczny generator obrazu nieba
 Name:		stellarium
-Version:	0.9.0
-Release:	2
+Version:	0.10.0
+Release:	1
 License:	GPL v2
 Group:		X11/Applications/Science
-Source0:	http://dl.sourceforge.net/stellarium/%{name}-%{version}.tar.gz
-# Source0-md5:	781a5171705c72e4dd3d08c9b1e4c15c
+Source0:	http://dl.sourceforge.net/stellarium/%{name}-%{version}.tgz
+# Source0-md5:	09465fa11a8caab7a4410f1e5ff6eb8c
 Source1:	%{name}.desktop
 Source2:	%{name}.png
-Source3:	http://dl.sourceforge.net/stellarium/%{name}_user_guide-%{version}-1.pdf
-# Source3-md5:	13370d7553538a803d181b1d3ac13d0e
-Patch0:		%{name}-moc.patch
-Patch1:		%{name}-qt-path.patch
-Patch2:		%{name}-po.patch
+Source3:	http://dl.sourceforge.net/stellarium/%{name}_user_guide-%{guide_version}.pdf
+# Source3-md5:	0e708c4c0af77712c64b22cbfa398fb4
+Patch0:		%{name}-po.patch
 URL:		http://www.stellarium.org/
 BuildRequires:	OpenGL-devel
 BuildRequires:	QtGui-devel
 BuildRequires:	QtOpenGL-devel
+BuildRequires:	QtScript-devel
 BuildRequires:	SDL_mixer-devel >= 1.2
-BuildRequires:	autoconf
-BuildRequires:	automake
+BuildRequires:	cmake
 BuildRequires:	curl-devel
 BuildRequires:	freetype-devel
 BuildRequires:	gettext-devel
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libpng-devel
-BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -70,26 +68,15 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 # bogus "Hawaiian" translation (English with some quirks and empty strings)
-rm po/hw.po
+rm po/*/{haw,fil}.po
 
 install %{SOURCE3} .
 
 %build
-%{__gettextize}
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-
-%configure \
-	--disable-sdltest \
-	--with-qt42 \
-	--with-qt-dir=/usr
-%{__make}
+%cmake \
+        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+        .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -101,14 +88,14 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-%find_lang %{name}
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO %{name}_user_guide-%{version}-1.pdf
+%doc AUTHORS ChangeLog README %{name}_user_guide-%{guide_version}.pdf
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_desktopdir}/%{name}.desktop
@@ -121,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2009/01/04 13:57:44  jajcus
+- Version: 0.10.0
+
 Revision 1.20  2007/07/08 20:15:48  qboosh
 - hw comment
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/stellarium.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list