Daiki Ueno 1b5793d
%global debug_package %{nil}
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Name:		libkkc-data
Daiki Ueno 1b5793d
Version:	0.2.7
9317589
Release:	20%{?dist}
Daiki Ueno 1b5793d
Epoch:		1
Daiki Ueno 1b5793d
Summary:	Language model data for libkkc
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
License:	GPLv3+
cf52987
URL:		https://github.com/ueno/libkkc/
cf52987
Source0:	https://github.com/ueno/libkkc/releases/download/v0.3.5/%{name}-%{version}.tar.xz
efb3245
Patch0:		https://github.com/ueno/libkkc/commit/ba1c1bd3eb86d887fc3689c3142732658071b5f7.patch
Daiki Ueno 1b5793d
cf52987
BuildRequires:	gcc
efb3245
BuildRequires:	python3-devel
efb3245
BuildRequires:	python3-marisa
fbb9b1e
BuildRequires: make
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%description
Daiki Ueno 1b5793d
The %{name} package contains the language model data that libkkc uses
Daiki Ueno 1b5793d
at run time.
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%prep
Daiki Ueno 1b5793d
%setup -q
efb3245
%patch0 -p4 -b .orig
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%build
641de25
export PYTHON=%{__python3}
Daiki Ueno 1b5793d
%configure --disable-static
f88199e
%make_build
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%install
f88199e
%make_install
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%files
Daiki Ueno 1b5793d
%doc COPYING
Daiki Ueno 1b5793d
%{_libdir}/libkkc
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
%changelog
9317589
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-20
9317589
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9317589
176feb8
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-19
176feb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
176feb8
1f0a64b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-18
1f0a64b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1f0a64b
f88199e
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1:0.2.7-17
f88199e
- Use make macros
f88199e
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
f88199e
2de5f45
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-16
2de5f45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2de5f45
304a3df
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-15
304a3df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
304a3df
efb3245
* Tue Feb 26 2019 Jens Petersen <petersen@redhat.com> - 1:0.2.7-14
efb3245
- build with python3 (upstream patch by fujiwara, #1675287)
efb3245
b58d1d4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-13
b58d1d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b58d1d4
1c7c1c3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-12
1c7c1c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1c7c1c3
07fea08
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1:0.2.7-11
07fea08
- Update Python 2 dependency declarations to new packaging standards
07fea08
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
07fea08
a340faf
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-10
a340faf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a340faf
0458f01
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-9
0458f01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0458f01
c5da0b7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-8
c5da0b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c5da0b7
a641471
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-7
a641471
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a641471
549d46b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.7-6
549d46b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
549d46b
d295aa2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-5
d295aa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d295aa2
10dcd68
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-4
10dcd68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
10dcd68
cd96c52
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.2.7-3
cd96c52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cd96c52
Daiki Ueno 16a2c5d
* Fri Sep 20 2013 Daiki Ueno <dueno@redhat.com> - 1:0.2.7-2
Daiki Ueno 16a2c5d
- bump release to avoid NVR conflict
Daiki Ueno 16a2c5d
Daiki Ueno 1b5793d
* Fri Sep 20 2013 Daiki Ueno <dueno@redhat.com> - 1:0.2.7-1
Daiki Ueno 1b5793d
- add COPYING to %%doc
Daiki Ueno 1b5793d
- disable debuginfo
Daiki Ueno 1b5793d
- add Epoch to avoid conflict with the libkkc package
Daiki Ueno 1b5793d
Daiki Ueno 1b5793d
* Tue Sep 17 2013 Daiki Ueno <dueno@redhat.com> - 0.2.7-1
Daiki Ueno 1b5793d
- initial packaging for Fedora, splitting from libkkc
Daiki Ueno 1b5793d