File pharo-ui.spec of Package pharo-ui
Name: pharo-ui
Version: 9.0
Release: 0
License: MIT
Summary: Pharo is a pure object-oriented programming language and a powerful environment, focused on simplicity and immediate feedback (think IDE and OS rolled into one). PACKAGE WITH FULL DEPENDENCIES.
Url: https://github.com/pharo-project/opensmalltalk-vm
Group: Development/Languages/Pharo
Source: https://github.com/pharo-project/opensmalltalk-vm/archive/%{name}-%{version}.tar.xz
Requires: pharo, SDL2
%if 0%{?suse_version}
%if 0%{?sle_version} >= 150100
Requires: libgit2-1
%else
Requires: libgit2-1_4
%endif
%endif
%if 0%{?fedora}
Requires: libgit2
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define pharodir pharo%{version}
%description
Pharo is a pure object-oriented programming language and a powerful environment,
focused on simplicity and immediate feedback (think IDE and OS rolled into one).
PACKAGE WITH FULL DEPENDENCIES.
%global debug_package %{nil}
%prep
%setup -q -n %{name}-%{version}
%build
echo "Skip building since there is nothing to do!"
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}/%{pharodir}
cp pharo-ui %{buildroot}%{_libdir}/%{pharodir}
ln -s %{_libdir}/%{pharodir}/pharo-ui %{buildroot}%{_bindir}/pharo-ui
%files
%defattr(-,root,root,-)
#%doc README.md
%{_libdir}/%{pharodir}
%{_libdir}/%{pharodir}/pharo-ui
%{_bindir}/pharo-ui
%changelog