source: projects/specs/trunk/m/mecab-perl/mecab-perl-vl.spec @ 8094

Revision 8094, 1.4 KB checked in by iwaim, 10 years ago (diff)

mecab-perl 0.996-1

Line 
1%define ver 0.996
2%define rel 1
3
4Summary: MeCab perl module
5Summary(ja): MeCab のための Perl モジュール
6Name: mecab-perl
7Version: %{ver}
8Release: %{rel}%{_dist_release}
9License: GPL/LGPL/BSD
10Group: Development/Libraries
11URL: http://mecab.googlecode.com/svn/trunk/mecab/doc/index.html
12Source0: http://mecab.googlecode.com/files/%{name}-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
15BuildRequires: perl
16BuildRequires: mecab-devel
17BuildRequires: mecab-ipadic
18Provides: perl-MeCab
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: iwaim
23
24%description
25MeCab perl module
26
27%prep
28%setup -q
29
30%build
31CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
32
33%install
34%__rm -rf $RPM_BUILD_ROOT
35make DESTDIR=$RPM_BUILD_ROOT install
36
37find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
38  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
39
40%check
41perl test.pl
42
43%clean
44%__rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(-,root,root,-)
48%doc README bindings.html test.pl AUTHORS COPYING BSD GPL LGPL
49%{perl_vendorarch}/MeCab.pm
50%dir %{perl_vendorarch}/auto/MeCab
51%{perl_vendorarch}/auto/MeCab/MeCab.so
52
53%changelog
54* Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.996-1
55- update to 0.996
56
57* Mon Jan 21 2013 IWAI, Masaharu <iwai@alib.jp> 0.994-1
58- initial build for Vine Linux
59
Note: See TracBrowser for help on using the repository browser.