ALT Linux Bugzilla
– Attachment 1659 Details for
Bug 10100
[FR] git-emacs package needed
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
git-1.4.2.1-alt2 spec patch for git-emacs package build
git-emacs.patch (text/plain), 2.95 KB, created by
Evgenii Terechkov
on 2006-10-08 14:01:52 MSD
(
hide
)
Description:
git-1.4.2.1-alt2 spec patch for git-emacs package build
Filename:
MIME Type:
Creator:
Evgenii Terechkov
Created:
2006-10-08 14:01:52 MSD
Size:
2.95 KB
patch
obsolete
>--- git.spec.bak 2006-10-08 14:05:06 +0800 >+++ git.spec 2006-10-08 17:38:25 +0800 >@@ -18,6 +18,7 @@ > %def_with svn > %def_with tk > %def_with doc >+%def_with emacs > > Requires: %name-core = %version-%release > %{!?_without_arch:Requires: %name-arch = %version-%release} >@@ -26,6 +27,7 @@ > %{!?_without_svn:Requires: %name-svn = %version-%release} > %{!?_without_tk:Requires: gitk = %version-%release} > %{!?_without_doc:Requires: %name-doc = %version-%release} >+%{!?_without_emacs:Requires: %name-emacs = %version-%release} > > BuildRequires: libssl-devel, python-modules-encodings >= 0:2.4, zlib-devel >= 0:1.2 > %{!?_without_cvs:BuildRequires: perl-DBI} >@@ -35,6 +37,7 @@ > %{!?_without_svn:BuildRequires: perl-Memoize, perl-URI, perl-libwww, subversion, subversion-perl, subversion-server-common} > %{!?_without_doc:BuildRequires: asciidoc > 0:6.0.3, xmlto} > %{?!_without_check:%{?!_disable_check:BuildRequires: rcs}} >+%{?!_without_emacs:BuildRequires: emacs-devel} > > %description > This is a stupid (but extremely fast) directory content manager. >@@ -110,6 +113,26 @@ > > %define pkgdocdir %_docdir/%name-%version > >+%if_with emacs >+%package emacs >+Summary: Emacs GIT VC package >+Group: Development/Other >+Provides: %name-emacs = %version-%release >+Requires: emacs-base >+ >+%description emacs >+This package contain Git version control support for emacs >+ >+%package emacs-el >+Summary: Emacs GIT VC package - sources >+Group: Development/Other >+Provides: %name-emacs-el = %version-%release >+Requires: %name-emacs = %version-%release >+ >+%description emacs-el >+Lisp source code for Git version control support for emacs >+%endif #emacs >+ > %prep > %setup -q > >@@ -122,6 +145,10 @@ > %{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%__make -k CFLAGS="%optflags" prefix=%prefix test ||:}}} > %__cc %optflags linkify.c -o linkify > >+%if_with emacs >+%__make -C contrib/emacs EMACS=%__emacs INSTALL=%__install emacsdir=%buildroot%_emacslispdir >+%endif #emacs >+ > %install > %make_install CFLAGS="%optflags" DESTDIR=%buildroot \ > prefix=%prefix mandir=%_mandir \ >@@ -130,6 +157,20 @@ > %{!?_without_email:WITH_SEND_EMAIL=1} \ > install %{!?_without_doc:install-doc} > >+%if_with emacs >+%__make -C contrib/emacs EMACS=%__emacs INSTALL=%__install emacsdir=%buildroot%_emacslispdir install >+%__cp -v contrib/emacs/*.el %buildroot%_emacslispdir >+%__mkdir_p %buildroot%_emacs_sitestart_dir >+%__cat > %buildroot%_emacs_sitestart_dir/git.el <<EOF >+; site-start script for Emacs, initializes git and vc-git >+; Octember 2006 >+; evg@altlinux.ru >+ >+(require 'git) >+(add-to-list 'vc-handled-backends 'GIT) >+EOF >+%endif #emacs >+ > # Fix manpages. > find %buildroot%_mandir -type f -print0 | > xargs -r0 %__subst -p 's/^\(.\+\)\(\.sp\)$/\1\n\2/' -- >@@ -209,6 +250,15 @@ > %files doc > %pkgdocdir/ > >+%if_with emacs >+%files emacs >+%_emacs_sitestart_dir/git.el >+%_emacslispdir/*.elc >+ >+%files emacs-el >+%_emacslispdir/*.el >+%endif #emacs >+ > %changelog > * Sun Sep 24 2006 Dmitry V. Levin <ldv@altlinux.org> 1.4.2.1-alt2 > - Updated to maint v1.4.2.1-gf2b5792.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10100
: 1659