rpms/perl-Unicode-String/EL-4 .cvsignore, 1.2, 1.3 perl-Unicode-String.spec, 1.4, 1.5 sources, 1.2, 1.3

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Dec 6 12:33:52 UTC 2007


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Unicode-String/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23823/EL-4

Modified Files:
	.cvsignore perl-Unicode-String.spec sources 
Log Message:
Cleanups for first EPEL versions


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-String/EL-4/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Nov 2004 05:10:38 -0000	1.2
+++ .cvsignore	6 Dec 2007 12:33:18 -0000	1.3
@@ -1 +1 @@
-Unicode-String-2.07.tar.gz
+Unicode-String-2.09.tar.gz


Index: perl-Unicode-String.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-String/EL-4/perl-Unicode-String.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Unicode-String.spec	10 Dec 2004 22:03:09 -0000	1.4
+++ perl-Unicode-String.spec	6 Dec 2007 12:33:18 -0000	1.5
@@ -1,45 +1,46 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-
 Name:           perl-Unicode-String
-Version:        2.07
-Release:        4
-Epoch:          0
+Version:        2.09
+Release:        6%{?dist}
+
 Summary:        Perl modules to handle various Unicode issues
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        (GPL+ or Artistic) and (GPLv2+ or Artistic)
 URL:            http://search.cpan.org/dist/Unicode-String/
-Source0:    http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-2.07.tar.gz
+Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/Unicode-String-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:       perl(MIME::Base64)
-BuildRequires:  perl(MIME::Base64)
+Requires:       perl(MIME::Base64) >= 2.00
+BuildRequires:  perl(MIME::Base64) >= 2.00, perl(ExtUtils::MakeMaker)
 
 %description
-%{summary}.
+These are experimental modules to handle various Unicode issues.  They
+were made before perl included native UTF8 support.
 
 
 %prep
 %setup -q -n Unicode-String-%{version}
 
+for f in README String.pm; do
+  iconv -f iso-8859-15 -t utf8 < ${f} > ${f}.utf8
+  mv ${f}.utf8 ${f}
+done
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-  PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
-  INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
-  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%check || :
+%check
 make test
 
 
@@ -50,12 +51,43 @@
 %files
 %defattr(-,root,root,-)
 %doc Changes README
-%{perl_vendorarch}/auto/Unicode
-%{perl_vendorarch}/Unicode
-%{_mandir}/man3/*.3*
+%{perl_vendorarch}/Unicode/
+%{perl_vendorarch}/auto/Unicode/
+%{_mandir}/man3/Unicode::CharName.3pm*
+%{_mandir}/man3/Unicode::String.3pm*
 
 
 %changelog
+* Thu Dec  6 2007 Paul Howarth <paul at city-fan.org> 2.09-6
+- simplify package build in line with perl spec template
+- more detailed package description
+- no need to define %%{perl_vendorarch}
+- refactor buildreqs to support build on EL4/5
+- re-encode String.pm and README as UTF-8
+- more specific %%files list
+- use %%{version} macro in source URL
+
+* Thu Sep 27 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.09-5
+- fix license tag again (thanks Tom)
+
+* Sun Aug 26 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.09-4
+- fix license tag (like perl itself)
+
+* Mon Aug 13 2007 Aurelien Bompard <abompard at fedoraproject.org> 2.09-3
+- BR: perl-devel
+
+* Wed Aug 30 2006 Aurelien Bompard <abompard at fedoraproject.org> 2.09-2
+- rebuild
+
+* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 2.09-1
+- version 2.09
+
+* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 2.07-6
+- rebuild for FC5
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
 * Mon Feb  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:2.07-0.fdr.4
 - Reduce directory ownership bloat.
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Unicode-String/EL-4/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	8 Nov 2004 05:10:38 -0000	1.2
+++ sources	6 Dec 2007 12:33:18 -0000	1.3
@@ -1 +1 @@
-d3658d0d1adbf69361771244ac88b237  Unicode-String-2.07.tar.gz
+553e68e603723bf7c631f8701ab0d678  Unicode-String-2.09.tar.gz




More information about the fedora-extras-commits mailing list