Files
RPM/Pmodules_bash.spec
ebner a9758eaca1
Build and Publish RPM / build-and-publish (push) Failing after 1s
test1
2025-10-02 17:06:36 +02:00

58 lines
1.3 KiB
RPMSpec

#% define beta_tag rc1
Version: 5.2.37
Name: Pmodules_bash
Summary: The GNU Bourne Again shell
Release: 1%{?dist}
Group: System Environment/Shells
License: GPLv3+
Url: http://www.gnu.org/software/bash
Source0: https://ftp.gnu.org/gnu/bash/bash-%{version}.tar.gz
BuildRequires: texinfo
BuildRequires: ncurses-devel
BuildRequires: autoconf, gettext
%define _prefix /usr/share/Pmodules/libexec
%define _bindir %{_prefix}
%define _build_id_links none
%description
The GNU Bourne Again shell (Bash) is a shell or command language
interpreter that is compatible with the Bourne shell (sh). Bash
incorporates useful features from the Korn shell (ksh) and the C shell
(csh). Most sh scripts can be run by bash without modification.
%prep
%setup -q -n bash-%{version}
%build
#autoconf
%configure --with-afs loadablesdir=%{_prefix}/builtins
make
%check
#make check
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_bindir}/bashbug
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib64
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/info
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/locale
rm -rf $RPM_BUILD_ROOT%{_prefix}/share/man
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_prefix}
%changelog
* Wed Aug 6 2025 Achim Gsell <achim.gsell@psi.ch - 5.2.37
initial version