forked from pool/gap-browse
Compare commits
2 Commits
5b5a714b3f
...
1dc5093b57
Author | SHA256 | Date | |
---|---|---|---|
1dc5093b57 | |||
b3796cee18 |
BIN
Browse-1.8.21.tar.bz2
(Stored with Git LFS)
BIN
Browse-1.8.21.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
Browse-1.8.21.tar.xz
(Stored with Git LFS)
Normal file
BIN
Browse-1.8.21.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 18:52:24 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Remove BIBL
|
||||
- Switch to ncurses6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 23:00:16 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -23,7 +23,9 @@ Summary: GAP: ncurses interface and browsing applications
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Scientific/Math
|
||||
URL: https://www.math.rwth-aachen.de/homes/Browse/
|
||||
Source: https://www.math.rwth-aachen.de/homes/Browse/Browse-%version.tar.bz2
|
||||
#Source: https://www.math.rwth-aachen.de/homes/Browse/Browse-%version.tar.bz2
|
||||
Source: Browse-%version.tar.xz
|
||||
Source9: sanitize_source.sh
|
||||
BuildRequires: gap-devel >= 4.12
|
||||
BuildRequires: gap-rpm-devel >= 4.12
|
||||
BuildRequires: gmp-devel
|
||||
@@ -48,10 +50,9 @@ The Browse package provides three levels of functionality
|
||||
|
||||
%build
|
||||
./configure "%gapdir"
|
||||
# Browse must be compiled with ncurses-5 or -w5. Crashes with ncurses-6.
|
||||
make %{?_smp_mflags} \
|
||||
CFLAGS="%optflags -DWIDECHARS $(ncursesw5-config --cflags)" \
|
||||
LOPTS="$(ncursesw5-config --libs) -lpanelw"
|
||||
%make_build \
|
||||
CFLAGS="%optflags -DWIDECHARS $(ncursesw6-config --cflags)" \
|
||||
LOPTS="$(ncursesw6-config --libs) -lpanelw"
|
||||
|
||||
%install
|
||||
%gappkg_simple_install
|
||||
|
7
sanitize_source.sh
Executable file
7
sanitize_source.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh -ex
|
||||
v="1.8.21"
|
||||
wget -c "https://www.math.rwth-aachen.de/homes/Browse/Browse-$v.tar.bz2"
|
||||
tar -xf "Browse-$v.tar.bz2"
|
||||
# Delete CC-BY-NC files
|
||||
rm -Rf "Browse-$v/bibl"
|
||||
find "Browse-$v" -print0 | sort -z | tar --use=xz --null -T- -cf "Browse-$v.tar.xz" "Browse-$v/"
|
Reference in New Issue
Block a user