rpms/plt-scheme/devel .cvsignore, 1.12, 1.13 plt-scheme.spec, 1.36, 1.37 sources, 1.13, 1.14
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Mon Jun 16 19:57:51 UTC 2008
Author: gemi
Update of /cvs/pkgs/rpms/plt-scheme/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15623
Modified Files:
.cvsignore plt-scheme.spec sources
Log Message:
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/plt-scheme/devel/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore 23 Feb 2008 17:11:03 -0000 1.12
+++ .cvsignore 16 Jun 2008 19:56:55 -0000 1.13
@@ -1 +1 @@
-plt-372-src-unix.tgz
+plt-4.0-src-unix.tgz
Index: plt-scheme.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plt-scheme/devel/plt-scheme.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- plt-scheme.spec 23 Feb 2008 17:11:03 -0000 1.36
+++ plt-scheme.spec 16 Jun 2008 19:56:55 -0000 1.37
@@ -1,12 +1,13 @@
Name: plt-scheme
-Version: 372
-Release: 1%{?dist}
+Version: 4.0
+Release: 2%{?dist}
+Epoch: 1
Summary: Graphical environment for developing programs using Scheme
Group: Development/Languages
License: LGPLv2+
URL: http://www.drscheme.org
-Source: http://download.plt-scheme.org/bundles/372/plt/plt-372-src-unix.tgz
+Source: http://download.plt-scheme.org/bundles/%{version}/plt/plt-%{version}-src-unix.tgz
Source1: drscheme.png
Patch0: plt-x86_64-lib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -33,7 +34,6 @@
BuildRequires: pkgconfig
Obsoletes: plt, drscheme
Provides: plt, drscheme, mzscheme, mred, mrflow
-ExcludeArch: ppc64
%description
@@ -60,7 +60,7 @@
%prep
-%setup -q -n plt-372
+%setup -q -n plt-%{version}
%ifarch x86_64
%patch0 -p1
%endif
@@ -68,7 +68,25 @@
%build
cd src
-CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS %configure --enable-gl --enable-xrender --enable-xft
+%ifarch x86_64
+%define plt_opt_flags `echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
+%configure --enable-gl --enable-xrender --enable-xft CFLAGS="%plt_opt_flags" CXXFLAGS="%plt_opt_flags"
+%endif
+
+%ifarch ppc
+echo 'ac_cv_lib_Xaw_vendorShellClassRec=yes' > config.cache
+%configure -C --enable-gl --enable-xrender --enable-xft
+%endif
+
+%ifarch ppc64
+%configure --enable-gl --enable-xrender --enable-xft --enable-cgcdefault
+%endif
+
+%ifnarch x86_64 ppc ppc64
+%configure --enable-gl --enable-xrender --enable-xft
+%endif
+
+
make # %{?_smp_mflags}
@@ -81,6 +99,8 @@
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
find $RPM_BUILD_ROOT -size 0 | xargs rm -f
+fgrep -lr "$RPM_BUILD_ROOT" $RPM_BUILD_ROOT | xargs rm -f
+
mv $RPM_BUILD_ROOT%{_bindir}/planet $RPM_BUILD_ROOT%{_bindir}/plt-planet
@@ -122,6 +142,12 @@
%changelog
+* Mon Jun 16 2008 Gerard Milmeister <gemi at bluewin.ch> - 1:4.0-2
+- fix builds for different architectures
+
+* Sat Jun 14 2008 Gerard Milmeister <gemi at bluewin.ch> - 1:4.0-1
+- new release 4.0
+
* Sat Feb 23 2008 Gerard Milmeister <gemi at bluewin.ch> - 372-1
- new release 372
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/plt-scheme/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- sources 23 Feb 2008 17:11:03 -0000 1.13
+++ sources 16 Jun 2008 19:56:55 -0000 1.14
@@ -1 +1 @@
-751217f63bc64423a29a05423f917af8 plt-372-src-unix.tgz
+c4d1c05c306897a57b900ff3a609c655 plt-4.0-src-unix.tgz
More information about the fedora-extras-commits
mailing list