Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f869648b0 |
3 changed files with 15 additions and 23 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@
|
|||
/ddskk-14.4.tar.bz2
|
||||
/ddskk-15.1.tar.gz
|
||||
/ddskk-15.2.tar.gz
|
||||
/ddskk-16.1.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
%global pkg ddskk
|
||||
%global pkgname Daredevil SKK
|
||||
%global codename Futamata
|
||||
|
||||
Summary: Daredevil SKK - Simple Kana to Kanji conversion program for Emacs
|
||||
Name: emacs-common-ddskk
|
||||
Version: 15.2
|
||||
Release: 3%{?dist}
|
||||
Version: 16.1
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Editors
|
||||
URL: http://openlab.ring.gr.jp/skk/main.html
|
||||
|
|
@ -57,32 +58,16 @@ XEmacs.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg}-%{version}
|
||||
%setup -q -n %{pkg}-%{pkg}-%{version}_%{codename}
|
||||
|
||||
# We can't set SKK-MK-texinfo-coding-system in SKK-CFG since it is
|
||||
# defined with defconst.
|
||||
|
||||
sed -ie "s!\(SKK-MK-texinfo-coding-system\) 'iso-2022-jp!\1 'utf-8!" SKK-MK
|
||||
|
||||
# We first convert Shift_JIS docs to UTF-8 and save it as *.UTF-8.
|
||||
# Then do the same thing for ISO-2022-JP docs (the rest of docs ending
|
||||
# with .ja). Finally, change the filenames back to the originals.
|
||||
|
||||
for i in READMEs/README.MacOSX.ja READMEs/README.w32.ja
|
||||
do
|
||||
iconv -f Shift_JIS -t UTF-8 $i > ${i}.UTF-8
|
||||
rm $i
|
||||
done
|
||||
|
||||
for i in READMEs/*.ja
|
||||
do
|
||||
iconv -f ISO-2022-JP -t UTF-8 $i > ${i}.UTF-8
|
||||
done
|
||||
|
||||
for i in READMEs/*.UTF-8
|
||||
do
|
||||
mv $i ${i%%.UTF-8}
|
||||
done
|
||||
# We don't need information about other platforms
|
||||
rm READMEs/README.MacOSX.ja
|
||||
rm READMEs/README.w32.ja.org
|
||||
|
||||
# avoid buildroot in tutorial path
|
||||
sed -ie "s!@TUT@!%{_datadir}/skk/SKK.tut!" skk-setup.el.in
|
||||
|
|
@ -159,6 +144,12 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 5 2016 Daiki Ueno <dueno@redhat.com> - 16.1-1
|
||||
- new upstream release
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 15.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Jun 25 2015 Daiki Ueno <dueno@redhat.com> - 15.2-3
|
||||
- drop -el subpackages (#1234541)
|
||||
- fix wrong dates in changelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
86cfef812f4f899176abdb1842bacb6b ddskk-15.2.tar.gz
|
||||
132cccb6e86ad8cd121b9291762de172 ddskk-16.1.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue