File emacs-magit.spec of Package emacs-magit
#
# spec file for package emacs-magit
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: emacs-magit
Version: 4.2.0
Release: 0
Summary: Git interaction mode for emacs
License: GPL-3.0-or-later
URL: https://github.com/magit/magit
Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: emacs-compat
BuildRequires: emacs-dash
BuildRequires: emacs-nox >= 27.1
BuildRequires: emacs-transient
BuildRequires: emacs-with-editor
BuildRequires: make
BuildRequires: makeinfo
Requires: git-core >= 2.25.0
BuildArch: noarch
%description
Magit is an interface to the version control system Git, implemented as an
Emacs package. Magit aspires to be a complete Git porcelain. While we
cannot (yet) claim that Magit wraps and improves upon each and every Git
command, it is complete enough to allow even experienced Git users to perform
almost all of their daily version control tasks directly from within Emacs.
%prep
%autosetup -n magit-%{version}
%build
%make_build EMACS_ARGS="-L %{_emacs_sitelispdir}" lisp
%install
install -d %{buildroot}%{_emacs_sitelispdir}
install -m0644 lisp/*.el lisp/*.elc %{buildroot}%{_emacs_sitelispdir}
%files
%license LICENSE
%doc README.md CHANGELOG docs/RelNotes
%{_emacs_sitelispdir}/*.el
%{_emacs_sitelispdir}/*.elc
%changelog