- Update to versione 5.05: * add -G option that add an orange TGV - Changed upstream repository to new fork https://github.com/eyJhb/sl - removed patch update_to_master_at_923e7d7.patch - run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/1097969 OBS-URL: https://build.opensuse.org/package/show/games/sl?expand=0&rev=7
55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package sl
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
# Copyright (c) 2012 <vodoo@vakw.ch>
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: sl
|
|
Version: 5.05
|
|
Release: 0
|
|
Summary: Steam Locomotive in ASCII art
|
|
# The warranty claim is a bit different, but the rights are the same as in ISC
|
|
License: ISC
|
|
Group: Amusements/Toys/Other
|
|
URL: https://github.com/eyJhb/sl
|
|
Source: https://github.com/eyJhb/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: ncurses-devel
|
|
Conflicts: python3-softlayer
|
|
|
|
%description
|
|
"sl" displays a steam locomotive running across the terminal.
|
|
It is a joke command intended to catch any mistypings of "ls".
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%make_build OPTFLAGS="%{optflags}"
|
|
|
|
%install
|
|
install -d %{buildroot}%{_bindir}
|
|
install -d %{buildroot}%{_mandir}/man1
|
|
cp sl %{buildroot}%{_bindir}/sl
|
|
cp sl.1 %{buildroot}%{_mandir}/man1/sl.1
|
|
|
|
%files
|
|
%{_mandir}/man1/sl.1%{?ext_man}
|
|
%{_bindir}/%{name}
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
%changelog
|