Репозитории ALT
S: | 2.1.1-alt1 |
5.1: | 1.0.0-alt4 |
4.1: | 1.0.0-alt3 |
4.0: | 1.0.0-alt1 |
3.0: | 1.0.0-alt1 |
Группа :: Работа с файлами
Пакет: tree
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# SPDX-License-Identifier: GPL-2.0-only
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: tree
Version: 2.1.1
Release: alt1
Epoch: 1
Summary: List contents of directories in a tree-like format
Group: File tools
License: GPL-2.0-or-later
URL: http://mama.indstate.edu/users/ice/tree/
Vcs: https://gitlab.com/OldManProgrammer/unix-tree
# Vcs: https://github.com/Old-Man-Programmer/tree
Source: %name-%version.tar
%description
Tree is a recursive directory listing program that produces a depth
indented listing of files, which is colorized ala dircolors if the
LS_COLORS environment variable is set and output is to tty.
%prep
%setup
%build
# Upstream have LDFLAGS=-s causing binaries to be stripped.
%make_build CFLAGS="%optflags %(getconf LFS_CFLAGS) -fanalyzer" LDFLAGS=
%install
install -Dpm755 -t %buildroot%_bindir tree
install -Dpm644 -t %buildroot%_man1dir doc/tree.1
%check
cd %buildroot
.%_bindir/tree
%files
%doc LICENSE CHANGES README
%_bindir/tree
%_man1dir/tree.1*
%changelog
…
Полный changelog можно просмотреть здесь
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: tree
Version: 2.1.1
Release: alt1
Epoch: 1
Summary: List contents of directories in a tree-like format
Group: File tools
License: GPL-2.0-or-later
URL: http://mama.indstate.edu/users/ice/tree/
Vcs: https://gitlab.com/OldManProgrammer/unix-tree
# Vcs: https://github.com/Old-Man-Programmer/tree
Source: %name-%version.tar
%description
Tree is a recursive directory listing program that produces a depth
indented listing of files, which is colorized ala dircolors if the
LS_COLORS environment variable is set and output is to tty.
%prep
%setup
%build
# Upstream have LDFLAGS=-s causing binaries to be stripped.
%make_build CFLAGS="%optflags %(getconf LFS_CFLAGS) -fanalyzer" LDFLAGS=
%install
install -Dpm755 -t %buildroot%_bindir tree
install -Dpm644 -t %buildroot%_man1dir doc/tree.1
%check
cd %buildroot
.%_bindir/tree
%files
%doc LICENSE CHANGES README
%_bindir/tree
%_man1dir/tree.1*
%changelog
…
Полный changelog можно просмотреть здесь