source: projects/specs/trunk/p/perl-Term-Encoding/perl-Term-Encoding-vl.spec @ 9118

Revision 9118, 1.7 KB checked in by inagaki, 9 years ago (diff)

2014-11-25 Ryoichi INAGAKI <ryo1@…>

  • perl-Math-{Base85, Round}, perl-PHP-Session, perl-Params-Coerce, perl-Term-Encoding: rebuilt
  • perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules?: updated


Line 
1%define pkgname Term-Encoding
2
3# Basic Information
4Name:           perl-%{pkgname}
5Version:        0.02
6Release:        2%{?_dist_release}
7Summary:        Detect encoding of the current terminal
8Summary(ja):    現在の端末のエンコーディングを検出する
9
10License:        Artistic or GPL
11Group:          Development/Libraries
12URL:            http://search.cpan.org/~miyagawa/Term-Encoding/
13
14Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{pkgname}-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18BuildRequires:  perl(ExtUtils::MakeMaker)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       yasumichi
24
25%description
26Term::Encoding is a simple module to detect an encoding the current terminal
27expects, in various ways.
28
29%description -l ja
30Term::Encoding は、さまざまな方法で現在の端末のエンコーディングを検出する
31簡単なモジュールです。
32
33%prep
34%setup -q -n Term-Encoding-%{version}
35
36%build
37perl Makefile.PL INSTALLDIRS=vendor
38make %{?_smp_mflags}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make pure_install DESTDIR=$RPM_BUILD_ROOT
43find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
44find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
45%{_fixperms} $RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%check
51make test
52
53
54%files
55%defattr(-,root,root)
56%doc Changes
57%{perl_vendorlib}/Term/*
58%{_mandir}/man3/*
59
60
61%changelog
62* Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.02-2
63- rebuilt with perl 5.16.3
64- installed module to vendor_perl
65- added BuildArch: noarch
66- added BR: perl(ExtUtils::MakeMaker)
67- added URL tag
68
69* Mon Oct 10 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.02-1
70- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.