rpms/perl-GD-SVG/FC-6 Makefile, 1.2, 1.3 perl-GD-SVG.spec, 1.2, 1.3 sources, 1.3, 1.4

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Sat Mar 24 08:33:53 UTC 2007


Author: alexlan

Update of /cvs/extras/rpms/perl-GD-SVG/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6712/FC-6

Added Files:
	Makefile perl-GD-SVG.spec sources 
Log Message:
auto-import perl-GD-SVG-0.28-1 on branch FC-6 from perl-GD-SVG-0.28-1.src.rpm


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	24 Mar 2007 08:33:21 -0000	1.3
@@ -0,0 +1,21 @@
+# Makefile for source rpm: perl-GD-SVG
+# $Id$
+NAME := perl-GD-SVG
+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 $$/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),)
+# attept 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)


Index: perl-GD-SVG.spec
===================================================================
RCS file: perl-GD-SVG.spec
diff -N perl-GD-SVG.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ perl-GD-SVG.spec	24 Mar 2007 08:33:21 -0000	1.3
@@ -0,0 +1,67 @@
+Name:           perl-GD-SVG
+Version:        0.28
+Release:        1%{?dist}
+Summary:        GD::SVG enables SVG output from scripts written using GD
+
+Group:          Development/Libraries
+License:        GPL or Artistic
+URL:            http://search.cpan.org/dist/GD-SVG/
+Source0:        http://www.cpan.org/authors/id/T/TW/TWH/GD-SVG-0.28.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+# The make test needs these.
+BuildRequires:  perl(SVG)
+BuildRequires:  perl(GD)
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+GD::SVG seamlessly enables the scalable vector graphics (SVG) output
+from scripts written using GD.  It accomplishes this by translating GD
+functions into SVG functions.
+
+
+%prep
+%setup -q -n GD-SVG-%{version}
+
+# avoid extra dependencies
+chmod 644 examples/generate_test_image.pl
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor 
+make %{?_smp_mflags} 
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
+  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+
+
+%check || :
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc README Changes examples
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Wed Mar 14 2007 Alex Lancaster <alexl at users.sourceforge.net> 0.28-1
+- Update to 0.28
+- Fix rpmlint errors
+
+* Wed Apr 06 2005 Hunter Matthews <thm at duke.edu> 0.25-2
+- Review changes from José Pedro Oliveira
+
+* Fri Mar 18 2005 Hunter Matthews <thm at duke.edu> 0.25-1
+- Initial Packaging.


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	24 Mar 2007 08:33:21 -0000	1.4
@@ -0,0 +1 @@
+761fdaae3eec10b844713894e47e80aa  GD-SVG-0.28.tar.gz




More information about the scm-commits mailing list