Repository of spec files needed to build the COPR r3pek/cybersec
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5 KiB

%global subversion .devel2
%global contrib_commit 3c941f0ddb1b68eec9d7c0284939d4b86d82423e
Name: blesh
Version: 0.4.0
Release: 0%{?subversion}%{?dist}
Summary: Bash Line Editor ( is a command line editor written in pure Bash which replaces the default GNU Readline.
%global _version %{version}%(v=%{subversion}; echo ${v/./-})
License: BSD-3-Clause
BuildArch: noarch
BuildRequires: make
BuildRequires: gawk
Requires: bash
Bash Line Editor―a full-featured line editor written in pure Bash! Syntax
highlighting, auto suggestions, vim modes, etc. are available in Bash interactive sessions!
%setup -q -n{_version}
%setup -q -T -D -n{_version} -a 1
rmdir contrib
mv blesh-contrib-%{contrib_commit} contrib
# Prevent git from being called
sed -i -e "s|.*git submodule|# &|g" GNUmakefile
rm -rf %{buildroot}
%make_install PREFIX=%{_prefix}
# Remove empty dir
rm -rf %{buildroot}%{_datadir}/%{name}/tmp
# Fix permissions
chmod 644 %{buildroot}%{_datadir}/%{name}/cache.d
%dir %{_datadir}/%{name}
%doc memo/
* Tue May 25 2021 Carlos Mogas da Silva <> - 0.4.0-0.devel2
- Inital Import