Hello community,

here is the log from the commit of package ddskk for openSUSE:Factory checked 
in at 2015-08-27 08:55:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ddskk (Old)
 and      /work/SRC/openSUSE:Factory/.ddskk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ddskk"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ddskk/ddskk.changes      2014-06-10 
14:39:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ddskk.new/ddskk.changes 2015-08-27 
08:55:44.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Aug 21 15:43:04 UTC 2015 - [email protected]
+
+- update version 20150816
+  * dictionaries version 20150821
+  * wiki version 20150326
+  * changes see ChangeLog.5
+
+-------------------------------------------------------------------
@@ -5 +13 @@
-  * I don't know much but just see new updates
+  * changes see ChangeLog.4 and ChangeLog.5
@@ -7,2 +15 @@
-  * I don't know what's this about but upstream
-    now doesn't have this code
+  * upstream now doesn't have this code

Old:
----
  SKK-JISYO.wiki.bz2
  ddskk-20140608.tar.gz
  skkdic-20140609.tar.xz

New:
----
  README.SUSE
  SKK-JISYO.rb
  SKK-JISYO.wiki.20150326.bz2
  ddskk-20150816.tar.gz
  skkdic-20150821.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ddskk.spec ++++++
--- /var/tmp/diff_new_pack.oXlf8i/_old  2015-08-27 08:55:46.000000000 +0200
+++ /var/tmp/diff_new_pack.oXlf8i/_new  2015-08-27 08:55:46.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ddskk
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,19 +19,20 @@
 # Current version does not build with current xemacs, disable for now
 %define use_xemacs 0
 Name:           ddskk
-Version:        20140608
+Version:        20150816
 Release:        0
 Summary:        SKK (Simple Kana to Kanji Conversion Program) for Emacs
 License:        GPL-2.0+
 Group:          Productivity/Editors/Emacs
-Url:            http://openlab.jp/skk/index.html
+Url:            http://openlab.ring.gr.jp/skk/ddskk.html
 Source0:        
http://openlab.ring.gr.jp/skk/maintrunk/%{name}-%{version}.tar.gz
 Source1:        suse-start.el
-# it's a dump of http://openlab.ring.gr.jp/skk/skk/dic/
-Source100:      skkdic-20140609.tar.xz
-# wiki page in plaintext to explain skk dictionaries
-Source200:      SKK-JISYO.wiki.bz2
-Source300:      ddskk-rpmlintrc
+Source97:       SKK-JISYO.rb
+Source98:       README.SUSE
+Source99:       ddskk-rpmlintrc
+# see README.SUSE
+Source100:      skkdic-20150821.tar.xz
+Source200:      SKK-JISYO.wiki.20150326.bz2
 Patch2:         bugzilla-141756-workaround.patch
 BuildRequires:  compface
 BuildRequires:  emacs-x11
@@ -40,9 +41,9 @@
 BuildRequires:  xorg-x11-devel
 BuildRequires:  xz
 %if %{use_xemacs}
-BuildRequires:  flim-xemacs
-BuildRequires:  semi-xemacs
+BuildRequires:  xemacs-flim
 BuildRequires:  xemacs-packages
+BuildRequires:  xemacs-semi
 %endif
 Requires:       apel
 Requires:       emacs
@@ -76,7 +77,7 @@
 %package -n skkdic
 Summary:        Main Dictionary for SKK
 Group:          System/I18n/Japanese
-Url:            http://openlab.jp/skk/dic.html
+Url:            http://openlab.ring.gr.jp/skk/dic.html
 Requires(post):        info
 Requires(preun):       info
 Provides:       locale(scim-skk:ja)
@@ -87,13 +88,13 @@
 %package -n skkdic-extra
 Summary:        Optional, additional dictionaries for SKK
 Group:          System/I18n/Japanese
-Url:            http://openlab.jp/skk/dic.html
+Url:            http://openlab.ring.gr.jp/skk/dic.html
 
 %description -n skkdic-extra
 optional, additional dictionaries for SKK
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 %patch2 -p1
 tar --strip-components=1 --xz -xf %{S:100} -C dic
 pushd dic
@@ -104,6 +105,8 @@
 perl -pi -e "s/coding: iso-2022-jp/coding: utf-8/" doc/skk.texi
 # check if changing the encoding cookie worked, exit if not:
 grep "coding: utf-8" doc/skk.texi || exit 1
+# unpack dictionaries' introduction
+cp %{S:200} . && bzip2 -d *.bz2
 
 %build
 %define emacs_sitelisp_dir %{_datadir}/emacs/site-lisp
@@ -200,7 +203,7 @@
 
 %files -n skkdic
 %defattr(-,root,root)
-%doc dic/ChangeLog* dic/edict_doc.txt dic/READMEs/committers.txt 
dic/zipcode/README.ja
+%doc dic/ChangeLog* dic/edict_doc.txt dic/READMEs/committers.txt 
dic/zipcode/README.ja SKK-JISYO.wiki.20150326 
 %dir %{_datadir}/skk/
 %{_datadir}/skk/SKK-JISYO.L
 %{_datadir}/skk/skk.xpm

++++++ README.SUSE ++++++
# skk-dic

get -c -r -np -k -L -p http://openlab.ring.gr.jp/skk/skk/dic/
# 20150821: visit the link and see the last modification time
cp -r openlab.ring.gr.jp/skk/skk/dic skkdic-20150821
rm -rf skkdic-20150821/index*
tar -cvf skkdic-20150821.tar skkdic-20150821
xz -z -9 skkdic-20150821.tar

# SKK-JISYO.wiki.20150326.bz2

# 20150326: visit the page and see the last update time
./SKK-JISYO > SKK-JISYO.wiki.20150326
bzip2 -z -9 SKK-JISYO.wiki.20150326
++++++ SKK-JISYO.rb ++++++
#!/usr/bin/env ruby

require 'rubygems'
require 'nokogiri'
require 'open-uri'

url = "http://openlab.ring.gr.jp/skk/wiki/wiki.cgi?page=SKK%BC%AD%BD%F1";

doc = Nokogiri::HTML(open(url, &:read).encode("UTF-8",replace:""))

output = doc.css('div.main div.day div.body div.section').text

puts output
++++++ ddskk-20140608.tar.gz -> ddskk-20150816.tar.gz ++++++
++++ 3089 lines of diff (skipped)

++++++ skkdic-20140609.tar.xz -> skkdic-20150821.tar.xz ++++++
++++ 7876 lines of diff (skipped)


Reply via email to