SHA256
1
0
forked from pool/ddskk

Accepting request 89443 from M17N

This is resubmission of declined request #88643
fix representation of bug number in ddskk.changes. (forwarded request 89442 from ftake)

OBS-URL: https://build.opensuse.org/request/show/89443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ddskk?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2011-10-27 09:04:04 +00:00 committed by Git OBS Bridge
commit 72166a1e53
2 changed files with 27 additions and 48 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Oct 26 17:56:57 UTC 2011 - ftake@geeko.jp
- fix bnc#724242 - skk-autoloads.el is newer than byte-compiled file
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 27 11:20:45 UTC 2009 - aj@suse.de Thu Aug 27 11:20:45 UTC 2009 - aj@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package ddskk (Version 20050123) # spec file for package ddskk
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: ddskk Name: ddskk
@ -28,7 +27,6 @@ BuildRequires: flim-xemacs semi-xemacs xemacs-packages
License: GPL v2 or later License: GPL v2 or later
Group: Productivity/Editors/Emacs Group: Productivity/Editors/Emacs
Requires: emacs, apel, skkdic Requires: emacs, apel, skkdic
AutoReqProv: on
Provides: locale(emacs:ja) Provides: locale(emacs:ja)
Version: 20050123 Version: 20050123
Release: 267 Release: 267
@ -68,14 +66,6 @@ SKK (Simple Kana to Kanji conversion program) is a Japanese input
method for Emacs. ddskk (Daredevil SKK) is a version of SKK that is method for Emacs. ddskk (Daredevil SKK) is a version of SKK that is
aggressively developed. aggressively developed.
Authors:
--------
NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
Tsukamoto Tetsuo <czkmt@remus.dti.ne.jp>
Masahiko Sato <masahiko@kuis.kyoto-u.ac.jp>
%if %use_xemacs %if %use_xemacs
%package -n ddskk-xemacs %package -n ddskk-xemacs
@ -90,13 +80,6 @@ SKK (`Simple Kana to Kanji conversion program') is a Japanese input
method for XEmacs. ddskk ('Daredevil SKK') is a version of SKK which is method for XEmacs. ddskk ('Daredevil SKK') is a version of SKK which is
aggressively developed. aggressively developed.
Authors:
--------
NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
Tsukamoto Tetsuo <czkmt@remus.dti.ne.jp>
Masahiko Sato <masahiko@kuis.kyoto-u.ac.jp>
%endif %endif
%package -n skkdic %package -n skkdic
@ -110,14 +93,6 @@ Summary: Main Dictionary for SKK
%description -n skkdic %description -n skkdic
main dictionary for SKK main dictionary for SKK
Authors:
--------
NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
Tsukamoto Tetsuo <czkmt@remus.dti.ne.jp>
Masahiko Sato <masahiko@kuis.kyoto-u.ac.jp>
%package -n skkdic-extra %package -n skkdic-extra
License: GPL v2 or later License: GPL v2 or later
Group: System/I18n/Japanese Group: System/I18n/Japanese
@ -127,14 +102,6 @@ Summary: optional, additional dictionaries for SKK
%description -n skkdic-extra %description -n skkdic-extra
optional, additional dictionaries for SKK optional, additional dictionaries for SKK
Authors:
--------
NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>
Tsukamoto Tetsuo <czkmt@remus.dti.ne.jp>
Masahiko Sato <masahiko@kuis.kyoto-u.ac.jp>
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%patch0 -p1 %patch0 -p1
@ -158,7 +125,7 @@ make PREFIX=$RPM_BUILD_ROOT/usr \
SKK_INFODIR=$RPM_BUILD_ROOT/usr/share/info \ SKK_INFODIR=$RPM_BUILD_ROOT/usr/share/info \
APEL_SPECIFIC_LISPDIR=$RPM_BUILD_ROOT%emacs_sitelisp_dir/apel \ APEL_SPECIFIC_LISPDIR=$RPM_BUILD_ROOT%emacs_sitelisp_dir/apel \
SKK_LISPDIR=$RPM_BUILD_ROOT%emacs_package_dir \ SKK_LISPDIR=$RPM_BUILD_ROOT%emacs_package_dir \
EMACS=emacs EMACS=emacs %{?_smp_mflags}
%install %install
export LANG=ja_JP.UTF-8 export LANG=ja_JP.UTF-8
@ -190,7 +157,7 @@ make PREFIX=$RPM_BUILD_ROOT/usr \
APEL_SPECIFIC_LISPDIR=$RPM_BUILD_ROOT%xemacs_package_dir/lisp/apel \ APEL_SPECIFIC_LISPDIR=$RPM_BUILD_ROOT%xemacs_package_dir/lisp/apel \
SKK_LISPDIR=$RPM_BUILD_ROOT%xemacs_package_dir/lisp/skk \ SKK_LISPDIR=$RPM_BUILD_ROOT%xemacs_package_dir/lisp/skk \
PACKAGEDIR=$RPM_BUILD_ROOT%xemacs_package_dir \ PACKAGEDIR=$RPM_BUILD_ROOT%xemacs_package_dir \
EMACS=xemacs EMACS=xemacs %{?_smp_mflags}
make PREFIX=$RPM_BUILD_ROOT/usr \ make PREFIX=$RPM_BUILD_ROOT/usr \
SKK_DATADIR=$RPM_BUILD_ROOT/usr/share/skk \ SKK_DATADIR=$RPM_BUILD_ROOT/usr/share/skk \
SKK_INFODIR=$RPM_BUILD_ROOT%xemacs_package_dir/info \ SKK_INFODIR=$RPM_BUILD_ROOT%xemacs_package_dir/info \
@ -216,15 +183,17 @@ do
done done
%endif %endif
# remove buildroot in .el files: # remove buildroot in .el files:
for i in $(find $RPM_BUILD_ROOT -name "*.el") # for i in $(find $RPM_BUILD_ROOT -name "*.el")
do # do
perl -pi -e "s|$RPM_BUILD_ROOT||" $i # perl -pi -e "s|$RPM_BUILD_ROOT||" $i
# touch the .elc files again because they are still up to date: # # touch the .elc files again because they are still up to date:
if -f ${i}c # if -f ${i}c
then # then
touch ${i}c # touch ${i}c
fi # fi
done # done
perl -pi -e "s|$RPM_BUILD_ROOT||" $RPM_BUILD_ROOT%{emacs_package_dir}/skk-setup.el
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
rm -f $RPM_BUILD_ROOT/%{xemacs_package_dir}/info/dir rm -f $RPM_BUILD_ROOT/%{xemacs_package_dir}/info/dir
@ -240,8 +209,6 @@ do
%install_info --delete --info-dir=%{_infodir} %{_infodir}/${i}.info.gz %install_info --delete --info-dir=%{_infodir} %{_infodir}/${i}.info.gz
done done
%clean
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog* READMEs %doc ChangeLog* READMEs