forked from pool/racket
Accepting request 530201 from home:olszewst:branches:devel:languages:misc
- Racket version bumped to 6.10.1. - Spec changes * Drop --collectsdir in %configure in favour of --prefix (%configure would fail otherwise) * Drop 0-size file guard. This used to delete lock files (LOCKpkgs.rktd) lack of which would result in errors in many contexts, including basic usage of both DrRacket and raco (package manager) * Drop %_datadir/%name/collects from %dir, because parent folder is already included in another %dir entry. This fixes a warning about collects folder being listed twice. * Added reference to starter-sh. * Drop DrRacket's -singleInstance option from %suse_update_desktop_file. This option caused error messages coming from %suse_update_desktop_file itself. OBS-URL: https://build.opensuse.org/request/show/530201 OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=23
This commit is contained in:
parent
6591774675
commit
dd29ca9212
3
racket-6.10.1-src.tgz
Normal file
3
racket-6.10.1-src.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cca96a5b70201398fad5cf37e501dee51b8186acc6353cf9f101d37344377f6c
|
||||||
|
size 22239896
|
@ -1,3 +1,6 @@
|
|||||||
addFilter("unexpanded-macro /usr/share/racket/collects/srfi/")
|
addFilter("unexpanded-macro /usr/share/racket/collects/srfi/")
|
||||||
addFilter("file-contains-buildroot.*/usr/share/racket/pkgs/.*zo")
|
addFilter("file-contains-buildroot.*/usr/share/racket/pkgs/.*zo")
|
||||||
addFilter("file-contains-buildroot.*/usr/share/doc/packages/racket/syntax/module-helpers.html")
|
addFilter("file-contains-buildroot.*/usr/share/doc/packages/racket/syntax/module-helpers.html")
|
||||||
|
addFilter("file-contains-buildroot.*/usr/share/doc/packages/racket/rackunit/api.html")
|
||||||
|
addFilter("file-contains-buildroot.*/usr/share/doc/packages/racket/reference/collects.html")
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bf2bce50b02c626666a8d2093638893e8beb8b2a19cdd43efa151a686c88edcf
|
|
||||||
size 20966104
|
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 24 21:10:21 UTC 2017 - olszewst@gmail.com
|
||||||
|
|
||||||
|
- Racket version bumped to 6.10.1.
|
||||||
|
- Spec changes
|
||||||
|
* Drop --collectsdir in %configure in favour of --prefix (%configure
|
||||||
|
would fail otherwise)
|
||||||
|
* Drop 0-size file guard. This used to delete lock files (LOCKpkgs.rktd)
|
||||||
|
lack of which would result in errors in many contexts, including
|
||||||
|
basic usage of both DrRacket and raco (package manager)
|
||||||
|
* Drop %_datadir/%name/collects from %dir, because parent folder is already
|
||||||
|
included in another %dir entry. This fixes a warning about collects folder
|
||||||
|
being listed twice.
|
||||||
|
* Added reference to starter-sh.
|
||||||
|
* Drop DrRacket's -singleInstance option from %suse_update_desktop_file. This
|
||||||
|
option caused error messages coming from %suse_update_desktop_file itself.
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 11 22:37:03 UTC 2017 - sfalken@opensuse.org
|
Sat Mar 11 22:37:03 UTC 2017 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
11
racket.spec
11
racket.spec
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: racket
|
Name: racket
|
||||||
Version: 6.6
|
Version: 6.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Scheme implementation with teaching tools
|
Summary: Scheme implementation with teaching tools
|
||||||
License: LGPL-2.1+ and GPL-3.0+
|
License: LGPL-2.1+ and GPL-3.0+
|
||||||
@ -26,7 +26,7 @@ Group: Development/Languages/Scheme
|
|||||||
Url: http://racket-lang.org
|
Url: http://racket-lang.org
|
||||||
Source0: http://download.racket-lang.org/installers/%version/%name-%version-src.tgz
|
Source0: http://download.racket-lang.org/installers/%version/%name-%version-src.tgz
|
||||||
Source2: racket-completion.bash
|
Source2: racket-completion.bash
|
||||||
Source3: racket-5.3.rpmlintrc
|
Source3: racket-6.10.1.rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM aarch64 support for gc
|
# PATCH-FIX-UPSTREAM aarch64 support for gc
|
||||||
Patch1: gc-aarch64.patch
|
Patch1: gc-aarch64.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -104,7 +104,7 @@ cp %{S:2} src/.
|
|||||||
%build
|
%build
|
||||||
cd src
|
cd src
|
||||||
|
|
||||||
%configure --enable-shared --disable-static --docdir="%_defaultdocdir/%name" --collectsdir="%_datadir/%name/collects" --disable-strip --enable-places --enable-lt="%_bindir/libtool"
|
%configure --prefix="%_datadir" --docdir="%_defaultdocdir/%name" --enable-shared --disable-static --disable-strip --enable-places --enable-lt="%_bindir/libtool"
|
||||||
make %{?_smp_mflags} VERBOSE=1
|
make %{?_smp_mflags} VERBOSE=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -118,7 +118,6 @@ install -d %buildroot/%_datadir/doc/%name/
|
|||||||
|
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
find %buildroot -type f -size 0 -delete
|
|
||||||
# we do not need *.la and *.a files
|
# we do not need *.la and *.a files
|
||||||
|
|
||||||
find %buildroot%_libdir -name "*.la" -delete
|
find %buildroot%_libdir -name "*.la" -delete
|
||||||
@ -129,7 +128,7 @@ install -Dm 644 %_builddir/%name-%version/share/pkgs/drracket/drracket/drracket.
|
|||||||
|
|
||||||
# rewrite path in .desktop files
|
# rewrite path in .desktop files
|
||||||
|
|
||||||
%suse_update_desktop_file -c drracket "DrRacket" "DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages" "%_bindir/drracket -singleInstance" "drracket" Development IDE
|
%suse_update_desktop_file -c drracket "DrRacket" "DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages" "%_bindir/drracket" "drracket" Development IDE
|
||||||
%suse_update_desktop_file -c slideshow "Slideshow" "Slideshow is a Racket-based tool for writing slide presentations as programs" "%_bindir/slideshow" "drracket" Development Documentation
|
%suse_update_desktop_file -c slideshow "Slideshow" "Slideshow is a Racket-based tool for writing slide presentations as programs" "%_bindir/slideshow" "drracket" Development Documentation
|
||||||
|
|
||||||
%fdupes %buildroot%_prefix
|
%fdupes %buildroot%_prefix
|
||||||
@ -171,9 +170,9 @@ install -Dm 644 %_builddir/%name-%version/share/pkgs/drracket/drracket/drracket.
|
|||||||
%_libdir/*.so
|
%_libdir/*.so
|
||||||
%_libdir/%name/mzdyn3m.o
|
%_libdir/%name/mzdyn3m.o
|
||||||
%_datadir/%name/*
|
%_datadir/%name/*
|
||||||
%dir %_datadir/%name/collects
|
|
||||||
%_libdir/%name/starter
|
%_libdir/%name/starter
|
||||||
%_libdir/%name/gracket
|
%_libdir/%name/gracket
|
||||||
|
%_libdir/%name/starter-sh
|
||||||
%_libdir/%name/*.rktd
|
%_libdir/%name/*.rktd
|
||||||
%_mandir/man1/mz*
|
%_mandir/man1/mz*
|
||||||
%_mandir/man1/racket*
|
%_mandir/man1/racket*
|
||||||
|
Loading…
Reference in New Issue
Block a user