specfile: small refactoring/indetation fixes
To comply with Fedora Packaging guidelines: https://fedoraproject.org/wiki/Packaging:Guidelines
This commit is contained in:
parent
4d2aba6061
commit
a86ba42e35
51
tcsh.spec
51
tcsh.spec
@ -1,23 +1,25 @@
|
||||
Name: tcsh
|
||||
Summary: An enhanced version of csh, the C shell
|
||||
Version: 6.19.00
|
||||
Release: 14%{?dist}
|
||||
License: BSD
|
||||
URL: http://www.tcsh.org/
|
||||
Name: tcsh
|
||||
Summary: An enhanced version of csh, the C shell
|
||||
Version: 6.19.00
|
||||
Release: 14%{?dist}
|
||||
License: BSD
|
||||
|
||||
Provides: csh = %{version}
|
||||
Provides: /bin/csh
|
||||
Provides: /bin/tcsh
|
||||
Requires(post): grep
|
||||
URL: http://www.tcsh.org/
|
||||
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
||||
|
||||
Provides: csh = %{version}
|
||||
Provides: tcsh = %{version}
|
||||
Provides: /bin/csh
|
||||
Provides: /bin/tcsh
|
||||
Requires(post): grep
|
||||
Requires(postun): grep
|
||||
Requires(postun): coreutils
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: git
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: git
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
||||
|
||||
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
|
||||
# ->> All the patches should be provided in 'git format-patch' format.
|
||||
@ -78,12 +80,11 @@ Patch200: tcsh-6.19.00-tcsh-posix-status.patch
|
||||
|
||||
|
||||
%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.
|
||||
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.
|
||||
|
||||
|
||||
# Call the 'autosetup' macro to prepare the environment, but do not patch the
|
||||
@ -92,9 +93,9 @@ like syntax.
|
||||
%autosetup -N -S git
|
||||
|
||||
for i in Fixes WishList; do
|
||||
iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
|
||||
touch -r "$i" "${i}_" && \
|
||||
mv "${i}_" "$i"
|
||||
iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
|
||||
touch -r "$i" "${i}_" && \
|
||||
mv "${i}_" "$i"
|
||||
done
|
||||
|
||||
# Also, rename the Copyright so we comply with more generally accepted name:
|
||||
|
Loading…
Reference in New Issue
Block a user