Created
May 9, 2013 10:53
-
-
Save hylom/5546841 to your computer and use it in GitHub Desktop.
MeCab's spec file for rpmbuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define name mecab | |
%define version 0.996 | |
%define release el6.4 | |
Summary: Yet Another Part-of-Speech and Morphological | |
Name: %{name} | |
Version: %{version} | |
Release: %{release} | |
Source0: https://mecab.googlecode.com/files/mecab-%{version}.tar.gz | |
License: GPL/LGPL/BSD | |
Group: Applications/Other | |
URL: http://mecab.sourceforge.net/ | |
BuildRoot: %{_tmppath}/%{name}-%{version}-root | |
BuildRequires: perl, gcc-c++ | |
%description | |
MeCab is Yet Another Part-of-Speech and Morphological, developed | |
as the unit project of Graduate School of Informatics, Kyoto | |
University and NTT Communication Science Laboratories. It is designed | |
basically general and independent of language, dictionary, and corpus. | |
It uses Conditional Random Fields (CRF) for parameter estimation, | |
which is more efficient than Hidden Markov Model, which is used in | |
ChaSen. MeCab works normally faster than ChaSen, Juman, and KAKASI. | |
%package devel | |
Summary: Header files and libraries for developing apps which use MeCab | |
Group: Development/Libraries | |
Requires: %{name} = %{version}-%{release} | |
%description devel | |
Header files and libraries for developing apps which use MeCab | |
%prep | |
rm -rf $RPM_BUILD_ROOT | |
%setup -q | |
%build | |
%configure | |
%__make | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make DESTDIR=${RPM_BUILD_ROOT} install | |
%post -p /sbin/ldconfig | |
%postun -p /sbin/ldconfig | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root) | |
%doc README AUTHORS COPYING ChangeLog INSTALL NEWS GPL LGPL BSD doc/*.html | |
%{_libdir}/*.so.* | |
%{_libexecdir}/mecab | |
%{_bindir}/* | |
%{_mandir}/man?/* | |
%{_sysconfdir}/* | |
%files devel | |
%defattr(-,root,root) | |
%{_libdir}/*.so | |
%{_libdir}/*.a | |
%{_libdir}/*.la | |
%{_includedir}/* | |
%changelog | |
* Thu May 9 2013 hylom <[email protected]> 0.996-el6.4 | |
- rebuild for CentOS 6.4 | |
* Sun Oct 5 2008 Y.Ohkouchi <[email protected]> 0.95-el5.1 | |
- rebuild for CentOS5 | |
* Sat Mar 24 2007 KANEKO Seiji <[email protected]> 0.95-0vl1 | |
- upstream release | |
- drop Patch0 (merged into upstream source) | |
- add Patch1: mecab-0.95-bufferoverflow.patch | |
(for details, see [mecab-usres 258]) | |
* Fri Mar 2 2007 KANEKO Seiji <[email protected]> 0.94-0vl1 | |
- upstream release | |
- change Source0 and URL | |
- add Patch0: mecab-0.94-cpp-template.patch | |
* Wed Sep 7 2006 KANEKO Seiji <[email protected]> 0.93-0vl2 | |
- upstream release | |
- changed License from LGPL to GPL/LGPL/BSD (upstream change) | |
- add LGPL, GPL, BSD to %%doc | |
* Sat Sep 2 2006 Ryoichi INAGAKI <[email protected]> 0.91-0vl3 | |
- changed devel Group to Development/Libraries | |
- added %post and %postun section | |
* Mon May 1 2006 KANEKO Seiji <[email protected]> 0.91-0vl2 | |
- upstream release | |
* Sun Apr 9 2006 KANEKO Seiji <[email protected]> 0.90-0vl3 | |
- change Group: Applications/Other | |
* Fri Mar 31 2006 KANEKO Seiji <[email protected]> 0.90-0vl2 | |
- upstream release | |
- divide dictionary into another package (mecab-ipadic) | |
- change description | |
- fix Source: URL | |
- add BuildRequires: perl, gcc-c++ | |
* Sun Jun 26 2005 KANEKO Seiji <[email protected]> 0.81-0vl2 | |
- initial build for VineSeedPlus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment