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

Revision 10766, 1.6 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1%define ver 0.996
2%define rel 3
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
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: perl(ExtUtils::MakeMaker)
16BuildRequires: mecab-devel
17BuildRequires: mecab-ipadic
18Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19Provides: perl-MeCab
20
21Vendor: Project Vine
22Distribution: Vine Linux
23Packager: iwaim
24
25%description
26MeCab perl module
27
28%prep
29%setup -q
30
31%build
32CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
33
34%install
35%__rm -rf $RPM_BUILD_ROOT
36make DESTDIR=$RPM_BUILD_ROOT install
37
38find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
39  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
40
41%check
42perl test.pl
43
44%clean
45%__rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(-,root,root,-)
49%doc README bindings.html test.pl AUTHORS COPYING BSD GPL LGPL
50%{perl_vendorarch}/MeCab.pm
51%dir %{perl_vendorarch}/auto/MeCab
52%{perl_vendorarch}/auto/MeCab/MeCab.so
53
54%changelog
55* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 0.996-3
56- rebuild with gcc-5.4.0
57
58* Mon Nov 10 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.996-2
59- rebuilt with perl 5.16.3
60
61* Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.996-1
62- update to 0.996
63
64* Mon Jan 21 2013 IWAI, Masaharu <iwai@alib.jp> 0.994-1
65- initial build for Vine Linux
66
Note: See TracBrowser for help on using the repository browser.