Created
February 19, 2019 09:24
-
-
Save silenc3r/5b37e6b486bb41e8ac9415b1b7f5fa90 to your computer and use it in GitHub Desktop.
Oil shell spec file
This file contains hidden or 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
%define debug_package %{nil} | |
# prevent binary stripping | |
%global __os_install_post %{nil} | |
Name: oil | |
Version: 0.6.pre15 | |
Release: 1%{?dist} | |
Summary: Oil shell | |
URL: http://www.oilshell.org | |
License: ASL 2.0 | |
Source0: https://www.oilshell.org/download/oil-0.6.pre15.tar.xz | |
BuildRequires: readline-devel | |
BuildRequires: gcc | |
BuildRequires: bash | |
%description | |
Oil shell | |
%prep | |
%autosetup | |
%build | |
./configure --prefix /usr | |
%make_build | |
%install | |
install -d -m 0755 %{buildroot}%{_bindir} | |
install -p -m 655 ./_bin/oil.ovm %{buildroot}%{_bindir}/oil.ovm | |
%post | |
ln -s -f %{_bindir}/oil.ovm %{_bindir}/osh | |
ln -s -f %{_bindir}/oil.ovm %{_bindir}/oshc | |
%postun | |
%{__rm} -f %{_bindir}/osh | |
%{__rm} -f %{_bindir}/oshc | |
%files | |
%{_bindir}/%{name}.ovm | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment