First import

This commit is contained in:
Mohamed El Morabity 2020-08-31 11:37:17 +02:00
commit f6efaabb0d
3 changed files with 47 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/emacs-dash-2.17.0.tar.gz

45
emacs-dash.spec Normal file
View file

@ -0,0 +1,45 @@
%global pkg dash
Name: emacs-%{pkg}
Version: 2.17.0
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}/
%check
./run-tests.sh
%files
%doc README.md
%license LICENSE
%{_emacs_sitelispdir}/%{pkg}/
%changelog
* Thu Aug 20 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.17.0-1
- Initial RPM release

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (emacs-dash-2.17.0.tar.gz) = e53fa1bb9e854b446931d943caac719646218c96160f7c50615b5e95866f4db9dffa6e752596e9c223bcd5b39a80c0c75748b0e0564d72ce5825715a29b80d01