Skip to content

Instantly share code, notes, and snippets.

@jhawkwind
Forked from hylom/mecab-ipadic.spec
Last active September 1, 2016 21:06
Show Gist options
  • Save jhawkwind/caa32060558bab9f29923d3774b59af6 to your computer and use it in GitHub Desktop.
Save jhawkwind/caa32060558bab9f29923d3774b59af6 to your computer and use it in GitHub Desktop.
mecab-ipadic's spec file for rpmbuild
%define name mecab-ipadic
%define ver 2.7.0
%define date 20070801
%define github_user taku910
Summary: IPA dictionary for MeCab
Summary(ja): MeCab用のIPA辞書
Name: %{name}
Version: %{ver}.%{date}
Release: 5DTI%{?dist}
Source0: https://github.com/%{github_user}/mecab/tarball/master#/mecab-ipadic-%{ver}-%{date}.tar.gz
License: distributable
Group: Applications/Other
URL: http://mecab.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: mecab >= 0.95
Requires: mecab >= 0.95
%description
IPA dictionary for MeCab
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -c %{name}-%{ver}-%{date}
cd %{github_user}-mecab-???????/
mv ./%{name}/* ..
cd ..
rm -Rf ./%{github_user}-mecab-???????/
%build
%configure --with-charset=utf8
%__make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/lib*/mecab/dic/ipadic
%changelog
* Thu Sep 01 2016 jhawkwind <kai@outlawstar.net> 2.7.0.20070801-el7.5DTI
- Changed the source to grab from new GitHub location from author
of project.
* Mon May 13 2013 hylom <hylom@users.sourceforge.jp> 2.7.0.20070801-el6.4_1
- add configure option "--with-charset=utf8"
* Thu May 9 2013 hylom <hylom@users.sourceforge.jp> 2.7.0.20070801-el6.4
- rebuild for CentOS 6.4
* Sun Oct 5 2008 Y.Ohkouchi <cmf@ohtanz.com> 2.7.0.20060707-el5.2
- rebuild for CentOS5
* Sat Mar 24 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl2.2
- rebuild with mecab-0.95-0vl1
* Sat Mar 3 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl2.1
- rebuild with mecab-0.94-0vl1
- change Source0 and URL
* Wed Sep 7 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060707-0vl2
- upstream release
* Sun Apr 9 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20060408-0vl2
- upstream release
- change Group: Applications/Other
* Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl2
- rebuild on VineSeed
* Fri Mar 31 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 2.7.0.20051110-0vl1
- initial build for Vine Linux 3.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment