|
|
@ -1,18 +1,36 @@
|
|
|
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 12;
|
|
|
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg anthy-unicode
|
|
|
|
%global pkg anthy-unicode
|
|
|
|
%bcond_with xemacs
|
|
|
|
|
|
|
|
%bcond_without autoreconf
|
|
|
|
%bcond_without autoreconf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if (0%{?fedora} > 35 || 0%{?rhel} > 7)
|
|
|
|
|
|
|
|
%bcond_with xemacs
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_without xemacs
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: anthy-unicode
|
|
|
|
Name: anthy-unicode
|
|
|
|
Version: 1.0.0.20201109
|
|
|
|
Version: 1.0.0.20240502
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: %autorelease
|
|
|
|
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
|
|
|
# The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain.
|
|
|
|
License: LGPLv2+ and GPLv2 and Public Domain
|
|
|
|
License: LGPL-2.0-or-later AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
|
|
|
|
URL: https://github.com/fujiwarat/anthy-unicode/wiki
|
|
|
|
URL: https://github.com/fujiwarat/anthy-unicode/wiki
|
|
|
|
BuildRequires: emacs
|
|
|
|
BuildRequires: emacs
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: git
|
|
|
|
%if 0%{?rhel} == 0
|
|
|
|
%if %{with xemacs}
|
|
|
|
BuildRequires: xemacs
|
|
|
|
BuildRequires: xemacs
|
|
|
|
|
|
|
|
# overlay.el is required by anthy-unicode.el and anthy-unicode-isearch.el
|
|
|
|
|
|
|
|
BuildRequires: xemacs-packages-extra
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if %{with autoreconf}
|
|
|
|
%if %{with autoreconf}
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf
|
|
|
@ -22,7 +40,8 @@ BuildRequires: make
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: %{name}-init.el
|
|
|
|
Source1: https://github.com/fujiwarat/anthy-unicode/releases/download/%{version}/%{name}-%{version}.tar.gz.sum
|
|
|
|
|
|
|
|
Source2: %{name}-init.el
|
|
|
|
# Upstreamed patches
|
|
|
|
# Upstreamed patches
|
|
|
|
#Patch0: %%{name}-HEAD.patch
|
|
|
|
#Patch0: %%{name}-HEAD.patch
|
|
|
|
Patch0: %{name}-HEAD.patch
|
|
|
|
Patch0: %{name}-HEAD.patch
|
|
|
@ -39,18 +58,18 @@ other conversion server.
|
|
|
|
%package -n emacs-%{pkg}
|
|
|
|
%package -n emacs-%{pkg}
|
|
|
|
Summary: Emacs files for %{pkg}
|
|
|
|
Summary: Emacs files for %{pkg}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: emacs(bin) >= %{_emacs_version}
|
|
|
|
Requires: emacs-filesystem >= %{_emacs_version}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n emacs-%{pkg}
|
|
|
|
%description -n emacs-%{pkg}
|
|
|
|
This package contains the byte compiled elips packages to run %{pkg}
|
|
|
|
This package contains the byte compiled elips packages to run %{pkg}
|
|
|
|
with GNU Emacs.
|
|
|
|
with GNU Emacs.
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 0
|
|
|
|
%if %{with xemacs}
|
|
|
|
%package -n xemacs-%{pkg}
|
|
|
|
%package -n xemacs-%{pkg}
|
|
|
|
Summary: XEmacs files for %{pkg}
|
|
|
|
Summary: XEmacs files for %{pkg}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: xemacs(bin) >= %{_xemacs_version}
|
|
|
|
Requires: xemacs-filesystem >= %{_xemacs_version}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n xemacs-%{pkg}
|
|
|
|
%description -n xemacs-%{pkg}
|
|
|
@ -68,6 +87,11 @@ the programs which uses Anthy Unicode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
|
|
|
|
SAVED_SUM=$(grep sha512sum %SOURCE1 | awk '{print $2}')
|
|
|
|
|
|
|
|
MY_SUM=$(sha512sum %SOURCE0 | awk '{print $1}')
|
|
|
|
|
|
|
|
if test x"$SAVED_SUM" != x"$MY_SUM" ; then
|
|
|
|
|
|
|
|
abort
|
|
|
|
|
|
|
|
fi
|
|
|
|
%autosetup -S git
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -83,26 +107,30 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
# remove unnecessary files
|
|
|
|
# remove unnecessary files
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pushd ./src-util
|
|
|
|
|
|
|
|
install -m 644 dic-tool-input $RPM_BUILD_ROOT%{_datadir}/%{pkg}
|
|
|
|
|
|
|
|
install -m 644 dic-tool-result $RPM_BUILD_ROOT%{_datadir}/%{pkg}
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
## for emacs-anthy
|
|
|
|
## for emacs-anthy
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 0
|
|
|
|
%if %{with xemacs}
|
|
|
|
## for xemacs-anthy
|
|
|
|
## for xemacs-anthy
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_xemacs_sitestartdir}
|
|
|
|
# FIXME lisp build
|
|
|
|
# FIXME lisp build
|
|
|
|
%if %{with xemacs}
|
|
|
|
pushd ./src-util
|
|
|
|
pushd $RPM_BUILD_DIR/%{name}-%{version}/src-util
|
|
|
|
|
|
|
|
make clean
|
|
|
|
make clean
|
|
|
|
make EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}"
|
|
|
|
#make EMACS=xemacs lispdir="%%{_xemacs_sitelispdir}/%%{pkg}"
|
|
|
|
|
|
|
|
# The latest /usr/share/automake-*/am/lisp.am calls -L option for
|
|
|
|
|
|
|
|
# $(EMACS) --batch but -L is not supported by xemacs.
|
|
|
|
|
|
|
|
# Copy elisp-comp script here from old automake
|
|
|
|
|
|
|
|
xemacs --batch --eval '(setq load-path (cons nil load-path))' -f batch-byte-compile *.el
|
|
|
|
|
|
|
|
make
|
|
|
|
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}" INSTALL="install -p"
|
|
|
|
make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="%{_xemacs_sitelispdir}/%{pkg}" INSTALL="install -p"
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%else
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitelispdir}/%{pkg}
|
|
|
|
|
|
|
|
cp $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/*.el \
|
|
|
|
|
|
|
|
$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/%{pkg}/.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -142,7 +170,7 @@ cd ..
|
|
|
|
%{_emacs_sitestartdir}/*.el
|
|
|
|
%{_emacs_sitestartdir}/*.el
|
|
|
|
%dir %{_emacs_sitelispdir}/%{pkg}
|
|
|
|
%dir %{_emacs_sitelispdir}/%{pkg}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 0
|
|
|
|
%if %{with xemacs}
|
|
|
|
%files -n xemacs-%{pkg}
|
|
|
|
%files -n xemacs-%{pkg}
|
|
|
|
%doc doc/ELISP
|
|
|
|
%doc doc/ELISP
|
|
|
|
%{_xemacs_sitelispdir}/%{pkg}/*.el
|
|
|
|
%{_xemacs_sitelispdir}/%{pkg}/*.el
|
|
|
@ -155,65 +183,18 @@ cd ..
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc doc/DICLIB doc/DICUTIL doc/GLOSSARY doc/GRAMMAR doc/GUIDE.english doc/ILIB doc/LEARNING doc/LIB doc/MISC doc/POS doc/SPLITTER doc/TESTING doc/protocol.txt
|
|
|
|
%doc doc/DICLIB doc/DICUTIL doc/GLOSSARY doc/GRAMMAR doc/GUIDE.english doc/ILIB doc/LEARNING doc/LIB doc/MISC doc/POS doc/SPLITTER doc/TESTING doc/protocol.txt
|
|
|
|
|
|
|
|
%{_datadir}/%{pkg}/dic-tool-input
|
|
|
|
|
|
|
|
%{_datadir}/%{pkg}/dic-tool-result
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri May 06 2022 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-9
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
- Fix covscan report. Related: rhbz#2068287
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.0.20240502-12
|
|
|
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
* Fri Apr 29 2022 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-8
|
|
|
|
|
|
|
|
- Rebuild to add anthy-unicode-devel to CRB. Related: rhbz#2068287
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.0.20201109-7
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 13 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-6
|
|
|
|
|
|
|
|
- Fix covscan report. Related: rhbz#1963073
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon May 03 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-5
|
|
|
|
|
|
|
|
- Delete unnecessary xemacs in tests/tests.yml. Related: rhbz#1956212
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat May 01 2021 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-4
|
|
|
|
|
|
|
|
- Enable CI. Related: rhbz#1956212
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.0.20201109-3
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.20201109-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 09 2020 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20201109-1
|
|
|
|
|
|
|
|
- Bump 1.0.0.20201109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.20191015-5
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.20191015-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.20191015-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 21 2019 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20191015-2
|
|
|
|
|
|
|
|
- Add %%check to run local test programs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 15 2019 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20191015-1
|
|
|
|
|
|
|
|
- Release anthy-unicode 1.0.0.20191015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 07 2019 Takao Fujiwara <fujiwara@redhat.com> 1.0.0.20190412-1
|
|
|
|
* Sun Aug 18 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.0.0.20240502-11
|
|
|
|
- Initial package
|
|
|
|
- RPMAUTOSPEC: unresolvable merge
|
|
|
|
- Update license
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
- Delete Group tags
|
|
|
|
|
|
|
|
- Make parse_modify_freq_command() for UTF-8
|
|
|
|
|
|
|
|
- Revert ptab.h to EUC-JP
|
|
|
|
|
|
|
|
- BuildRequire: git
|
|
|
|
|
|
|
|
- Genearate emacs- and xemacs- sub packages
|
|
|
|
|
|
|
|
- Fix some obsolete warnings in emacs batch-byte-compile
|
|
|
|
|
|
|
|
- Fix shared-lib-calls-exit
|
|
|
|
|
|
|
|
- Fix non-conffile-in-etc
|
|
|
|
|
|
|
|
- Fix description-line-too-long
|
|
|
|
|
|
|
|