2007-01-16 00:46:06 +01:00
|
|
|
#
|
2011-03-07 15:14:09 +01:00
|
|
|
# spec file for package zsh
|
2007-01-16 00:46:06 +01:00
|
|
|
#
|
2023-01-30 12:12:20 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:46:06 +01:00
|
|
|
#
|
2008-09-24 00:56:32 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-09-18 11:49:02 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:46:06 +01:00
|
|
|
#
|
|
|
|
|
2012-02-07 15:58:03 +01:00
|
|
|
|
2018-04-12 09:18:31 +02:00
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
|
|
|
%if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700
|
|
|
|
%global __requires_exclude ^/bin/zsh$
|
|
|
|
%endif
|
|
|
|
BuildRequires: libtermcap-devel
|
|
|
|
BuildRequires: texi2html
|
|
|
|
BuildRequires: texinfo
|
|
|
|
%endif
|
2007-01-16 00:46:06 +01:00
|
|
|
Name: zsh
|
Accepting request 977384 from home:dirkmueller:Factory
- update to 5.9:
zsh 5.9 is dedicated to the memory of Sven Guckes, who was, amongst other
things, a long-time zsh advocate. For more information, see:
https://linuxnews.de/2022/02/sven-guckes-verstorben/
https://groups.google.com/g/vim_announce/c/MJBKVd-xrEE/m/joVNaDgAAgAJ
When unsetting a hash element, the string enclosed in square brackets is
interpreted literally after any normal command-line-argument expansions.
Thus
unset "hash[$key]"
first expands $key as usual for a double-quoted string, and then interprets
that result as the exact hash element to unset. This differs from previous
versions of the shell, which would also remove a leading backslash for an
unusual subset of characters in the expansion of $key. Note this also
means, for example, that now
unset 'hash[ab]cd]'
unsets the element with key "ab]cd" rather than silently doing nothing.
The function command learnt a -T option to declare a function and enable
tracing for it simultaneously.
The option SHORT_REPEAT was added to enable the short syntax of
SHORT_LOOPS for the repeat command only. It is disabled by default.
The _arguments function now supports NUL-delimiting optargs in the
opt_args array via the -0 option. Developers of completion functions
should find this easier to handle reliably than the default
colon-delimiting behaviour.
The zsh/system module's `zsystem flock` command learnt an -i option to
set the wait interval used with -t. Additionally, -t now supports
fractional seconds.
The option CLOBBER_EMPTY was added to enable the overwrite behaviour
of CLOBBER for empty files only. It is disabled by default.
A (-) expansion flag was added. It works like (n) but correctly sorts
OBS-URL: https://build.opensuse.org/request/show/977384
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=234
2022-05-24 19:23:34 +02:00
|
|
|
Version: 5.9
|
2016-05-25 14:25:38 +02:00
|
|
|
Release: 0%{?dist}
|
2011-04-20 14:54:27 +02:00
|
|
|
Summary: Shell with comprehensive completion
|
2011-12-20 10:33:57 +01:00
|
|
|
License: MIT
|
|
|
|
Group: System/Shells
|
Accepting request 977384 from home:dirkmueller:Factory
- update to 5.9:
zsh 5.9 is dedicated to the memory of Sven Guckes, who was, amongst other
things, a long-time zsh advocate. For more information, see:
https://linuxnews.de/2022/02/sven-guckes-verstorben/
https://groups.google.com/g/vim_announce/c/MJBKVd-xrEE/m/joVNaDgAAgAJ
When unsetting a hash element, the string enclosed in square brackets is
interpreted literally after any normal command-line-argument expansions.
Thus
unset "hash[$key]"
first expands $key as usual for a double-quoted string, and then interprets
that result as the exact hash element to unset. This differs from previous
versions of the shell, which would also remove a leading backslash for an
unusual subset of characters in the expansion of $key. Note this also
means, for example, that now
unset 'hash[ab]cd]'
unsets the element with key "ab]cd" rather than silently doing nothing.
The function command learnt a -T option to declare a function and enable
tracing for it simultaneously.
The option SHORT_REPEAT was added to enable the short syntax of
SHORT_LOOPS for the repeat command only. It is disabled by default.
The _arguments function now supports NUL-delimiting optargs in the
opt_args array via the -0 option. Developers of completion functions
should find this easier to handle reliably than the default
colon-delimiting behaviour.
The zsh/system module's `zsystem flock` command learnt an -i option to
set the wait interval used with -t. Additionally, -t now supports
fractional seconds.
The option CLOBBER_EMPTY was added to enable the overwrite behaviour
of CLOBBER for empty files only. It is disabled by default.
A (-) expansion flag was added. It works like (n) but correctly sorts
OBS-URL: https://build.opensuse.org/request/show/977384
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=234
2022-05-24 19:23:34 +02:00
|
|
|
URL: https://www.zsh.org
|
2020-02-17 06:29:19 +01:00
|
|
|
Source0: https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz
|
|
|
|
Source1: https://downloads.sourceforge.net/project/zsh/zsh/%{version}/zsh-%{version}.tar.xz.asc
|
2018-09-05 09:39:31 +02:00
|
|
|
Source2: %{name}.keyring
|
2016-12-14 11:01:58 +01:00
|
|
|
Source3: zshrc
|
|
|
|
Source4: zshenv
|
|
|
|
Source5: zprofile
|
2018-04-12 09:18:31 +02:00
|
|
|
Patch1: trim-unneeded-completions.patch
|
|
|
|
# PATCH-FIX-OPENSUSE zsh-osc-completion.patch -- Fix openSUSE versions in osc completion
|
|
|
|
Patch2: zsh-osc-completion.patch
|
2022-09-13 10:12:36 +02:00
|
|
|
# PATCH-FIX-OPENSUSE: taken from https://www.zsh.org/mla/workers/2022/msg00956.html
|
|
|
|
Patch3: egrep-deprecation.patch
|
2018-04-12 09:18:31 +02:00
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: pcre-devel
|
2011-06-29 16:02:48 +02:00
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
|
|
|
Source11: zlogin.rhs
|
|
|
|
Source12: zlogout.rhs
|
|
|
|
Source13: zprofile.rhs
|
|
|
|
Source14: zshrc.rhs
|
|
|
|
Source15: zshenv.rhs
|
2011-06-29 19:07:49 +02:00
|
|
|
Source16: dotzshrc.rh
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version}
|
2011-04-20 14:54:27 +02:00
|
|
|
BuildRequires: fdupes
|
2011-06-29 16:02:48 +02:00
|
|
|
BuildRequires: yodl
|
2018-04-12 09:18:31 +02:00
|
|
|
Requires(pre): %{install_info_prereq}
|
2012-07-20 01:57:32 +02:00
|
|
|
%if 0%{?suse_version} >= 1210
|
|
|
|
BuildRequires: makeinfo
|
2015-02-10 17:12:54 +01:00
|
|
|
BuildRequires: texi2html
|
2012-07-20 01:57:32 +02:00
|
|
|
%endif
|
2011-06-29 16:02:48 +02:00
|
|
|
%else
|
2011-11-29 15:19:15 +01:00
|
|
|
Requires(pre): /sbin/install-info
|
|
|
|
Requires(pre): fileutils
|
|
|
|
Requires(pre): grep
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
2023-01-30 12:12:20 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2020-11-30 18:59:42 +01:00
|
|
|
Provides: /bin/zsh
|
|
|
|
%endif
|
2011-06-29 16:02:48 +02:00
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
%description
|
|
|
|
Zsh is a UNIX command interpreter (shell) that resembles the Korn shell
|
|
|
|
(ksh). It is not completely compatible. It includes many enhancements,
|
|
|
|
notably in the command-line editor, options for customizing its
|
|
|
|
behavior, file name globbing, features to make C-shell (csh) users feel
|
|
|
|
at home, and extra features drawn from tcsh (another `custom' shell).
|
|
|
|
Zsh is well known for its command line completion.
|
|
|
|
|
2011-06-29 16:02:48 +02:00
|
|
|
%package htmldoc
|
2018-04-12 13:48:18 +02:00
|
|
|
Summary: Zsh shell manual in HTML format
|
|
|
|
Group: Documentation/HTML
|
2011-12-31 11:48:20 +01:00
|
|
|
Provides: %{name}-html = %{version}
|
2011-06-29 16:02:48 +02:00
|
|
|
Obsoletes: %{name}-html < %{version}
|
|
|
|
|
|
|
|
%description htmldoc
|
|
|
|
The zsh shell is a command interpreter usable as an interactive login
|
|
|
|
shell and as a shell script command processor. Zsh resembles the ksh
|
|
|
|
shell (the Korn shell), but includes many enhancements. Zsh supports
|
|
|
|
command line editing, built-in spelling correction, programmable
|
|
|
|
command completion, shell functions (with autoloading), a history
|
|
|
|
mechanism, and more.
|
|
|
|
|
2018-04-12 13:48:18 +02:00
|
|
|
This package contains the Zsh manual in HTML format.
|
2011-06-29 16:02:48 +02:00
|
|
|
|
2022-10-25 14:44:01 +02:00
|
|
|
%package sh
|
|
|
|
Summary: Handle behaviour of /bin/sh
|
|
|
|
Group: System/Shells
|
|
|
|
Requires: zsh = %{version}
|
|
|
|
Conflicts: alternative(sh)
|
|
|
|
Provides: alternative(sh)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description sh
|
|
|
|
Use zsh as /bin/sh implementation.
|
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
%prep
|
2020-02-17 06:29:19 +01:00
|
|
|
%setup -q
|
2013-03-21 11:20:30 +01:00
|
|
|
%if 0%{?suse_version}
|
2013-12-25 13:35:38 +01:00
|
|
|
%patch1 -p1
|
2013-03-21 11:20:30 +01:00
|
|
|
%endif
|
2015-04-29 10:34:05 +02:00
|
|
|
%patch2 -p1
|
2022-09-13 10:12:36 +02:00
|
|
|
%patch3 -p1
|
2011-06-29 16:02:48 +02:00
|
|
|
|
2011-11-29 15:19:15 +01:00
|
|
|
# Remove executable bit
|
2011-06-29 16:02:48 +02:00
|
|
|
chmod 0644 Etc/changelog2html.pl
|
|
|
|
|
2009-08-19 00:11:24 +02:00
|
|
|
# Fix bindir path in some files
|
2018-04-12 09:18:31 +02:00
|
|
|
perl -p -i -e 's|%{_prefix}/local/bin|%{_bindir}|' \
|
2011-06-01 15:20:56 +02:00
|
|
|
Doc/intro.ms Misc/globtests.ksh Misc/globtests \
|
|
|
|
Misc/lete2ctl Util/check_exports Util/helpfiles \
|
Accepting request 977384 from home:dirkmueller:Factory
- update to 5.9:
zsh 5.9 is dedicated to the memory of Sven Guckes, who was, amongst other
things, a long-time zsh advocate. For more information, see:
https://linuxnews.de/2022/02/sven-guckes-verstorben/
https://groups.google.com/g/vim_announce/c/MJBKVd-xrEE/m/joVNaDgAAgAJ
When unsetting a hash element, the string enclosed in square brackets is
interpreted literally after any normal command-line-argument expansions.
Thus
unset "hash[$key]"
first expands $key as usual for a double-quoted string, and then interprets
that result as the exact hash element to unset. This differs from previous
versions of the shell, which would also remove a leading backslash for an
unusual subset of characters in the expansion of $key. Note this also
means, for example, that now
unset 'hash[ab]cd]'
unsets the element with key "ab]cd" rather than silently doing nothing.
The function command learnt a -T option to declare a function and enable
tracing for it simultaneously.
The option SHORT_REPEAT was added to enable the short syntax of
SHORT_LOOPS for the repeat command only. It is disabled by default.
The _arguments function now supports NUL-delimiting optargs in the
opt_args array via the -0 option. Developers of completion functions
should find this easier to handle reliably than the default
colon-delimiting behaviour.
The zsh/system module's `zsystem flock` command learnt an -i option to
set the wait interval used with -t. Additionally, -t now supports
fractional seconds.
The option CLOBBER_EMPTY was added to enable the overwrite behaviour
of CLOBBER for empty files only. It is disabled by default.
A (-) expansion flag was added. It works like (n) but correctly sorts
OBS-URL: https://build.opensuse.org/request/show/977384
OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=234
2022-05-24 19:23:34 +02:00
|
|
|
Util/reporter Functions/VCS_Info/test-repo-git-rebase-*
|
2007-01-16 00:46:06 +01:00
|
|
|
|
|
|
|
%build
|
2015-11-05 16:56:22 +01:00
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
%configure \
|
2016-05-25 14:25:38 +02:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
--with-term-lib="ncursesw" \
|
2020-03-10 10:26:21 +01:00
|
|
|
--enable-cflags="%{optflags} -fPIE %(ncursesw6-config --cflags)" \
|
2016-05-25 14:25:38 +02:00
|
|
|
--enable-ldflags="%(ncursesw6-config --libs) -pie -Wl,-z,relro" \
|
|
|
|
%endif
|
2013-03-21 11:20:30 +01:00
|
|
|
--enable-fndir=%{_datadir}/%{name}/${version}/functions \
|
|
|
|
--enable-site-fndir=%{_datadir}/%{name}/site-functions \
|
|
|
|
--enable-function-subdirs \
|
2007-01-16 00:46:06 +01:00
|
|
|
--enable-maildir-support \
|
|
|
|
--with-tcsetpgrp \
|
|
|
|
--enable-cap \
|
2011-08-03 09:21:53 +02:00
|
|
|
--enable-multibyte \
|
2016-12-14 11:01:58 +01:00
|
|
|
--enable-pcre \
|
|
|
|
--enable-unicode9
|
2011-04-20 14:52:03 +02:00
|
|
|
|
2015-01-28 18:53:51 +01:00
|
|
|
# Copy _rpm completion from Redhat (bnc#900424)
|
2016-05-25 14:25:38 +02:00
|
|
|
%if 0%{?suse_version}
|
2015-01-28 18:53:51 +01:00
|
|
|
cp Completion/Redhat/Command/_rpm Completion/openSUSE/Command/_rpm
|
2016-05-25 14:25:38 +02:00
|
|
|
%endif
|
2015-01-28 18:53:51 +01:00
|
|
|
|
2018-04-12 09:18:31 +02:00
|
|
|
make %{?_smp_mflags} all info html
|
2011-06-01 15:20:56 +02:00
|
|
|
|
|
|
|
# generate intro.ps
|
|
|
|
groff -Tps -ms Doc/intro.ms > intro.ps
|
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
# better name for html documentation
|
2011-06-29 16:02:48 +02:00
|
|
|
install -d -m 0755 Doc/htmldoc/
|
2011-04-20 14:54:27 +02:00
|
|
|
mv Doc/*.html Doc/htmldoc
|
2011-06-01 15:20:56 +02:00
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
# remove some unwanted files in Etc/
|
2011-04-20 14:54:27 +02:00
|
|
|
rm -f Etc/Makefile* Etc/*.yo
|
2007-01-16 00:46:06 +01:00
|
|
|
|
|
|
|
%install
|
2011-06-29 16:02:48 +02:00
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
2018-04-12 09:18:31 +02:00
|
|
|
%make_install install.info
|
2011-06-29 16:02:48 +02:00
|
|
|
%else
|
|
|
|
make DESTDIR=%{buildroot} install install.info
|
|
|
|
%endif
|
2011-06-01 15:20:56 +02:00
|
|
|
|
2011-04-20 14:54:27 +02:00
|
|
|
install -m 0755 -Dd %{buildroot}/{etc,bin}
|
2011-06-29 16:02:48 +02:00
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
# install SUSE configuration
|
2016-12-14 11:01:58 +01:00
|
|
|
install -m 0644 %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysconfdir}
|
2011-11-24 11:22:24 +01:00
|
|
|
|
|
|
|
# Create custom completion directory
|
2011-11-29 15:19:15 +01:00
|
|
|
mkdir %{buildroot}%{_sysconfdir}/zsh_completion.d
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
|
|
|
# install RHEL || CentOS || Fedora configuration
|
|
|
|
for i in zlogin zlogout zprofile zshrc zshenv; do
|
|
|
|
install -m 0644 $RPM_SOURCE_DIR/${i}.rhs %{buildroot}%{_sysconfdir}/$i
|
|
|
|
done
|
2016-08-31 11:49:40 +02:00
|
|
|
install -D -m 0644 %{SOURCE16} %{buildroot}%{_sysconfdir}/skel/.zshrc
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
2011-06-01 15:20:56 +02:00
|
|
|
|
2023-01-30 12:12:20 +01:00
|
|
|
%if 0%{?suse_version} < 1550
|
2007-01-16 00:46:06 +01:00
|
|
|
# link zsh binary
|
2016-05-25 14:25:38 +02:00
|
|
|
%if 0%{?suse_version} || 0%{?rhel} <= 6
|
2011-11-29 15:19:15 +01:00
|
|
|
ln -sf %{_bindir}/zsh %{buildroot}/bin/zsh
|
2016-05-25 14:25:38 +02:00
|
|
|
%endif
|
2020-11-30 18:59:42 +01:00
|
|
|
%endif
|
2011-06-01 15:20:56 +02:00
|
|
|
|
|
|
|
# Remove versioned zsh binary
|
|
|
|
rm -f %{buildroot}%{_bindir}/zsh-*
|
2016-05-25 14:25:38 +02:00
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
2018-04-12 09:18:31 +02:00
|
|
|
rm -f %{buildroot}/%{_infodir}/dir
|
2016-05-25 14:25:38 +02:00
|
|
|
%endif
|
2011-06-01 15:20:56 +02:00
|
|
|
|
2011-06-29 16:02:48 +02:00
|
|
|
%if 0%{?suse_version} >= 1110
|
2011-04-20 14:54:27 +02:00
|
|
|
%fdupes %{buildroot}
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
2007-01-16 00:46:06 +01:00
|
|
|
|
2022-10-25 14:44:01 +02:00
|
|
|
#
|
|
|
|
# Create the symlink required for zsh-sh to handle /bin/sh
|
|
|
|
#
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
ln -s %{_bindir}/zsh %{buildroot}%{_bindir}/sh
|
|
|
|
%endif
|
|
|
|
|
2011-04-21 14:05:39 +02:00
|
|
|
%check
|
2012-11-16 09:16:12 +01:00
|
|
|
%if ! 0%{?qemu_user_space_build}
|
2011-06-29 16:02:48 +02:00
|
|
|
%if 0%{?suse_version}
|
2018-04-12 09:18:31 +02:00
|
|
|
make %{?_smp_mflags} check
|
2011-06-29 16:02:48 +02:00
|
|
|
%else
|
|
|
|
# FixMe: sometimes failing Test
|
|
|
|
#+ fn:echo:2: write error: broken pipe
|
|
|
|
#+ fn:2: write error: inappropriate ioctl for device
|
|
|
|
mv Test/E01options.ztst Test/E01options.ztst.mvd
|
|
|
|
%ifarch s390 s390x ppc ppc64
|
|
|
|
( cd Test
|
|
|
|
mkdir skipped
|
|
|
|
mv Y*.ztst skipped )
|
|
|
|
%endif
|
|
|
|
ZTST_verbose=0 make test
|
|
|
|
%endif
|
2012-11-16 09:16:12 +01:00
|
|
|
%endif
|
2018-04-12 09:18:31 +02:00
|
|
|
|
2011-06-29 16:02:48 +02:00
|
|
|
%preun
|
2022-10-25 14:44:01 +02:00
|
|
|
%if ! 0%{?suse_version}
|
2011-06-29 16:02:48 +02:00
|
|
|
if [ "$1" = 0 ] ; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/zsh.info.gz %{_infodir}/dir \
|
|
|
|
--entry="* zsh: (zsh). An enhanced bourne shell."
|
|
|
|
fi
|
|
|
|
%endif
|
2007-01-16 00:46:06 +01:00
|
|
|
|
|
|
|
%post
|
2022-10-25 14:44:01 +02:00
|
|
|
%if ! 0%{?suse_version}
|
|
|
|
if [ ! -f %{_sysconfdir}/shells ]; then
|
|
|
|
echo "%{_bindir}/zsh" > %{_sysconfdir}/shells
|
|
|
|
else
|
|
|
|
grep -q "^%{_bindir}/zsh$" %{_sysconfdir}/shells \
|
|
|
|
|| echo "%{_bindir}/zsh" >> %{_sysconfdir}/shells
|
|
|
|
fi
|
|
|
|
|
|
|
|
/sbin/install-info %{_infodir}/zsh.info.gz %{_infodir}/dir \
|
|
|
|
--entry="* zsh: (zsh). An enhanced bourne shell."
|
2011-06-29 16:02:48 +02:00
|
|
|
%endif
|
2007-01-16 00:46:06 +01:00
|
|
|
|
|
|
|
%postun
|
2022-10-25 14:44:01 +02:00
|
|
|
%if ! 0%{?suse_version}
|
2011-06-29 16:02:48 +02:00
|
|
|
if [ "$1" = 0 ] ; then
|
|
|
|
if [ -f %{_sysconfdir}/shells ] ; then
|
|
|
|
TmpFile=`%{_bindir}/mktemp /tmp/.zshrpmXXXXXX`
|
|
|
|
grep -v '^%{_bindir}/zsh$' %{_sysconfdir}/shells > $TmpFile
|
|
|
|
cp -f $TmpFile %{_sysconfdir}/shells
|
|
|
|
rm -f $TmpFile
|
|
|
|
chmod 644 %{_sysconfdir}/shells
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
%files
|
2011-06-29 16:02:48 +02:00
|
|
|
%doc ChangeLog FEATURES LICENCE MACHINES META-FAQ NEWS README
|
|
|
|
%doc Etc/* intro.ps Misc/compctl-examples
|
2016-12-14 11:01:58 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/zshrc
|
|
|
|
%config(noreplace) %{_sysconfdir}/zshenv
|
2011-04-20 14:54:27 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/zprofile
|
2011-06-29 16:02:48 +02:00
|
|
|
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version}
|
|
|
|
%config(noreplace) %{_sysconfdir}/zlogin
|
|
|
|
%config(noreplace) %{_sysconfdir}/zlogout
|
|
|
|
%config(noreplace) %{_sysconfdir}/skel/.zshrc
|
|
|
|
%endif
|
|
|
|
|
2011-11-24 11:22:24 +01:00
|
|
|
%if 0%{?suse_version}
|
2011-11-29 15:19:15 +01:00
|
|
|
%dir %{_sysconfdir}/zsh_completion.d
|
2011-11-24 11:22:24 +01:00
|
|
|
%endif
|
|
|
|
|
2007-01-16 00:46:06 +01:00
|
|
|
%{_bindir}/zsh
|
2023-01-30 12:12:20 +01:00
|
|
|
%if 0%{?suse_version} < 1550
|
2016-05-25 14:25:38 +02:00
|
|
|
%if 0%{?suse_version} || 0%{?rhel} <= 6
|
2007-01-16 00:46:06 +01:00
|
|
|
/bin/zsh
|
2016-05-25 14:25:38 +02:00
|
|
|
%endif
|
2020-11-30 18:59:42 +01:00
|
|
|
%endif
|
2007-01-16 00:46:06 +01:00
|
|
|
%{_libdir}/zsh/
|
|
|
|
%{_datadir}/zsh/
|
2018-04-12 09:18:31 +02:00
|
|
|
%{_infodir}/zsh.info*%{ext_info}
|
|
|
|
%{_mandir}/man1/zsh*.1%{ext_man}
|
2007-01-16 00:46:06 +01:00
|
|
|
|
2011-06-29 16:02:48 +02:00
|
|
|
%files htmldoc
|
|
|
|
%doc Doc/htmldoc/*
|
|
|
|
|
2022-10-25 14:44:01 +02:00
|
|
|
%files sh
|
|
|
|
%{_bindir}/sh
|
|
|
|
|
2007-03-30 16:36:08 +02:00
|
|
|
%changelog
|