Compare commits
No commits in common. "c8-stream-8.0" and "c10s" have entirely different histories.
c8-stream-
...
c10s
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/mecab-ipadic-2.7.0-20070801.tar.gz
|
mecab-ipadic-2.7.0-20070801.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
0d9d021853ba4bb4adfa782ea450e55bfe1a229b SOURCES/mecab-ipadic-2.7.0-20070801.tar.gz
|
|
@ -1,6 +1,3 @@
|
|||||||
%{?scl:%scl_package mecab-ipadic}
|
|
||||||
%{!?scl:%global pkg_name %{name}}
|
|
||||||
|
|
||||||
# This spec file is very similar with mecab-jumandic
|
# This spec file is very similar with mecab-jumandic
|
||||||
|
|
||||||
%define majorver 2.7.0
|
%define majorver 2.7.0
|
||||||
@ -14,24 +11,22 @@
|
|||||||
# so debuginfo rpm is not created.
|
# so debuginfo rpm is not created.
|
||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
|
|
||||||
Name: %{?scl_prefix}mecab-ipadic
|
Name: mecab-ipadic
|
||||||
Version: %{majorver}.%{date}
|
Version: %{majorver}.%{date}
|
||||||
Release: 17%{?dist}
|
Release: 32%{?dist}
|
||||||
Summary: IPA dictionary for MeCab
|
Summary: IPA dictionary for MeCab
|
||||||
|
|
||||||
Group: Applications/Text
|
# SPDX confirmed
|
||||||
License: mecab-ipadic
|
License: NAIST-2003
|
||||||
URL: http://mecab.sourceforge.net/
|
URL: http://mecab.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/mecab/%{pkg_name}-%{majorver}-%{date}.tar.gz
|
Source0: http://downloads.sourceforge.net/mecab/%{name}-%{majorver}-%{date}.tar.gz
|
||||||
#Source2: http://www.icot.or.jp/ARCHIVE/terms-and-conditions-for-IFS-J.html
|
#Source2: http://www.icot.or.jp/ARCHIVE/terms-and-conditions-for-IFS-J.html
|
||||||
Source2: http://www.jipdec.or.jp/icot/ARCHIVE/terms-and-conditions-for-IFS-J.html
|
Source2: http://www.jipdec.or.jp/icot/ARCHIVE/terms-and-conditions-for-IFS-J.html
|
||||||
Source3: LICENSE.Fedora
|
Source3: LICENSE.Fedora
|
||||||
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: %{?scl_prefix}mecab-devel >= %{mecabver}
|
BuildRequires: make
|
||||||
%{?scl:BuildRequires:%scl_runtime}
|
BuildRequires: mecab-devel >= %{mecabver}
|
||||||
Requires: %{?scl_prefix}mecab >= %{mecabver}
|
Requires: mecab >= %{mecabver}
|
||||||
%{?scl:Requires:%scl_runtime}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MeCab IPA is a dictionary for MeCab using CRF estimation
|
MeCab IPA is a dictionary for MeCab using CRF estimation
|
||||||
@ -40,9 +35,7 @@ This dictionary is for UTF-8 use.
|
|||||||
|
|
||||||
%package EUCJP
|
%package EUCJP
|
||||||
Summary: IPA dictionary for Mecab with encoded by EUC-JP
|
Summary: IPA dictionary for Mecab with encoded by EUC-JP
|
||||||
Group: Applications/Text
|
Requires: mecab >= %{mecabver}
|
||||||
Requires: %{?scl_prefix}mecab >= %{mecabver}
|
|
||||||
%{?scl:Requires:%scl_runtime}
|
|
||||||
|
|
||||||
%description EUCJP
|
%description EUCJP
|
||||||
|
|
||||||
@ -51,12 +44,10 @@ based on IPA corpus.
|
|||||||
This dictionary is for EUC-JP use.
|
This dictionary is for EUC-JP use.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{majorver}-%{date}
|
%setup -q -n %{name}-%{majorver}-%{date}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# First build on UTF-8
|
# First build on UTF-8
|
||||||
%{?scl:scl enable %{scl} - << \EOF}
|
|
||||||
set -x
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-mecab-config=%{_bindir}/mecab-config \
|
--with-mecab-config=%{_bindir}/mecab-config \
|
||||||
--with-charset=utf8
|
--with-charset=utf8
|
||||||
@ -74,12 +65,10 @@ set -x
|
|||||||
%configure \
|
%configure \
|
||||||
--with-mecab-config=%{_bindir}/mecab-config
|
--with-mecab-config=%{_bindir}/mecab-config
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
%{?scl:EOF}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# First install EUC-JP
|
# First install EUC-JP
|
||||||
%{?scl:scl enable %{scl} - << \EOF}
|
|
||||||
set -x
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{__mv} $RPM_BUILD_ROOT%{_libdir}/mecab/dic/ipadic \
|
%{__mv} $RPM_BUILD_ROOT%{_libdir}/mecab/dic/ipadic \
|
||||||
@ -90,11 +79,7 @@ set -x
|
|||||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%{__cp} -p %{SOURCE2} LICENSE.jp.html
|
%{__cp} -p %{SOURCE2} LICENSE.jp.html
|
||||||
%{__cp} -p %{SOURCE3} LICENSE.rhel
|
%{__cp} -p %{SOURCE3} .
|
||||||
%{?scl:EOF}
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# Note: post should be okay. mecab-dic expects that
|
# Note: post should be okay. mecab-dic expects that
|
||||||
@ -113,32 +98,80 @@ if test -f %{_sysconfdir}/mecabrc ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING LICENSE.* README
|
%license LICENSE.*
|
||||||
|
%doc README
|
||||||
%{_libdir}/mecab/dic/ipadic/
|
%{_libdir}/mecab/dic/ipadic/
|
||||||
|
|
||||||
%files EUCJP
|
%files EUCJP
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING LICENSE.* README
|
%license LICENSE.*
|
||||||
|
%doc README
|
||||||
%{_libdir}/mecab/dic/ipadic-EUCJP/
|
%{_libdir}/mecab/dic/ipadic-EUCJP/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 12 2025 Lukas Javorsky <ljavorsk@redhat.com> - 2.7.0.20070801-17
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.7.0.20070801-32
|
||||||
- Bump the release
|
- Bump release for October 2024 mass rebuild:
|
||||||
- Resolves: RHEL-24525
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
* Wed Jul 18 2018 Honza Horak <hhorak@redhat.com> - 2.7.0.20070801-16
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.7.0.20070801-31
|
||||||
- Rename the LICENSE.fedora to LICENSE.rhel
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
* Thu Dec 14 2017 Honza Horak <hhorak@redhat.com> - 2.7.0.20070801-15
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-30
|
||||||
- Release bump for rebuilding on new arches
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
Related: #1518842
|
|
||||||
|
|
||||||
* Fri Jul 15 2016 Honza Horak <hhorak@redhat.com> - 2.7.0.20070801-14.1
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-29
|
||||||
- Require runtime package from the scl
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 15 2016 Honza Horak <hhorak@redhat.com> - 2.7.0.20070801-13.1
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-28
|
||||||
- Convert to SCL package
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 6 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.7.0.20070801-27
|
||||||
|
- SPDX migration (ljavorsk)
|
||||||
|
- Use %%license
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-18
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-16.1
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-15.1
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-14.1
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-13.1
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-12.1
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0.20070801-12.1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
e09556657cc70e45564c6514a6b08495 mecab-ipadic-2.7.0-20070801.tar.gz
|
Loading…
Reference in New Issue
Block a user