rpms/perl-SVG/FC-5 .cvsignore, 1.2, 1.3 perl-SVG.spec, 1.2, 1.3 sources, 1.2, 1.3

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Sat Mar 24 00:19:56 UTC 2007


Author: alexlan

Update of /cvs/extras/rpms/perl-SVG/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30421/FC-5

Modified Files:
	.cvsignore perl-SVG.spec sources 
Log Message:
auto-import perl-SVG-2.33-2 on branch FC-5 from perl-SVG-2.33-2.src.rpm


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-SVG/FC-5/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	11 Apr 2005 22:43:59 -0000	1.2
+++ .cvsignore	24 Mar 2007 00:19:23 -0000	1.3
@@ -1 +1 @@
-SVG-2.32.tar.gz
+SVG-2.33.tar.gz


Index: perl-SVG.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-SVG/FC-5/perl-SVG.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-SVG.spec	1 Apr 2006 18:48:33 -0000	1.2
+++ perl-SVG.spec	24 Mar 2007 00:19:23 -0000	1.3
@@ -1,39 +1,50 @@
 Name:           perl-SVG
-Version:        2.32
-Release:        2
-Summary:        An extention to generate stand-alone or inline SVG.
-
+Version:        2.33
+Release:        2%{?dist}
+Summary:        An extension to generate stand-alone or inline SGV
 Group:          Development/Libraries
 License:        GPL or Artistic
 URL:            http://search.cpan.org/dist/SVG/
-Source0:        http://www.cpan.org/authors/id/R/RO/RONAN/SVG-2.32.tar.gz
+Source0:        http://www.cpan.org/authors/id/R/RO/RONAN/SVG-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-SVG.pm is a perl extention to generate stand-alone or inline SVG
-(scaleable vector graphics) images using the W3C SVG xml recommendation.
+SVG.pm is a Perl extension to generate stand-alone or inline SVG
+(scaleable vector graphics) images using the W3C SVG XML recommendation
 
 %prep
-cat<<EOT
-
-Build disabled. Package is without maintainer and has never been built before.
-
-EOT
-exit 1
 %setup -q -n SVG-%{version}
 
 # avoid extra dependencies
 chmod 644 examples/*
 
+# Fix line-endings
+for i in minsvg.pl SVG_02_sample.pl svgtest2.pl sun_text_sample.pl starpath.cgi image_sample.pl inlinesvg.pl yaph5.cgi inline_sample.pl svg.pl; do
+    %{__sed} -i 's/\r//' examples/$i
+done
+
+# Filter extra non-explicit version provides (SVG::Element)
+cat << \EOF > %{_builddir}/SVG-%{version}/%{name}-prov
+#!/bin/sh
+%{__perl_provides} $* |\
+  sed -e '/perl(SVG::Element)$/d'
+EOF
+
+%define __perl_provides %{_builddir}/SVG-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
-
+# make sure the man page is UTF-8...
+cd blib/man3
+for i in Element.3pm Manual.3pm ; do
+    iconv --from=ISO-8859-1 --to=UTF-8 SVG::$i > new
+    mv new SVG::$i
+done
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -59,6 +70,13 @@
 
 
 %changelog
+* Wed Mar 23 2007 Alex Lancaster <alexl at users.sourceforge.net> 2.33-2
+- Filter extra non-explicit (SVG::Element) provides
+
+* Wed Mar 14 2007 Alex Lancaster <alexl at users.sourceforge.net> 2.33-1
+- Update to 2.33
+- Fix rpmlint issues
+
 * Wed Apr 06 2005 Hunter Matthews <thm at duke.edu> 2.32-2
 - Review suggestions from José Pedro Oliveira
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-SVG/FC-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	11 Apr 2005 22:43:59 -0000	1.2
+++ sources	24 Mar 2007 00:19:23 -0000	1.3
@@ -1 +1 @@
-a604dbd0d6f68907f825ff4c3c3f04dc  SVG-2.32.tar.gz
+80aff1f4d107bf56696653895e5eed81  SVG-2.33.tar.gz




More information about the fedora-extras-commits mailing list