|
|
5ad4029 |
%global pkg irsim-mode
|
|
|
5ad4029 |
%global pkgname Emacs-irsim-mode
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%if %($(pkg-config emacs) ; echo $?)
|
|
|
5ad4029 |
%global emacs_version 21.1
|
|
|
5ad4029 |
%global emacs_lispdir %{_datadir}/emacs/site-lisp
|
|
|
5ad4029 |
%global emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
|
|
|
5ad4029 |
%else
|
|
|
5ad4029 |
%global emacs_version %(pkg-config emacs --modversion)
|
|
|
5ad4029 |
%global emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
|
|
|
5ad4029 |
%global emacs_startdir %(pkg-config emacs --variable sitestartdir)
|
|
|
5ad4029 |
%endif
|
|
|
5ad4029 |
|
|
|
5ad4029 |
|
|
|
5ad4029 |
Name: emacs-%{pkg}
|
|
|
5ad4029 |
Version: 0.1
|
|
|
f45452b |
Release: 13%{?dist}
|
|
|
5ad4029 |
Summary: Irsim mode for emacs
|
|
|
5ad4029 |
|
|
|
5ad4029 |
Group: Applications/Editors
|
|
|
5ad4029 |
License: MIT
|
|
|
5ad4029 |
URL: http://code.google.com/p/irsim-mode/
|
|
|
5ad4029 |
Source0: http://irsim-mode.googlecode.com/files/irsim-mode.el
|
|
|
5ad4029 |
Source1: %{pkg}-init.el
|
|
|
5ad4029 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5ad4029 |
|
|
|
5ad4029 |
BuildArch: noarch
|
|
|
5ad4029 |
BuildRequires: emacs emacs-el
|
|
|
5ad4029 |
Requires: emacs >= %{emacs_version}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%description
|
|
|
5ad4029 |
IRSIM is a switch-level simulator for digital logic circuits.
|
|
|
5ad4029 |
This is an Emacs mode for editing IRSIM netlists. It provides
|
|
|
5ad4029 |
syntax highlighting and an extremely pleasant method if indentation.
|
|
|
5ad4029 |
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%package el
|
|
|
5ad4029 |
Summary: Source files for %{pkgname} under GNU Emacs
|
|
|
5ad4029 |
Group: Applications/Editors
|
|
|
5ad4029 |
Requires: %{name} = %{version}-%{release}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%description el
|
|
|
5ad4029 |
This package contains the elisp source files for
|
|
|
5ad4029 |
use with %{pkgname}.
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%prep
|
|
|
5ad4029 |
%{__rm} -rf %{_builddir}/%{name}-%{version}
|
|
|
5ad4029 |
%{__mkdir} -p %{_builddir}/%{name}-%{version}
|
|
|
5ad4029 |
cp -p %{SOURCE0} %{_builddir}/%{name}-%{version}
|
|
|
5ad4029 |
cp -p %{SOURCE1} %{_builddir}/%{name}-%{version}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%build
|
|
|
5ad4029 |
cd %{name}-%{version}
|
|
|
5ad4029 |
emacs -batch -f batch-byte-compile %{pkg}.el
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%install
|
|
|
5ad4029 |
%{__rm} -rf %{buildroot}
|
|
|
5ad4029 |
cd %{name}-%{version}
|
|
|
5ad4029 |
%{__install} -pm 755 -d %{buildroot}%{emacs_lispdir}/irsim-mode/
|
|
|
5ad4029 |
%{__install} -pm 755 -d %{buildroot}%{emacs_startdir}
|
|
|
5ad4029 |
%{__install} -pm 644 %{pkg}.* %{buildroot}%{emacs_lispdir}/%{pkg}
|
|
|
5ad4029 |
%{__install} -pm 644 %{SOURCE1} %{buildroot}%{emacs_startdir}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%clean
|
|
|
5ad4029 |
%{__rm} -rf %{buildroot}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%files
|
|
|
5ad4029 |
%defattr(-,root,root,-)
|
|
|
5ad4029 |
%{emacs_lispdir}/%{pkg}/*.elc
|
|
|
5ad4029 |
%{emacs_startdir}/%{pkg}-init.el
|
|
|
5ad4029 |
%dir %{emacs_lispdir}/%{pkg}
|
|
|
5ad4029 |
%dir %{emacs_startdir}
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%files el
|
|
|
5ad4029 |
%defattr(-,root,root,-)
|
|
|
5ad4029 |
%{emacs_lispdir}/%{pkg}/*.el
|
|
|
5ad4029 |
|
|
|
5ad4029 |
%changelog
|
|
|
f45452b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-13
|
|
|
f45452b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f45452b |
|
|
|
820b314 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-12
|
|
|
820b314 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
820b314 |
|
|
|
2026efb |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-11
|
|
|
2026efb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
2026efb |
|
|
|
0e62043 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-10
|
|
|
0e62043 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
0e62043 |
|
|
|
e1aac75 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
|
|
|
e1aac75 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e1aac75 |
|
|
|
f73665c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
|
|
|
f73665c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f73665c |
|
|
|
53bfbae |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
|
|
|
53bfbae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
53bfbae |
|
|
|
5ad4029 |
* Tue Dec 08 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-6
|
|
|
5ad4029 |
- Fixed Requires for centos
|
|
|
5ad4029 |
|
|
|
5ad4029 |
* Mon Dec 07 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-5
|
|
|
5ad4029 |
- Fixed installtion failure in EL-5
|
|
|
5ad4029 |
- irsim-mode handles .out files
|
|
|
5ad4029 |
|
|
|
5ad4029 |
* Thu Dec 03 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-4
|
|
|
5ad4029 |
- Timestamps are preserved
|
|
|
5ad4029 |
- Autoloads for more file types added
|
|
|
5ad4029 |
|
|
|
5ad4029 |
* Wed Dec 02 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-3
|
|
|
5ad4029 |
- Description updated
|
|
|
5ad4029 |
- source1 updated
|
|
|
5ad4029 |
|
|
|
5ad4029 |
* Wed Dec 02 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-2
|
|
|
5ad4029 |
- Reduntant globals removed
|
|
|
5ad4029 |
- Description updated
|
|
|
5ad4029 |
|
|
|
5ad4029 |
* Wed Dec 02 2009 Arun SAG <sagarun [AT] gmail dot com> - 0.1-1
|
|
|
5ad4029 |
- Initial release 0.1-1
|