commit c991b5988b83c4eac8ec8cd3566122ff72209008 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Apr 24 17:19:43 2012 +0200 Import .gitignore | 1 + perl-Encode-JP-Mobile.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1156ef5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Encode-JP-Mobile-0.28.tar.gz diff --git a/perl-Encode-JP-Mobile.spec b/perl-Encode-JP-Mobile.spec new file mode 100644 index 0000000..4627f74 --- /dev/null +++ b/perl-Encode-JP-Mobile.spec @@ -0,0 +1,68 @@ +Name: perl-Encode-JP-Mobile +Version: 0.28 +Release: 1%{?dist} +Summary: Japan mobile phone Shift_JIS (CP932) / UTF-8 encoding +Summary(ja_JP): 日本の携帯電話向け Shift_JIS (CP932) / UTF-8 エンコーディング +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Encode-JP-Mobile/ +Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Encode-JP-Mobile-%{version}.tar.gz +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Encode) >= 2.23 +BuildRequires: perl(Encode::Alias) +BuildRequires: perl(Encode::CJKConstants) +BuildRequires: perl(Encode::Encoding) +BuildRequires: perl(Encode::MIME::Name) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::ShareDir) >= 0.05 +BuildRequires: perl(MIME::Words) >= 5.428 +BuildRequires: perl(XSLoader) +# Tests: +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(YAML) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Encode) >= 2.23 +Requires: perl(File::ShareDir) >= 0.05 +Requires: perl(MIME::Words) >= 5.428 + +%{?perl_default_filter} +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Encode|File::ShareDir|MIME::Words)\\)$ + +%description +Encode::JP::Mobile extends Encode module with Japanese emoticons for mobile +phones mapped into private area of Unicode. + +%description -l ja_JP +Encode::JP::Mobile は Encode 用の拡張モジュールで、日本の携帯電話用絵文字を +Unicode の私用領域 (PRIVATE AREA) にマッピングします。 + +%prep +%setup -q -n Encode-JP-Mobile-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR="$RPM_BUILD_ROOT" +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README TODO +%{perl_vendorarch}/* + +%changelog +* Tue Apr 24 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.28-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..835ca47 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4d21fb20c28e2837077235acd7bd94fb Encode-JP-Mobile-0.28.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel