diff --git a/README.md b/README.md index 4c775db..569f9a2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # tcsh +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. + diff --git a/tcsh.spec b/tcsh.spec new file mode 100644 index 0000000..13157b4 --- /dev/null +++ b/tcsh.spec @@ -0,0 +1,79 @@ +Name: tcsh +Version: 6.18.01 +Release: 1mamba +Summary: An enhanced version of csh, the C shell +Group: Applications/Shells +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.primate.wisc.edu/software/csh-tcsh-book/ +Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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}" + +%setup -q -n tcsh-%{version} + +%build +%configure \ + --bindir=/bin \ + --enable-encryption + +# --prefix=%{_prefix} \ +# --mandir=%{_mandir} \ +# --infodir=%{_infodir} \ + +%make + +%install +%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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +/bin/csh +/bin/tcsh +%{_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 +%lang(et) %{_datadir}/locale/et/LC_MESSAGES/tcsh.cat +%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/tcsh.cat +%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/tcsh.cat +%lang(gr) %{_datadir}/locale/gr/LC_MESSAGES/tcsh.cat +%lang(it) %{_datadir}/locale/it/LC_MESSAGES/tcsh.cat +%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/tcsh.cat +%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/tcsh.cat +%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/tcsh.cat +%lang(ru_UA.koi8u) %{_datadir}/locale/ru_UA.koi8u/LC_MESSAGES/tcsh.cat + +%changelog +* Thu Mar 15 2012 Automatic Build System 6.18.01-1mamba +- automatic version update by autodist + +* Wed Jul 22 2009 Automatic Build System 6.17.00-1mamba +- automatic update by autodist + +* Mon Jan 05 2009 Silvan Calarco 6.16.00-1mamba +- update to 6.16.00 + +* Sat May 19 2007 Silvan Calarco 6.15-1mamba +- update to 6.15 + +* Fri Jul 18 2003 Silvan Calarco 6.12-1qilnx +- First build for tcsh