forked from pool/cmake
Accepting request 673889 from home:dancermak:branches:devel:tools:building
Install cmake-mode.el with cmake OBS-URL: https://build.opensuse.org/request/show/673889 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=348
This commit is contained in:
parent
8161a97109
commit
5aa0355da1
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 13:05:51 UTC 2019 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
- Install cmake-mode.el
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 08 14:03:11 UTC 2019 - seanlew@opensuse.org
|
Fri Feb 08 14:03:11 UTC 2019 - seanlew@opensuse.org
|
||||||
|
|
||||||
|
11
cmake.spec
11
cmake.spec
@ -40,6 +40,7 @@ Patch5: system-libs.patch
|
|||||||
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
|
# Search for python interpreters from newest to oldest rather then picking up /usr/bin/python as first choice
|
||||||
Patch7: feature-suse-python-interp-search-order.patch
|
Patch7: feature-suse-python-interp-search-order.patch
|
||||||
Patch8: c17-default.patch
|
Patch8: c17-default.patch
|
||||||
|
BuildRequires: emacs-nox
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libarchive-devel >= 3.0.2
|
BuildRequires: libarchive-devel >= 3.0.2
|
||||||
@ -117,6 +118,13 @@ do
|
|||||||
ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
|
ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# cmake-mode.el
|
||||||
|
%define cmake_mode_el %{_datadir}/emacs/site-lisp/%{name}-mode.el
|
||||||
|
install -D -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{cmake_mode_el}
|
||||||
|
/usr/bin/emacs-nox -batch --no-init-file --no-site-file \
|
||||||
|
--eval '(progn (setq load-path (cons "." load-path)))' -f batch-byte-compile \
|
||||||
|
%{buildroot}%{cmake_mode_el}
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}/cmake
|
%fdupes %{buildroot}%{_datadir}/cmake
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -129,7 +137,7 @@ done
|
|||||||
-E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
|
-E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license Copyright.txt
|
%license Copyright.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%config %{_rpmconfigdir}/macros.d/macros.cmake
|
%config %{_rpmconfigdir}/macros.d/macros.cmake
|
||||||
%{_libexecdir}/rpm
|
%{_libexecdir}/rpm
|
||||||
@ -143,5 +151,6 @@ done
|
|||||||
%{_datadir}/aclocal/cmake.m4
|
%{_datadir}/aclocal/cmake.m4
|
||||||
%doc %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}
|
||||||
%{_datadir}/bash-completion
|
%{_datadir}/bash-completion
|
||||||
|
%{cmake_mode_el}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user