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
|
Name: tcsh
|
||||||
Summary: An enhanced version of csh, the C shell
|
Summary: An enhanced version of csh, the C shell
|
||||||
Version: 6.19.00
|
Version: 6.19.00
|
||||||
Release: 14%{?dist}
|
Release: 14%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.tcsh.org/
|
|
||||||
|
|
||||||
Provides: csh = %{version}
|
URL: http://www.tcsh.org/
|
||||||
Provides: /bin/csh
|
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
||||||
Provides: /bin/tcsh
|
|
||||||
Requires(post): grep
|
Provides: csh = %{version}
|
||||||
|
Provides: tcsh = %{version}
|
||||||
|
Provides: /bin/csh
|
||||||
|
Provides: /bin/tcsh
|
||||||
|
Requires(post): grep
|
||||||
Requires(postun): grep
|
Requires(postun): grep
|
||||||
Requires(postun): coreutils
|
Requires(postun): coreutils
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
|
||||||
|
|
||||||
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
|
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
|
||||||
# ->> All the patches should be provided in 'git format-patch' format.
|
# ->> 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
|
%description
|
||||||
Tcsh is an enhanced but completely compatible version of csh, the C
|
Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh
|
||||||
shell. Tcsh is a command language interpreter which can be used both
|
is a command language interpreter which can be used both as an interactive login
|
||||||
as an interactive login shell and as a shell script command processor.
|
shell and as a shell script command processor. Tcsh includes a command line
|
||||||
Tcsh includes a command line editor, programmable word completion,
|
editor, programmable word completion, spelling correction, a history mechanism,
|
||||||
spelling correction, a history mechanism, job control and a C language
|
job control and a C language like syntax.
|
||||||
like syntax.
|
|
||||||
|
|
||||||
|
|
||||||
# Call the 'autosetup' macro to prepare the environment, but do not patch the
|
# Call the 'autosetup' macro to prepare the environment, but do not patch the
|
||||||
@ -92,9 +93,9 @@ like syntax.
|
|||||||
%autosetup -N -S git
|
%autosetup -N -S git
|
||||||
|
|
||||||
for i in Fixes WishList; do
|
for i in Fixes WishList; do
|
||||||
iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
|
iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
|
||||||
touch -r "$i" "${i}_" && \
|
touch -r "$i" "${i}_" && \
|
||||||
mv "${i}_" "$i"
|
mv "${i}_" "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Also, rename the Copyright so we comply with more generally accepted name:
|
# Also, rename the Copyright so we comply with more generally accepted name:
|
||||||
|
Loading…
Reference in New Issue
Block a user