diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f74930c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/emacs-dash-2.17.0.tar.gz +/emacs-dash-2.18.0.tar.gz +/emacs-dash-2.18.1.tar.gz diff --git a/emacs-dash.spec b/emacs-dash.spec new file mode 100644 index 0000000..4fbec4d --- /dev/null +++ b/emacs-dash.spec @@ -0,0 +1,47 @@ +%global pkg dash + +Name: emacs-%{pkg} +Version: 2.18.1 +Release: 1%{?dist} +Summary: A modern list library for Emacs + +License: GPLv3+ +URL: https://github.com/magnars/%{pkg}.el/ +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: emacs +Requires: emacs(bin) >= %{_emacs_version} +BuildArch: noarch + +%description +%{summary}. + + +%prep +%autosetup -n %{pkg}.el-%{version} + + +%build +%{_emacs_bytecompile} %{pkg}.el + + +%install +install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/ +install -pm 0644 %{pkg}.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/ + + +%files +%doc README.md +%license LICENSE +%{_emacs_sitelispdir}/%{pkg}/ + + +%changelog +* Sun Mar 21 2021 Mohamed El Morabity - 2.18.1-1 +- Update to 2.18.1 + +* Tue Feb 16 2021 Mohamed El Morabity - 2.18.0-1 +- Update to 2.18.0 + +* Thu Aug 20 2020 Mohamed El Morabity - 2.17.0-1 +- Initial RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..062c513 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (emacs-dash-2.18.1.tar.gz) = f9f0eea41cbf589e2024955f43ec7cd00c37947d07cfd68fe267e541baec1f0c86066c39ad2fb4e467c1cc579c2369a0d75496d176775122e7e48dd24954640c