6090b7b
%global pkg undo-tree
6090b7b
%global pkgname "Undo Tree"
6090b7b
6090b7b
Name:		emacs-%{pkg}
70969ea
Version:	0.6.4
29ef8c2
Release:	3%{?dist}
6090b7b
Summary:	Treats undo history as a tree of changes
6090b7b
6090b7b
License:	GPLv3+
70969ea
URL:		http://www.emacswiki.org/emacs/UndoTree
70969ea
Source0:	http://www.dr-qubit.org/%{pkg}/%{pkg}.el
6090b7b
6090b7b
BuildArch:	noarch
6090b7b
BuildRequires:	emacs
6090b7b
Requires:	emacs(bin) >= %{_emacs_version}
6090b7b
6090b7b
%description
6090b7b
The undo-tree-mode provided by this package replaces Emacs' undo system with a
6090b7b
system that treats undo history as what it is: a branching tree of changes. This
6090b7b
simple idea allows the more intuitive behavior of the standard undo/redo system
6090b7b
to be combined with the power of never losing any history. An added side bonus
6090b7b
is that undo history can in some cases be stored more efficiently, allowing more
6090b7b
changes to accumulate before Emacs starts discarding history.
6090b7b
6090b7b
You don't have to imagine the undo tree, because undo-tree-mode includes an
6090b7b
undo-tree visualizer which draws it for you, and lets you browse around the undo
6090b7b
history.
6090b7b
6090b7b
6090b7b
%prep
6090b7b
cp -p %SOURCE0 .
6090b7b
6090b7b
6090b7b
%build
70969ea
%{_emacs_bytecompile} %{pkg}.el
6090b7b
6090b7b
6090b7b
%install
6090b7b
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
6090b7b
cp -p *.el *.elc $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
6090b7b
6090b7b
6090b7b
%files
6090b7b
%{_emacs_sitelispdir}/%{pkg}
6090b7b
6090b7b
6090b7b
6090b7b
%changelog
29ef8c2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
29ef8c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
29ef8c2
dfe9e93
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
dfe9e93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dfe9e93
70969ea
* Sat Jan 09 2016 Sébastien Willmann <sebastien.willmann@gmail.com> - 0.6.4-1
70969ea
- Update to version 0.6.4
70969ea
- Update URLs
70969ea
ad0ee0b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-6
ad0ee0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ad0ee0b
1c06bee
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-5
1c06bee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1c06bee
c34ad68
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
c34ad68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c34ad68
8c907cd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-3
8c907cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8c907cd
6090b7b
* Sat Aug 25 2012 Sébastien Willmann <sebastien.willmann@gmail.com> - 0.5.3-2
6090b7b
- Fixed spelling
6090b7b
6090b7b
* Sat Aug 04 2012 Sébastien Willmann <sebastien.willmann@gmail.com> - 0.5.3-1
6090b7b
- Initial spec file
6090b7b