rpms/plt-scheme/FC-4 .cvsignore, 1.6, 1.7 plt-scheme.spec, 1.15, 1.16 sources, 1.6, 1.7
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Tue Jun 20 17:11:48 UTC 2006
Author: gemi
Update of /cvs/extras/rpms/plt-scheme/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30867/FC-4
Modified Files:
.cvsignore plt-scheme.spec sources
Log Message:
new version 350
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/plt-scheme/FC-4/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 28 Jan 2006 13:37:03 -0000 1.6
+++ .cvsignore 20 Jun 2006 17:11:48 -0000 1.7
@@ -1 +1 @@
-plt-301-src-unix.tgz
+plt-350-src-unix.tgz
Index: plt-scheme.spec
===================================================================
RCS file: /cvs/extras/rpms/plt-scheme/FC-4/plt-scheme.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- plt-scheme.spec 15 Mar 2006 09:44:39 -0000 1.15
+++ plt-scheme.spec 20 Jun 2006 17:11:48 -0000 1.16
@@ -1,12 +1,12 @@
Name: plt-scheme
-Version: 301
+Version: 350
Release: 1%{?dist}
Summary: Graphical environment for developing programs using Scheme
Group: Development/Languages
License: LGPL
URL: http://www.drscheme.org
-Source: http://download.plt-scheme.org/bundles/301/plt/plt-301-src-unix.tgz
+Source: http://download.plt-scheme.org/bundles/350/plt/plt-350-src-unix.tgz
Source1: drscheme.png
Patch0: plt-x86_64-lib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -54,7 +54,7 @@
%build
cd src
-%configure --enable-gl --enable-xrender --enable-xft
+CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure --enable-gl --enable-xrender --enable-xft
make %{?_smp_mflags}
@@ -62,34 +62,30 @@
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/plt
pushd src
-make install prefix=$RPM_BUILD_ROOT%{_libdir}/plt
+make install
popd
-for i in drscheme framework-test framework-test-engine games gmzc help-desk mzc mzpp mztext pdf-slatex planet setup-plt slatex slideshow swindle tex2page web-server web-server-monitor web-server-text
-do
- sed -i -e "s|PLTHOME=.*$|PLTHOME=%{_libdir}/plt|" $RPM_BUILD_ROOT%{_libdir}/plt/bin/$i
-done
+cp -fr bin collects doc include lib $RPM_BUILD_ROOT%{_libdir}/plt
+
+# clean up
+find $RPM_BUILD_ROOT%{_libdir}/plt -type d -exec chmod 0755 '{}' ';'
+rm -rf $RPM_BUILD_ROOT%{_libdir}/plt/collects/plot/src
mkdir -p $RPM_BUILD_ROOT%{_bindir}
pushd $RPM_BUILD_ROOT%{_bindir}
-for i in drscheme mred mzc mzscheme setup-plt
+for i in ../%{_lib}/plt/bin/*
do
- ln -sf ../%{_lib}/plt/bin/$i .
+ ln -sf $i .
done
popd
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-cp -p $RPM_BUILD_ROOT%{_libdir}/plt/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
-
-rm -fr $RPM_BUILD_ROOT%{_libdir}/plt/man
-rm -fr $RPM_BUILD_ROOT%{_libdir}/plt/notes
-
-# get-base.ss causes error during install
-#find $RPM_BUILD_ROOT%{_libdir}/plt -name get-base\* | xargs rm -f
+cp -p man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
+
cat > drscheme.desktop <<EOF
[Desktop Entry]
Name=DrScheme
@@ -115,21 +111,20 @@
rm -rf $RPM_BUILD_ROOT
-%post
-%{_libdir}/plt/install > /dev/null 2> /dev/null
-
-
%files
%defattr(-,root,root,-)
-%doc notes/*
+%doc readme.txt
%{_bindir}/*
%{_libdir}/plt
-%{_mandir}/*/*
+%{_mandir}/man*/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
%changelog
+* Tue Jun 20 2006 Gerard Milmeister <gemi at bluewin.ch> - 350-1
+- new version 350
+
* Sat Jan 28 2006 Gerard Milmeister <gemi at bluewin.ch> - 301-1
- new version 301
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/plt-scheme/FC-4/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 28 Jan 2006 13:37:03 -0000 1.6
+++ sources 20 Jun 2006 17:11:48 -0000 1.7
@@ -1 +1 @@
-61f43172460bb297edcf3e0c3599a5e2 plt-301-src-unix.tgz
+ab6ca3e14f1b82bd8dfb04518e769dfc plt-350-src-unix.tgz
More information about the fedora-extras-commits
mailing list