]> git.pld-linux.org Git - packages/celestia.git/commitdiff
- Added gcc34.patch auto/ac/celestia-1_3_1-2
authoradgor <adgor@pld-linux.org>
Thu, 27 May 2004 09:15:55 +0000 (09:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Fixed %%install
- Release 2

Changed files:
    celestia.spec -> 1.41

celestia.spec

index 91a885dcac9b3e2bf2bc7a4448bbadba1c7b381e..e11336040d44efd45be9fe07d7748f40d1d10c68 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A real-time visual space simulation
 Summary(pl):   Symulacja przestrzeni kosmicznej w czasie rzeczywistym
 Name:          celestia
 Version:       1.3.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Applications/Science
 Source0:       http://dl.sourceforge.net/celestia/%{name}-%{version}.tar.gz
@@ -10,6 +10,7 @@ Source0:      http://dl.sourceforge.net/celestia/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Source2:       %{name}-solar-%{version}.tar.gz
 # Source2-md5: eabbb0718956528245de3573ae7f8bd7
+Patch0:                %{name}-gcc34.patch
 URL:           http://www.shatters.net/celestia/
 BuildRequires: OpenGL-devel
 BuildRequires: autoconf
@@ -42,7 +43,6 @@ Obsoletes:    celestia-textures-pluto-default
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1 libGLcore.so.1
-%define                _htmldir        %{_docdir}/kde/HTML
 
 %description
 Celestia is a free real-time space simulation that lets you experience
@@ -280,6 +280,7 @@ Europa, Ganimedes, Calypso) o wielko
 
 %prep
 %setup -q -a2
+%patch0 -p1
 
 echo "You can remove this package safely." > PLACEHOLDER-TASK-DEFAULT
 
@@ -288,31 +289,36 @@ echo "You can remove this package safely." > PLACEHOLDER-TASK-DEFAULT
 %{__aclocal} -I macros
 %{__autoconf}
 %{__automake}
+
 CPPFLAGS="-I/usr/X11R6/include"
 CXXFLAGS="%{rpmcflags} -fno-exceptions"
-kde_htmldir="%{_htmldir}"; export kde_htmldir
+
 %configure \
        --disable-rpath \
        --with-kde \
        --without-gtk \
        --without-lua \
        --with-xinerama
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       kde_htmldir=%{_kdedocdir}
 
 # desktop/icon
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
-cp src/celestia/kde/data/hi48-app-celestia.png $RPM_BUILD_ROOT%{_pixmapsdir}/celestia.png
+install src/celestia/kde/data/hi48-app-celestia.png \
+       $RPM_BUILD_ROOT%{_pixmapsdir}/celestia.png
 
 # solarsys.ssc generator
 install -d $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
 install solar/* $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/data/solarsys
+
 cat > $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/solarsys-gen << EOF
 #!/bin/sh
 cd %{_datadir}/apps/%{name}/data
This page took 0.101539 seconds and 4 git commands to generate.