Last active
August 14, 2016 17:21
-
-
Save hkato/27f75957da21c5b9ffdfef22c9bee1fe to your computer and use it in GitHub Desktop.
SL RPM SPEC file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: SL(1): Cure your bad habit of mistyping | |
Name: sl | |
Version: 5.02 | |
Release: 1 | |
License: Everyone is permitted to do anything on this program including copying,modifying, and improving, unless you try to pretend that you wrote it. i.e., the above copyright notice has to appear in all copies. THE AUTHOR DISCLAIMS ANY RESPONSIBILITY WITH REGARD TO THIS SOFTWARE. | |
Group: Unspecified | |
Url: https://github.com/mtoyoda/sl | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
Source: https://github.com/mtoyoda/sl/archive/%{version}.tar.gz | |
BuildRequires: ncurses-devel | |
Requires: ncurses-libs | |
%description | |
SL (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command, and not useful at all. | |
%prep | |
rm -rf $RPM_BUILD_ROOT/* | |
%setup | |
%build | |
make | |
%install | |
mkdir -p $RPM_BUILD_ROOT/usr/bin | |
mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 | |
install -s sl $RPM_BUILD_ROOT/usr/bin | |
install sl.1 $RPM_BUILD_ROOT/usr/share/man/man1 | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%attr(755,root,root) /usr/bin/sl | |
%attr(644,root,root) /usr/share/man/man1/sl.1.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment