[flam3: 1/2] Update to 3.0.1

Ian Weller ianweller at fedoraproject.org
Thu Jan 26 21:29:13 UTC 2012


commit 753df6726cabb1ba0202b92c0ed24815ae3fbf7d
Author: Ian Weller <ian at ianweller.org>
Date:   Thu Jan 26 15:27:32 2012 -0600

    Update to 3.0.1

 flam3.spec |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/flam3.spec b/flam3.spec
index 42f9938..3cbc01c 100644
--- a/flam3.spec
+++ b/flam3.spec
@@ -1,20 +1,18 @@
 Name:           flam3
-Version:        3.0
-Release:        4.20101118svn35%{?dist}
+Version:        3.0.1
+Release:        1%{?dist}
 Summary:        Programs to generate and render cosmic recursive fractal flames
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://www.flam3.com/
-# To create this file:
-#   svn checkout -r 35 http://flam3.googlecode.com/svn/trunk/ flam3-3.0
-#   tar cz flam3-3.0 > flam3-3.0-r35.tar.gz
-Source0:        flam3-3.0-r35.tar.gz
+Source0:        http://flam3.googlecode.com/files/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libxml2-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libjpeg-devel
+BuildRequires:  chrpath
 
 %description
 Flam3, or Fractal Flames, are algorithmically generated images and animations.
@@ -22,6 +20,7 @@ This is free software to render fractal flames as described on
 http://flam3.com. Flam3-animate makes animations, and flam3-render makes still
 images. Flam3-genome creates and manipulates genomes (parameter sets).
 
+
 %package devel
 Summary:        C headers to generate and render cosmic recursive fractal flames
 Group:          Applications/Multimedia
@@ -44,16 +43,15 @@ package contains a header file for C, a library, and a pkgconfig file.
 
 
 %build
-%configure --prefix=%{_prefix} --includedir=%{_includedir}/%{name} --enable-shared --disable-static
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+%configure --prefix=%{_prefix} --includedir=%{_includedir}/%{name} --enable-shared
 make %{?_smp_mflags}
 
 
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot} INSTALL="install -p"
-rm %{buildroot}/%{_libdir}/lib%{name}.la
+rm %{buildroot}/%{_libdir}/lib%{name}.la %{buildroot}/%{_libdir}/lib%{name}.a
+chrpath --delete %{buildroot}%{_bindir}/flam3-*
 
 
 %clean
@@ -84,6 +82,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jan 26 2012 Ian Weller <iweller at redhat.com> - 3.0.1-1
+- Update to 3.0.1, hopefully it fixes libpng issues
+
 * Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 3.0-4.20101118svn35
 - Rebuild for new libpng
 


More information about the scm-commits mailing list