From a287a811b420e55aee344148423e5137ed5c7aa4 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 17 Feb 2010 00:49:38 +0000 Subject: [PATCH 1/3] Initialize branch F-13 for a2ps --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From 577e7e63dbd38fc87e7b28f000abbc1f0f367147 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 17 Mar 2010 11:46:40 +0000 Subject: [PATCH 2/3] - Spec file fixes for Emacs add-on guideline compliance - Move *.el(c) files to their own directory - Use Emacs packaging macros - Remove unneeded pkgconfig macros --- a2ps.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/a2ps.spec b/a2ps.spec index b32e17c..6b11a9f 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -1,19 +1,7 @@ -# emacs packaging macros -%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 - - Summary: Converts text and other types of files to PostScript Name: a2ps Version: 4.14 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv3+ Group: Applications/Publishing Source0: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz @@ -43,7 +31,7 @@ Patch34: a2ps-external-libtool.patch Patch35: a2ps-4.14-texinfo-nodes.patch Requires: fileutils sh-utils info BuildRequires: gperf -BuildRequires: emacs, emacs-el, flex, libtool, texinfo, groff +BuildRequires: emacs, flex, libtool, texinfo, groff BuildRequires: ImageMagick BuildRequires: groff-perl BuildRequires: cups @@ -68,7 +56,7 @@ Provides: a2ps-i18n = 0.1-2 %package -n emacs-%{name} Summary: Emacs bindings for a2ps files Group: Applications/Editors -Requires: emacs(bin) >= %{emacs_version} +Requires: emacs(bin) >= %{_emacs_version} %package -n emacs-%{name}-el @@ -185,7 +173,8 @@ mv etc/README.in.tmp etc/README.in EMACS=emacs %configure \ --with-medium=_glibc \ - --enable-kanji + --enable-kanji \ + --with-lispdir=%{_emacs_sitelispdir}/%{name} # Remove prebuilt info files to force regeneration at build time find . -name "*.info*" -exec rm -f {} \; @@ -281,13 +270,20 @@ exit 0 %files -n emacs-%{name} %defattr(-,root,root,-) -%{emacs_lispdir}/*.elc +%dir %{_emacs_sitelispdir}/%{name} +%{_emacs_sitelispdir}/%{name}/*.elc %files -n emacs-%{name}-el %defattr(-,root,root,-) -%{emacs_lispdir}/*.el +%{_emacs_sitelispdir}/%{name}/*.el %changelog +* Sun Mar 14 2010 Jonathan G. Underwood - 4.14-11 +- Spec file fixes for Emacs add-on guideline compliance +- Move *.el(c) files to their own directory +- Use Emacs packaging macros +- Remove unneeded pkgconfig macros + * Fri Jul 24 2009 Fedora Release Engineering - 4.14-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From b7f08154f796f410946e39d499d45edaf5226fb7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 09:29:29 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 7e96f19..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: a2ps -# $Id: Makefile,v 1.2 2007/10/15 18:35:17 notting Exp $ -NAME := a2ps -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attempt a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13