spec files added
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
#% 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}
|
||||
|
||||
%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
|
||||
Reference in New Issue
Block a user