Hello community, here is the log from the commit of package canna-yubin for openSUSE:Factory checked in at 2014-08-11 10:07:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/canna-yubin (Old) and /work/SRC/openSUSE:Factory/.canna-yubin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "canna-yubin" Changes: -------- --- /work/SRC/openSUSE:Factory/canna-yubin/canna-yubin.changes 2013-10-02 08:47:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.canna-yubin.new/canna-yubin.changes 2014-08-11 10:07:24.000000000 +0200 @@ -1,0 +2,13 @@ +Fri Aug 8 08:47:50 UTC 2014 - [email protected] + +- New upstream https://sourceforge.jp/projects/canna-yubin/simple/ . +- Updated upstream version to 0.1.1.20140731.3. +- Updated data to 2014-07-31 ver. +- Refectoring spec file: + + The cide ti replace the data is unnecessary + because upstream's data is up to date. + + I deleted the unnecessary macros. + + The conversion process is doing in Makefile. + + Deleted unnecessary directories from files section. + +------------------------------------------------------------------- Old: ---- canna-yubin_0.0.20011101.tar.bz2 jigyosyo.zip ken_all.zip New: ---- canna-yubin-0.1.1.20140731.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ canna-yubin.spec ++++++ --- /var/tmp/diff_new_pack.sAttJq/_old 2014-08-11 10:07:25.000000000 +0200 +++ /var/tmp/diff_new_pack.sAttJq/_new 2014-08-11 10:07:25.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package canna-yubin # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,25 +22,14 @@ # See also: # https://build.opensuse.org/package/show/home:Mitsutoshi:M17N/update-canna-yubin Conflicts: update-canna-yubin +BuildRequires: canna BuildRequires: canna-devel BuildRequires: nkf -BuildRequires: unzip PreReq: /usr/sbin/useradd -%define pkgver 0.0.20011101 -Version: 0.0.20011101_20130930dat +Version: 0.1.1.20140731.3 Release: 0 -Url: http://www8.plala.or.jp/ykomatsu/software/canna-yubin.html -# Original source: -# http://homepage1.nifty.com/ykomatsu/canna-yubin/canna-yubin_0.0.20011101.tar.gz -# Source0's URL was dead . -Source0: %{name}_%{pkgver}.tar.bz2 -# Source[12] are data files . Added by [email protected] . -# Read http://www.post.japanpost.jp/zipcode/dl/readme.html . -# Check http://www.post.japanpost.jp/zipcode/dl/kogaki-zip.html . -Source1: http://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip -# Read http://www.post.japanpost.jp/zipcode/dl/jigyosyo/readme.html . -# Check http://www.post.japanpost.jp/zipcode/dl/jigyosyo/index-zip.html . -Source2: http://www.post.japanpost.jp/zipcode/dl/jigyosyo/zip/jigyosyo.zip +Url: https://sourceforge.jp/projects/canna-yubin/simple/ +Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Postal Code Extension Dictionary for Canna License: GPL-2.0+ and SUSE-Public-Domain @@ -54,45 +43,32 @@ # 著者: # ------ # Japanese Ministry of Posts and Telecommunications -# Yoshito Komatsu <[email protected]> +# Yoshito Komatsu %description A Japanese postal code number extension dictionary for Canna . %prep -%setup -q -n %{name}-%{pkgver} -a 1 -a 2 -%__mv KEN_ALL.CSV ken_all.csv -%__mv JIGYOSYO.CSV jigyosyo.csv +%setup -q %build -%define canna_dir /var/lib/canna -%define canna_dic_dir /var/lib/canna/dic -%define canna_system_dic_dir %{canna_dic_dir}/canna -%define canna_user_dic_dir %{canna_dic_dir}/user -%define canna_root_dic_dir %{canna_user_dic_dir}/root -./yu2can.pl > yubin7.ctd.tmp -#iconv -f SHIFT-JIS -t EUC-JP yubin7.ctd.tmp > yubin7.ctd -nkf -Se yubin7.ctd.tmp > yubin7.ctd # make binary dictionaries: -mkbindic -m yubin7.ctd +%__make %install +%define canna_system_dic_dir %{_var}/lib/canna/dic/canna [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -mkdir -p $RPM_BUILD_ROOT%{canna_system_dic_dir} -install -m 644 yubin7.cbd yubin7.cld $RPM_BUILD_ROOT%{canna_system_dic_dir} +%makeinstall %pre /usr/sbin/useradd -r -o -g bin -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || : %clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; -%files -n canna-yubin +%files %defattr(-, root, root) %doc README* debian/README* debian/copyright -%dir %{canna_dir}/ -%dir %attr(-, wnn, root) %{canna_dic_dir}/ -%dir %attr(-, wnn, root) %{canna_system_dic_dir}/ %attr(-, wnn, root) %{canna_system_dic_dir}/* %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
