Browse Source

* perl-MIME-Types: update
* perl-MIME-Lite: update
* perl-Email-Date-Format: new
* perl-MIME-Lite-TT: new


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5876 ec354946-7b23-47d6-9f5a-488ba84defc7

shaolin 13 years ago
parent
commit
f07b0e1893

+ 83 - 0
p/perl-Email-Date-Format/perl-Email-Date-Format-vl.spec

@@ -0,0 +1,83 @@
+Name:           perl-Email-Date-Format
+Version:        1.002
+Release:        1%{?_dist_release}
+Summary:        Produce RFC 2822 date strings
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Email-Date-Format/
+Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-Format-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More), perl(Time::Local)
+BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildArch:      noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+This module can be used to emit RFC 2822 style date strings.
+
+%prep
+%setup -q -n Email-Date-Format-%{version}
+
+%build
+sed -i '/LICENSE/ d' Makefile.PL
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make
+
+%install
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README LICENSE
+%{perl_vendorlib}/Email/
+%{_mandir}/man3/*.3*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.002-1
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.002-10
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-8
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-7
+- Mass rebuild with perl-5.12.0
+
+* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.002-6
+- Mass rebuild with perl-5.12.0
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.002-5
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Feb  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.002-2
+- rebuild for new perl
+
+* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.002-1
+- Initial package for Fedora

+ 52 - 0
p/perl-MIME-Lite-TT/perl-MIME-Lite-TT-vl.spec

@@ -0,0 +1,52 @@
+%define real_name MIME-Lite-TT
+
+Summary:        TT enabled MIME::Lite wrapper
+Name:           perl-%{real_name}
+Version:        0.02
+Release:        1%{?_dist_release}
+License:        Artistic or GPL+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/MIME-Lite-TT/
+Source:         http://www.cpan.org/modules/by-module/MIME/MIME-Lite-TT-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch:      noarch
+BuildRequires:  perl(Test::More) >= 0.32
+BuildRequires:  perl(MIME::Lite)
+BuildRequires:  perl(Template)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%description
+TT enabled MIME::Lite wrapper.
+
+%prep
+%setup -q -n %{real_name}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -empty -exec rmdir ';'
+
+%check
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST META.yml
+%{perl_vendorlib}/*
+%doc %{_mandir}/man3/*
+
+%changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.02-1
+- initial build for Vine Linux

+ 26 - 13
p/perl-MIME-Lite/perl-MIME-Lite-vl.spec

@@ -1,18 +1,27 @@
 Name:           perl-MIME-Lite
-Version:        3.01
-Release:        6%{?_dist_release}
+Version:        3.028
+Release:        1%{?_dist_release}
 Summary:        MIME::Lite - low-calorie MIME generator
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/MIME-Lite/
 Source0:        http://www.cpan.org/authors/id/Y/YV/YVES/MIME-Lite-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 BuildArch:      noarch
 BuildRequires:  perl >= 1:5.6.1
-BuildRequires:  perl-MIME-Types
-Requires:  perl >= %(eval "`%{__perl} -V:version`"; echo $version)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(ExtUtils::MakeMaker) perl(Test::More)
+BuildRequires:  perl(Email::Date::Format) perl(Mail::Address)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(MIME::Types) >= 1.28
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# not detected by automated find-requires:
+Requires:       perl(Email::Date::Format)
+Requires:       perl(MIME::Types) >= 1.28
 
 %description
 MIME::Lite is intended as a simple, standalone module for generating (not 
@@ -22,32 +31,36 @@ not require that you have the Mail:: or MIME:: modules installed.
 
 %prep
 %setup -q -n MIME-Lite-%{version}
+sed -i 's/\r//' examples/*
+sed -i 's/\r//' contrib/README
 
 %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 ';'
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -empty -exec rmdir ';'
 
-%check || :
+%check
 make test
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc changes.pod README examples contrib  
+%doc changes.pod README examples contrib COPYING LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.028-1
+- updated to 3.028
+
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.01-6
 - rebuild with perl-5.12.3
 

+ 16 - 10
p/perl-MIME-Types/perl-MIME-Types-vl.spec

@@ -1,6 +1,6 @@
 Name:           perl-MIME-Types
-Version:        1.19
-Release:        3%{?_dist_release}
+Version:        1.31
+Release:        1%{?_dist_release}
 Summary:        MIME types module for Perl
 
 License:        GPL or Artistic
@@ -10,8 +10,10 @@ Source0:        http://www.cpan.org/authors/id/M/MA/MARKOV/MIME-Types-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 
 BuildArch:      noarch
-BuildRequires:  perl
-Requires:  perl >= %(eval "`%{__perl} -V:version`"; echo $version)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 MIME types are used in MIME compliant lines, for instance as part of
@@ -31,17 +33,18 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
 
 %check
 make test
+make test TEST_FILES="xt/*.t"
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -51,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.31-1
+- updated to 1.31
+
 * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.19-3
 - rebuild with perl-5.12.3