rebuilt in /usr/bin; added debug_package [release 6.22.04-2mamba;Wed Apr 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:21:56 +01:00
parent 04951e4e73
commit 922bd858a2

View File

@ -1,53 +1,50 @@
Name: tcsh
Version: 6.22.04
Release: 1mamba
Release: 2mamba
Summary: An enhanced version of csh, the C shell
Group: Applications/Shells
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.primate.wisc.edu/software/csh-tcsh-book/
URL: https://www.tcsh.org/
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
%description
Tcsh is an enhanced but completely compatible version of csh, the C shell.
Tcsh is a command language interpreter which can be used both as an interactive login shell and as a shell script command processor.
Tcsh includes a command line editor, programmable word completion, spelling correction, a history mechanism, job control and a C language like syntax.
%prep
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%debug_package
%prep
%setup -q -n tcsh-%{version}
%build
%configure \
--bindir=/bin \
--enable-encryption
# --prefix=%{_prefix} \
# --mandir=%{_mandir} \
# --infodir=%{_infodir} \
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#mkdir -p %{buildroot}%{_mandir}/man1
#cp tcsh.man %{buildroot}%{_mandir}/man1/tcsh.1
ln -s tcsh %{buildroot}/bin/csh
mkdir -p %{buildroot}%{_bindir}
ln -s /bin/tcsh %{buildroot}%{_bindir}/tcsh
ln -s tcsh %{buildroot}%{_bindir}/csh
#mkdir -p %{buildroot}%{_bindir}
#ln -s /bin/tcsh %{buildroot}%{_bindir}/tcsh
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/bin/csh
/bin/tcsh
%{_bindir}/csh
%{_bindir}/tcsh
%{_mandir}/man1/*
%lang(C) %{_datadir}/locale/C/LC_MESSAGES/tcsh.cat
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/tcsh.cat
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/tcsh.cat
@ -60,8 +57,12 @@ ln -s /bin/tcsh %{buildroot}%{_bindir}/tcsh
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/tcsh.cat
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/tcsh.cat
%lang(ru_UA) %{_datadir}/locale/ru_UA/LC_MESSAGES/tcsh.cat
%{_mandir}/man1/*
%changelog
* Wed Apr 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.22.04-2mamba
- rebuilt in /usr/bin; added debug_package
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 6.22.04-1mamba
- automatic version update by autodist