]> git.pld-linux.org Git - packages/povray.git/commitdiff
- ver. 3.50c
authorwrobell <wrobell@pld-linux.org>
Wed, 30 Oct 2002 17:04:52 +0000 (17:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- do not build with x, when using conditional without x
- md5sum checking added to avoid some headaches and bandwidth

Changed files:
    povray.spec -> 1.31

povray.spec

index 7f2083fc5d3f5665b19c527de65d22bb0678f901..7f4454386bb34023f76e82cf5100340f0ee1bd92 100644 (file)
@@ -6,11 +6,12 @@
 Summary:       Persistence of Vision Ray Tracer
 Summary(pl):   Persistence of Vision Ray Tracer
 Name:          povray
-Version:       3.50b
-Release:       2
+Version:       3.50c
+Release:       1
 License:       distributable
 Group:         Applications/Graphics
 Source0:       ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz
+Source1:       %{name}-%{version}.md5sum
 Patch0:                %{name}-legal.patch
 Patch1:                %{name}-types.patch
 # pvm support not yet available - http://pvmpov.sourceforge.net/
@@ -84,17 +85,27 @@ Plik wykonywalny The Persistence of Vision(tm) Ray-Tracer dla
 PVM/xwin.
 
 %prep
+cd %{_sourcedir}
+md5sum -c %{name}-%{version}.md5sum
+cd -
 %setup -q
 %patch0 -p1
+%ifarch alpha
 %patch1 -p1
+%endif
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%if %{!?_without_x:1}%{?_without_x:0}
 %configure \
        --x-includes=%{_prefix}/X11R6/include \
        --x-libraries=%{_prefix}/X11R6/lib
 %{__make}
 install src/povray x-povray
 %{__make} clean
+%endif
 
 %configure \
        --without-x
@@ -107,9 +118,12 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_prefix}/X11R6/bin}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%if %{!?_without_x:1}%{?_without_x:0}
 install x-povray $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
+%endif
+
 install povray.ini $RPM_BUILD_ROOT%{_sysconfdir}
-ln -sf %{_sysconfdir}/povray.ini $RPM_BUILD_ROOT%{_datadir}/povray-*/povray.ini
+ln -sf %{_sysconfdir}/povray.ini $RPM_BUILD_ROOT%{_datadir}/povray-3.5/povray.ini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.066352 seconds and 4 git commands to generate.