blob: a3e420022892c0fdfe381f08b57bf8d4a5ee9a15 (
plain) (
blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
%global pkg magit-popup
%global pkgname Magit-Popup
Name: emacs-%{pkg}
Version: 2.13.3
Release: 6%{?dist}
Summary: Define prefix-infix-suffix command combos for Emacs
License: GPLv3+
URL: https://magit.vc
Source0: https://github.com/magit/magit-popup/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: emacs, make, texinfo
BuildRequires: emacs-dash
Requires: emacs(bin) >= %{_emacs_version}
Requires: emacs-dash
%description
%{pkgname} is an add-on package for GNU Emacs. It implements a generic interface
for toggling switches and setting options and then invoking an Emacs command
which does something with these arguments.
%prep
%autosetup -n magit-popup-%{version} -p1
%build
%make_build LOAD_PATH='-L %{_emacs_sitelispdir}/dash'
%install
mkdir -p %{buildroot}%{_emacs_sitelispdir} %{buildroot}%{_emacs_sitestartdir}
install -m 755 -d %{buildroot}%{_emacs_sitelispdir}/magit-popup
install -m 644 magit-popup.el magit-popup.elc \
%{buildroot}%{_emacs_sitelispdir}/magit-popup/
install -m 644 magit-popup-autoloads.el \
%{buildroot}%{_emacs_sitelispdir}/magit-popup/
ln -rs %{buildroot}%{_emacs_sitelispdir}/magit-popup/magit-popup-autoloads.el \
%{buildroot}%{_emacs_sitestartdir}
mkdir -p %{buildroot}%{_infodir}
gzip -9 < magit-popup.info > %{buildroot}%{_infodir}/magit-popup.info.gz
%post
/sbin/install-info %{_infodir}/magit-popup.info.gz %{_infodir}/dir || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --del %{_infodir}/magit-popup.info.gz %{_infodir}/dir || :
fi
%files
%license LICENSE
%doc AUTHORS.md README.md magit-popup.org
%dir %{_emacs_sitelispdir}/magit-popup
%{_emacs_sitelispdir}/magit-popup/magit-popup.el
%{_emacs_sitelispdir}/magit-popup/magit-popup.elc
%{_emacs_sitelispdir}/magit-popup/magit-popup-autoloads.el
%{_emacs_sitestartdir}/magit-popup-autoloads.el
%{_infodir}/magit-popup.info.gz
%changelog
* Wed Apr 19 2023 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-6
- Rebuilt for Fedora 38 and 39
* Sat Oct 29 2022 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-5
- Rebuilt for Fedora 37 and 38
* Thu Apr 28 2022 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-4
- Rebuilt for Fedora 36 and 37
* Sat Sep 25 2021 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-3
- Rebuilt for Fedora 35 and 36
* Sat Mar 13 2021 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-2
- Rebuilt for Fedora 34 and 35
* Sun Nov 1 2020 Ting-Wei Lan <lantw44@gmail.com> - 2.13.3-1
- Update to 2.13.3
* Sun Apr 26 2020 Ting-Wei Lan <lantw44@gmail.com> - 2.13.2-1
- Update to 2.13.2
* Tue Sep 17 2019 Ting-Wei Lan <lantw44@gmail.com> - 2.13.0-2
- Rebuilt for Fedora 31 and 32
* Thu May 02 2019 Ting-Wei Lan <lantw44@gmail.com> - 2.13.0-1
- Update to 2.13.0
* Sun Dec 16 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.12.5-1
- Update to 2.12.5
* Sun Dec 02 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.12.4-1
- Update to 2.12.4
* Tue Oct 23 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.12.3-2
- Rebuilt for Fedora 29 and 30
* Sat Jul 07 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.12.3-1
- Update to 2.12.3
- Fix autoloads by creating a symlink instead of moving the script itself
* Tue Mar 13 2018 Ting-Wei Lan <lantw44@gmail.com> - 2.12.2-1
- Initial packaging
|