This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rpmbuild/rssh/rssh-2.3.2-1.spec
2024-03-20 09:19:02 -05:00

46 lines
1.1 KiB
RPMSpec

###########################################################################
# rssh.spec - spec file for building RPMs of rssh, specifically for Red Hat
# systems, though probably suitable for others.
#
Summary: a restricted shell for scp or sftp
Name: rssh
Version: 2.3.2
Release: 1
License: BSD
Group: System Environment/Shells
Source: http://www.pizzashack.org/rssh/src/%{name}-%{version}.tar.gz
URL: http://www.pizzashack.org/rssh/
Packager: Derek Martin <rssh-discuss at lists dot sourceforge dot net>
Requires: openssh
Provides: rssh
Buildroot: /tmp/%{name}-%{version}-buildroot
%description
rssh is a restricted shell for use with ssh, which allows the system
administrator to restrict a user's access to a system via scp or sftp, or
both.
%prep
%setup
%build
%configure
%{__make}
%install
%{__rm} -rf %{buildroot}
%makeinstall
%files
%defattr(644, root, root, 0755)
%doc AUTHORS ChangeLog CHROOT COPYING README SECURITY TODO conf_convert.sh mkchroot.sh
%doc %{_mandir}/man?/*
%config(noreplace) %{_sysconfdir}/rssh.conf
%attr(755, root, root) %{_bindir}/rssh
%attr(4755, root, root) %{_libexecdir}/rssh_chroot_helper
%clean
%{__rm} -rf %{buildroot}