rpms/perl-MIME-Charset/F-11 perl-MIME-Charset.spec, NONE, 1.1 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: xavierb

Update of /cvs/pkgs/rpms/perl-MIME-Charset/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26368/F-11

Modified Files:
	sources 
Added Files:
	perl-MIME-Charset.spec 
Log Message:
Import into F-9, F-10, F-11 and EL-5


--- NEW FILE perl-MIME-Charset.spec ---
Name:           perl-MIME-Charset
Version:        1.006.2
Release:        2%{?dist}
Summary:        Charset Informations for MIME
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/MIME-Charset/
Source0:        http://www.cpan.org/modules/by-module/MIME/MIME-Charset-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
MIME::Charset provides informations about character sets used for MIME
messages on Internet.

%prep
%setup -q -n MIME-Charset-%{version}

cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
sed -e '/perl(MIME::Charset)$/d'
EOF

%global __perl_provides %{_builddir}/MIME-Charset-%{version}/%{name}-prov
chmod +x %{__perl_provides}


%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 -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc ARTISTIC Changes COPYING GPL README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Tue Apr 28 2009 Xavier Bachelot <xavier@xxxxxxxxxxxx> 1.006.2-2
- Filter duplicate Provides:.

* Fri Apr 24 2009 Xavier Bachelot <xavier@xxxxxxxxxxxx> 1.006.2-1
- Specfile autogenerated by cpanspec 1.77.
- Fix license.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-MIME-Charset/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	30 Apr 2009 04:50:20 -0000	1.1
+++ sources	30 Apr 2009 17:26:58 -0000	1.2
@@ -0,0 +1 @@
+22a140a7f323518301d9998bf50e2e17  MIME-Charset-1.006.2.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux