Name: cask Version: 0.8.7 Release: 1%{?dist} Summary: A project management tool for Emacs License: GPLv3 URL: https://github.com/cask/cask Source0: https://github.com/cask/cask/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch # BuildRequires: python3-devel Requires: emacs %description Cask is a project management tool for Emacs that helps automate the package development cycle; development, dependencies, testing, building, packaging and more. Cask can also be used to manage dependencies for your local Emacs configuration. %prep %setup -q %build %install mkdir -p %{buildroot}/%{_libdir}/%{name}/bin install -m755 ./bin/%{name} %{buildroot}/%{_libdir}/%{name}/bin/%{name} cp ./cask.el ./cask-cli.el ./cask-bootstrap.el \ %{buildroot}/%{_libdir}/%{name} mkdir -p %{buildroot}/%{_bindir} ln -s %{_libdir}/%{name}/bin/%{name} %{buildroot}/%{_bindir}/%{name} %files %license COPYING %doc README.org %{_libdir}/%{name}/cask.el %{_libdir}/%{name}/cask-cli.el %{_libdir}/%{name}/cask-bootstrap.el %{_libdir}/%{name}/bin/cask %{_bindir}/%{name} %changelog * Wed May 05 2021 Jakub Kadlčík - Add initial cask package