rpms/perl-Text-Shellwords/devel Makefile, 1.2, 1.3 perl-Text-Shellwords.spec, 1.2, 1.3 sources, 1.3, 1.4

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Sat Mar 24 23:48:12 UTC 2007


Author: alexlan

Update of /cvs/extras/rpms/perl-Text-Shellwords/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17734/devel

Added Files:
	Makefile perl-Text-Shellwords.spec sources 
Log Message:
auto-import perl-Text-Shellwords-1.08-1 on branch devel from perl-Text-Shellwords-1.08-1.src.rpm


Index: Makefile
===================================================================
RCS file: Makefile
diff -N Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Makefile	24 Mar 2007 23:47:39 -0000	1.3
@@ -0,0 +1,21 @@
+# Makefile for source rpm: perl-Text-Shellwords
+# $Id$
+NAME := perl-Text-Shellwords
+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-Text-Shellwords.spec
===================================================================
RCS file: perl-Text-Shellwords.spec
diff -N perl-Text-Shellwords.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ perl-Text-Shellwords.spec	24 Mar 2007 23:47:39 -0000	1.3
@@ -0,0 +1,72 @@
+Name:           perl-Text-Shellwords
+Version:        1.08
+Release:        1%{?dist}
+Summary:        A thin wrapper around the shellwords.pl package
+
+Group:          Development/Libraries
+License:        GPL or Artistic
+URL:            http://search.cpan.org/dist/Text-Shellwords/
+Source0:        http://www.cpan.org/authors/id/L/LD/LDS/Text-Shellwords-1.08.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This is a thin wrapper around the shellwords.pl package, which comes
+preinstalled with Perl.  This module imports a single subroutine,
+shellwords().  The shellwords() routine parses lines of text and
+returns a set of tokens using the same rules that the Unix shell does
+for its command-line arguments.  Tokens are separated by whitespace,
+and can be delimited by single or double quotes.  The module also
+respects backslash escapes.
+
+
+%prep
+%setup -q -n Text-Shellwords-%{version}
+# Clean up /usr/local/bin/perl mess
+#%{__perl} -pi -e 's|/usr/local/bin/perl\b|%{__perl}|' \
+#  qd.pl bdf_scripts/cvtbdf.pl demos/{*.{pl,cgi},truetype_test}
+
+# avoid dependencies
+#chmod 644 examples/* 
+
+
+%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 Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Wed Mar 23 2007 Alex Lancaster <alexl at users.sourceforge.net> 1.08-1
+- Updated to 1.08
+- Removed superfluous BR: Perl as per suggestion from Ralf Corsepius
+
+* Wed Apr 06 2005 Hunter Matthews <thm at duke.edu> 1.07-2
+- Review suggestions by José Pedro Oliveira
+
+* Tue Mar 22 2005 Hunter Matthews <thm at duke.edu> 1.07-1
+- Initial build.


Index: sources
===================================================================
RCS file: sources
diff -N sources
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sources	24 Mar 2007 23:47:39 -0000	1.4
@@ -0,0 +1 @@
+72284605020ed5135dbed65a8d3b70c6  Text-Shellwords-1.08.tar.gz




More information about the scm-commits mailing list