From: Marcin Krol Date: Mon, 2 Sep 2019 19:56:03 +0000 (+0200) Subject: - from PLD, updated to 7.11, TLDized X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;ds=sidebyside;p=packages%2Fcommon-lisp-controller.git - from PLD, updated to 7.11, TLDized --- 80f65174c204cb0aa9603b625426e8c94adeba3a diff --git a/common-lisp-controller-tld.patch b/common-lisp-controller-tld.patch new file mode 100644 index 0000000..44f2800 --- /dev/null +++ b/common-lisp-controller-tld.patch @@ -0,0 +1,20 @@ +--- common-lisp-controller.lisp~ 2010-07-30 20:29:24.000000000 -0400 ++++ common-lisp-controller.lisp 2010-11-04 17:51:35.604803920 -0400 +@@ -46,7 +46,7 @@ + (setf *implementation-name* implementation-name) + + (pushnew :common-lisp-controller *features*) +- (pushnew :clc-os-debian *features*)) ++ (pushnew :clc-os-tld *features*)) + + (defun compile-common-lisp-controller-v5 (implementation-name) + "Compiles the clc files. Returns a list of fasls +@@ -54,7 +54,7 @@ + (setf *implementation-name* implementation-name) + + (pushnew :common-lisp-controller *features*) +- (pushnew :clc-os-debian *features*) ++ (pushnew :clc-os-tld *features*) + + (let* ((fasl-root (merge-pathnames + (make-pathname diff --git a/common-lisp-controller.spec b/common-lisp-controller.spec new file mode 100644 index 0000000..b0db89b --- /dev/null +++ b/common-lisp-controller.spec @@ -0,0 +1,94 @@ +Summary: Common Lisp source and compiler manager +Summary(pl.UTF-8): Zarządca źródeł i kompilatorów Common Lispa +Name: common-lisp-controller +Version: 7.11 +Release: 1 +License: LLGPL (Lisp LGPL) +Group: Development/Tools +Source0: http://ftp.debian.org/debian/pool/main/c/common-lisp-controller/%{name}_%{version}.tar.xz +# Source0-md5: 7b3a0bf3484c4bd5e6ba86e47d06c053 +Patch0: %{name}-tld.patch +URL: https://alioth.debian.org/projects/clc +Requires: common-lisp-asdf +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This package helps installing Common Lisp sources and compilers. +It creates a user-specific cache of compiled objects. When a library +or an implementation is upgraded, all compiled objects in the cache +are flushed. It also provides tools to recompile all libraries. + +%description -l pl.UTF-8 +Ten pakiet pomaga przy instalowaniu źródeł i kompilatorów Common +Lispa. Tworzy pamięć podręczną skompilowanych obiektów dla +użytkownika. Przy aktualizacji biblioteki lub implementacji, wszystkie +pliki w pamięci podręcznej są czyszczone. Pakiet udostępnia również +narzędzia do rekompilacji wszystkich bibliotek. + +%prep +%setup -q +%patch0 -p0 + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sysconfdir}/common-lisp +install -d $RPM_BUILD_ROOT%{_bindir} +install -d $RPM_BUILD_ROOT%{_sbindir} +install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,8} +install -d $RPM_BUILD_ROOT%{_datadir}/common-lisp/{source/common-lisp-controller,systems} +install -d $RPM_BUILD_ROOT%{_localstatedir}/cache/common-lisp-controller +# Not %{_libdir} because we really want /usr/lib even on 64-bit systems. +install -d $RPM_BUILD_ROOT/usr/lib/common-lisp/bin + +install clc-{clbuild,lisp,slime,register-user-package,unregister-user-package} $RPM_BUILD_ROOT%{_bindir} +install clc-update-customized-images $RPM_BUILD_ROOT%{_sbindir} +install register-common-lisp-* unregister-common-lisp-* $RPM_BUILD_ROOT%{_sbindir} + +cp -p common-lisp-controller.lisp post-sysdef-install.lisp $RPM_BUILD_ROOT%{_datadir}/common-lisp/source/common-lisp-controller +cp -p lisp-config.lisp $RPM_BUILD_ROOT%{_sysconfdir}/lisp-config.lisp + +cp -p man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 +cp -p man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3 +cp -p man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8 +for f in clc-update-customized-images register-common-lisp-source unregister-common-lisp-implementation unregister-common-lisp-source ; do +echo '.so man8/register-common-lisp-implementation.8' > $RPM_BUILD_ROOT%{_mandir}/man8/${f}.8 +done +echo '.so man1/clc-register-user-package.1' > $RPM_BUILD_ROOT%{_mandir}/man1/clc-unregister-user-package.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc DESIGN.txt debian/{NEWS,changelog,copyright} +%attr(755,root,root) %{_bindir}/clc-clbuild +%attr(755,root,root) %{_bindir}/clc-lisp +%attr(755,root,root) %{_bindir}/clc-register-user-package +%attr(755,root,root) %{_bindir}/clc-slime +%attr(755,root,root) %{_bindir}/clc-unregister-user-package +%attr(755,root,root) %{_sbindir}/clc-update-customized-images +%attr(755,root,root) %{_sbindir}/register-common-lisp-implementation +%attr(755,root,root) %{_sbindir}/register-common-lisp-source +%attr(755,root,root) %{_sbindir}/unregister-common-lisp-implementation +%attr(755,root,root) %{_sbindir}/unregister-common-lisp-source +%dir %{_sysconfdir}/common-lisp +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lisp-config.lisp +%dir /usr/lib/common-lisp +%dir /usr/lib/common-lisp/bin +%attr(1777,root,root) %dir %{_localstatedir}/cache/common-lisp-controller +%dir %{_datadir}/common-lisp +%dir %{_datadir}/common-lisp/source +%{_datadir}/common-lisp/source/common-lisp-controller +%dir %{_datadir}/common-lisp/systems +%{_mandir}/man1/clc-clbuild.1* +%{_mandir}/man1/clc-lisp.1* +%{_mandir}/man1/clc-register-user-package.1* +%{_mandir}/man1/clc-slime.1* +%{_mandir}/man1/clc-unregister-user-package.1* +%{_mandir}/man3/common-lisp-controller.3* +%{_mandir}/man8/clc-update-customized-images.8* +%{_mandir}/man8/register-common-lisp-implementation.8* +%{_mandir}/man8/register-common-lisp-source.8* +%{_mandir}/man8/unregister-common-lisp-implementation.8* +%{_mandir}/man8/unregister-common-lisp-source.8*