Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 44 lines (35 sloc) 1.053 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Name: magit
Version: @VERSION@
Release: 1%{?dist}
Summary: An Emacs Extension for Git
BuildArch: noarch
Group: Development/Tools
License: GPLv3
URL: http://zagadka.vm.bytemark.co.uk/magit
Source0: %{url}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: texinfo, autoconf, automake, emacs
Requires: git, emacs

%description
Magit is an interface to the version control system Git, implemented
as an extension to Emacs.

%prep
%setup -q

%build
%configure --prefix=/usr --sysconfdir=/etc --with-site-start=/usr/share/emacs/site-lisp/site-start.d
make %{?_smp_mflags}


%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/usr/share/info/dir

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
/usr/share/emacs/site-lisp/site-start.d/50magit.el
/usr/share/emacs/site-lisp/magit.el
/usr/share/emacs/site-lisp/magit.elc
%doc README.md
/usr/share/info/magit.info.gz

%changelog
* Sun Mar 14 2010 Ben Walton <bwalton@artsci.utoronto.ca>
- Initial spec file creation.
Something went wrong with that request. Please try again.