rpms/emacs-magit/devel emacs-magit-include-fdl.patch, NONE, 1.1 emacs-magit.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Moertel tmoertel at fedoraproject.org
Thu Jan 29 03:43:10 UTC 2009


Author: tmoertel

Update of /cvs/pkgs/rpms/emacs-magit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19384/devel

Modified Files:
	.cvsignore sources 
Added Files:
	emacs-magit-include-fdl.patch emacs-magit.spec import.log 
Log Message:
Initial import of SRPM.


emacs-magit-include-fdl.patch:

--- NEW FILE emacs-magit-include-fdl.patch ---
>From c6834bf3adab60afbe557eb1ba28d90f77a19c6c Mon Sep 17 00:00:00 2001
From: Tom Moertel <tom at moertel.com>
Date: Tue, 27 Jan 2009 23:38:56 -0500
Subject: [PATCH] Included FDL into magit.texi file.

---
 magit.texi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/magit.texi b/magit.texi
index e1135e4..dad220f 100644
--- a/magit.texi
+++ b/magit.texi
@@ -45,6 +45,7 @@ as an extension to Emacs.
 * Rewriting::                   
 * Pushing and Pulling::         
 * Interfacing with Subversion::  
+* License::
 @end menu
 
 @node Introduction
@@ -490,4 +491,8 @@ Magit shows them in a section called @emph{Unpulled changes}.  Typing
 Typing @kbd{N r} runs @code{git svn rebase} and typing @kbd{N c} runs
 @code{git svn dcommit}.
 
+ at node License
+ at chapter License
+ at include fdl.texi
+
 @bye
-- 
1.6.0.6



--- NEW FILE emacs-magit.spec ---
%define pkg magit
%define pkgname Magit
%define git_pull_date 20090122

%if %($(pkg-config emacs) ; echo $?)
%define emacs_version 22.1
%define emacs_lispdir %{_datadir}/emacs/site-lisp
%define emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
%else
%define emacs_version %(pkg-config emacs --modversion)
%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
%define emacs_startdir %(pkg-config emacs --variable sitestartdir)
%endif

Name:           emacs-%{pkg}
Version:        0.7
Release:        2.%{git_pull_date}git%{?dist}
Summary:        Emacs interface to the most common Git operations

Group:          Applications/Editors
License:        GPLv3+ and GFDL+
URL:            http://zagadka.vm.bytemark.co.uk/magit/magit.html

# The source for this package was pulled from upstream's vcs.
# Use the following commands to generate the tarball:
#  git clone git://gitorious.org/magit/mainline.git magit-0.7.20090122
#  tar zcf magit-0.7.20090122.tar.gz magit-0.7.20090122
Source0:        magit-%{version}.%{git_pull_date}.tar.gz

# Include FDL into the Texinfo docs (patch submitted upstream)
Patch0:         emacs-magit-include-fdl.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  automake emacs emacs-el
Requires:       emacs(bin) >= %{emacs_version}

%description
%{pkgname} is an add-on package for GNU Emacs. It is an interface to
the Git source-code management system that aims to make the most
common operations convenient.

%package el
Summary:        Elisp source files for %{pkgname} under GNU Emacs
Group:          Applications/Editors
Requires:       %{name} = %{version}-%{release}

%description el
This package contains the elisp source files for %{pkgname} under GNU Emacs. You
do not need to install this package to run %{pkgname}. Install the %{name}
package to use %{pkgname} with GNU Emacs.

%prep
%setup -q -n magit-%{version}.%{git_pull_date}
%patch0 -p1

%build
./autogen.sh
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{emacs_startdir}
cp 50magit.el $RPM_BUILD_ROOT%{emacs_startdir}/emacs-magit-mode.el
mkdir -p $RPM_BUILD_ROOT%{emacs_lispdir}/%{pkg}
cp magit.el magit.elc $RPM_BUILD_ROOT%{emacs_lispdir}/%{pkg}
mkdir -p $RPM_BUILD_ROOT%{_infodir}
gzip -9 < magit.info > $RPM_BUILD_ROOT%{_infodir}/magit.info.gz


%clean
rm -rf $RPM_BUILD_ROOT


%post
/sbin/install-info /usr/share/info/magit.info.gz /usr/share/info/dir


%preun
if [ "$1" = 0 ]; then
    /sbin/install-info --delete /usr/share/info/magit.info.gz /usr/share/info/dir
fi


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS README COPYING
%{emacs_lispdir}/%{pkg}/*.elc
%{emacs_startdir}/*.el
%{_infodir}/magit.info.gz
%dir %{emacs_lispdir}/%{pkg}

%files el
%defattr(-,root,root,-)
%{emacs_lispdir}/%{pkg}/*.el

%changelog
* Tue Jan 27 2009  <tom at moertel.com> - 0.7-2.20090122git
- Made fixes per Fedora packaging review (thanks Jerry James)

* Fri Jan 23 2009  <tom at moertel.com> - 0.7-1.20090122git
- Initial packaging.


--- NEW FILE import.log ---
emacs-magit-0_7-2_20090122git_fc10:HEAD:emacs-magit-0.7-2.20090122git.fc10.src.rpm:1233200490


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/emacs-magit/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Jan 2009 00:14:36 -0000	1.1
+++ .cvsignore	29 Jan 2009 03:42:39 -0000	1.2
@@ -0,0 +1 @@
+magit-0.7.20090122.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/emacs-magit/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Jan 2009 00:14:36 -0000	1.1
+++ sources	29 Jan 2009 03:42:39 -0000	1.2
@@ -0,0 +1 @@
+30b886dd1f999b64959b40e61b494700  magit-0.7.20090122.tar.gz




More information about the fedora-extras-commits mailing list