From 922bd858a26cafcf4848d2bd11a6577f2331e896 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:21:56 +0100 Subject: [PATCH] rebuilt in /usr/bin; added debug_package [release 6.22.04-2mamba;Wed Apr 28 2021] --- tcsh.spec | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/tcsh.spec b/tcsh.spec index 9fa39d0..9daeb27 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -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 -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 6.22.04-2mamba +- rebuilt in /usr/bin; added debug_package + * Wed Apr 28 2021 Automatic Build System 6.22.04-1mamba - automatic version update by autodist