forked from pool/gap-browse
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
1dc5093b57 | |||
b3796cee18 | |||
5b5a714b3f | |||
1a897567e5 |
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,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Make specfile conform to POSIX sh
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 6 10:26:20 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
|
Thu Feb 6 10:26:20 UTC 2025 - Ana Guerrero <ana.guerrero@suse.com>
|
||||||
|
|
||||||
|
@@ -23,7 +23,9 @@ Summary: GAP: ncurses interface and browsing applications
|
|||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
URL: https://www.math.rwth-aachen.de/homes/Browse/
|
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-devel >= 4.12
|
||||||
BuildRequires: gap-rpm-devel >= 4.12
|
BuildRequires: gap-rpm-devel >= 4.12
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
@@ -48,16 +50,14 @@ The Browse package provides three levels of functionality
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
./configure "%gapdir"
|
./configure "%gapdir"
|
||||||
# Browse must be compiled with ncurses-5 or -w5. Crashes with ncurses-6.
|
%make_build \
|
||||||
make %{?_smp_mflags} \
|
CFLAGS="%optflags -DWIDECHARS $(ncursesw6-config --cflags)" \
|
||||||
CFLAGS="%optflags -DWIDECHARS $(ncursesw5-config --cflags)" \
|
LOPTS="$(ncursesw6-config --libs) -lpanelw"
|
||||||
LOPTS="$(ncursesw5-config --libs) -lpanelw"
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%gappkg_simple_install
|
%gappkg_simple_install
|
||||||
pushd "%buildroot/$moddir/"
|
cd "%buildroot/$moddir/"
|
||||||
rm -Rf Makefile configure src
|
rm -Rf Makefile configure src
|
||||||
popd
|
|
||||||
|
|
||||||
%files -f %name.files
|
%files -f %name.files
|
||||||
|
|
||||||
|
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