1
0
forked from pool/gap-browse

Compare commits

...

2 Commits

Author SHA256 Message Date
1dc5093b57 Switch to ncurses6 2025-06-05 20:54:53 +02:00
b3796cee18 Remove BIBL 2025-06-05 20:52:36 +02:00
5 changed files with 22 additions and 8 deletions

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

Binary file not shown.

View File

@@ -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>

View File

@@ -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
View 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/"