Browse Source

2014-12-15 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* dbskkd-cdb, stone, tidy, uim-tomoe-gtk: rebuilt
	* espeak: updated
	* gwget: added Patch
	* sablotron, tomoe-gtk: updated spec
		 


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9156 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 7 years ago
parent
commit
35cfe5e291

+ 10 - 3
d/dbskkd-cdb/dbskkd-cdb-vl.spec

@@ -4,9 +4,9 @@ Summary: A dictionary server for the SKK Japanese input method system
 Summary(ja): SKK 日本語入力メソッドの辞書サーバ
 Name: dbskkd-cdb
 Version: 1.01
-Release: 19%{?_dist_release}
-License: GPL
-Group: Applications/System
+Release: 21%{?_dist_release}
+License: BSD
+Group: Applications/Services
 Source0: http://www.ne.jp/asahi/bdx/info/software/%{name}-%{version}.tar.gz
 Source1: dbskkd-cdb.xinetd
 # from freecdb.spec
@@ -78,6 +78,13 @@ rm -fr $RPM_BUILD_ROOT
 %config
 
 %changelog
+* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.01-21
+- rebuilt on current VineSeed
+- moved to Applications/Services Group
+
+* Sat Jun 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.01-20
+- rebuild with Vine6 environment
+
 * Sat Aug 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-19
 - spec in utf-8, new versioning policy
 

+ 31 - 19
e/espeak/espeak-vl.spec

@@ -1,19 +1,23 @@
 Name:           espeak
-Version:        1.43
-Release:        3%{?_dist_release}
 Summary:        Software speech synthesizer (text-to-speech)
+Version:        1.48.04
+Release:        1%{?_dist_release}
 
 Group:          Applications/Multimedia
 License:        GPLv3+
 URL:            http://espeak.sourceforge.net
-Source0:        http://kent.dl.sourceforge.net/sourceforge/espeak/espeak-%{version}-source.zip
+
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}-source.zip
+# Upstream ticket: https://sourceforge.net/p/espeak/patches/10/
 Source1:        espeak.1
-Patch0:         espeak-1.23-makefile_nostaticlibs.patch
-Patch1:         espeak-1.40.02-gcc_no_libstdc++.patch
-Patch2:         espeak-1.42.04-runtime-detection.patch
-Patch3:         espeak-1.43-ftbs_ld_libm.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+Patch0:         espeak-1.47-makefile-nostaticlibs.patch
+Patch1:         espeak-1.47-ftbs-ld-libm.patch
+# Upstream ticket: https://sourceforge.net/p/espeak/patches/10/
+Patch2:         espeak-1.48-help-fix.patch
+# Upstream ticket: https://sourceforge.net/p/espeak/bugs/105/
+Patch3:         espeak-1.47-wav-close.patch
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  portaudio-devel
 BuildRequires:  pulseaudio-libs-devel
 BuildRequires:  gcc-c++
@@ -33,11 +37,11 @@ It can run as a command line program to speak text from a file or from stdin.
 
 
 %package devel
-Summary: Development files for espeak
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 
-
 %description devel
 Development files for eSpeak, a software speech synthesizer.
 
@@ -45,9 +49,9 @@ Development files for eSpeak, a software speech synthesizer.
 %prep
 %setup -q -n espeak-%{version}-source
 %patch0 -p1 -b .nostaticlibs
-%patch1 -p1 -b .gcc_no_libstdc++
-%patch2 -p1 -b .runtime-detection
-%patch3 -p1 -b .ftbs_ld_libm
+%patch1 -p1 -b .ftbs-ld-libm
+%patch2 -p1 -b .help-fix
+%patch3 -p1 -b .wav-close
 
 # Fix file permissions
 find . -type f -exec chmod 0644 {} ";"
@@ -64,12 +68,15 @@ rm -f espeak-data/*_dict
 %build
 # Compile espeak
 cd src
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" AUDIO=pulseaudio
 
 # Compile the TTS voice dictionaries
 export ESPEAK_DATA_PATH=$RPM_BUILD_DIR/espeak-%{version}-source
 cd ../dictsource
-for voice in $(../src/speak --voices | awk '{print $2}{print $5}' | egrep -v Language\|File\|/ | uniq); do \
+# Strange sed regex to parse ambiguous output from 'speak --voices', filled upstream BZ 3608811
+for voice in $(../src/speak --voices | \
+LANG=C sed -n '/Age\/Gender/ ! s/ *[0-9]\+ *\([^ ]\+\) *M\? *[^ ]\+ *\(\((\|[A-Z]\)[^ ]\+\)\? *\([^ ]\+\).*/\1 \4/ p' | \
+sort | uniq); do \
     ../src/speak --compile=$voice; \
 done
 
@@ -88,19 +95,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %post -p /sbin/ldconfig
 
-
 %postun -p /sbin/ldconfig
 
 
 %files
 %defattr(-,root,root,-)
-%doc $RPM_BUILD_DIR/espeak-%{version}-source/ReadMe $RPM_BUILD_DIR/espeak-%{version}-source/ChangeLog $RPM_BUILD_DIR/espeak-%{version}-source/License.txt $RPM_BUILD_DIR/espeak-%{version}-source/html/
+%doc $RPM_BUILD_DIR/espeak-%{version}-source/ReadMe $RPM_BUILD_DIR/espeak-%{version}-source/ChangeLog.txt $RPM_BUILD_DIR/espeak-%{version}-source/License.txt $RPM_BUILD_DIR/espeak-%{version}-source/html/
 %{_mandir}/man1/espeak.1.gz
 %{_bindir}/espeak
 %{_datadir}/espeak-data
 %{_libdir}/libespeak.so.*
 
-
 %files devel
 %defattr(-,root,root)
 %{_libdir}/*.so
@@ -108,8 +113,15 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.48.04-1
+- updated to 1.48.04
+- replaced Patch0, 1, 2 and 3 based FC
+
+* Sun May 27 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.43-4
+- rebuilt with rpm-4.8.1-3
+
 * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.43-3
-- Added patch declaring explicit libm linking dependency (RHBZ #565186)
+- Initial build for Vine Linux
 
 * Thu Feb 18 2010 Francois Aucamp <faucamp@fedoraproject.org> - 1.43-2
 - Added patch declaring explicit libm linking dependency (RHBZ #565186)

+ 32 - 15
g/gwget/gwget-vl.spec

@@ -1,17 +1,20 @@
 %define name	gwget
 %define version	1.0.4
-%define release	2%{?_dist_release}
+%define release	4%{?_dist_release}
 
 Summary:	Download manager for Gnome
 Summary(ja): 	Gnome 用ダウンロードマネージャ
 Name:		%{name}
 Version:	%{version}
 Release: 	%{release}
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/gwget/0.99/%{name}-%{version}.tar.bz2
 License:	GPLv2+
 Group:		Applications/Internet
 URL:		http://www.gnome.org/projects/gwget/
 
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gwget/1.0/%{name}-%{version}.tar.bz2
+Patch1:		gwget-1.0.4-libnotify-0.7.0.patch
+Patch2:		gwget-glib.patch
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	gtk2-devel >= 2.10
 BuildRequires:	libgnomeui-devel
@@ -22,26 +25,29 @@ BuildRequires:	libSM-devel
 BuildRequires:	intltool >= 0.35.0
 BuildRequires:	gettext >= 0.14.1
 BuildRequires:	desktop-file-utils
-Requires:	wget, GConf2
+Requires:	wget >= 1.9
 Requires(post): GConf2
-Requires(post): desktop-file-utils
-Requires(pre): GConf2
 Requires(preun): GConf2
-Requires(postun): desktop-file-utils
 
 %description
-Gwget it's a download manager for the Gnome Desktop. 
-It supports resume, notification space, recursive download and
-drag & drop.
+Gwget is a Download Manager for Gnome 2. It uses wget as a backend.
+Currently, very basic wget options are available, supporting multiple
+downloads, drag&drop and display the errors from wget process.
 
 %description -l ja
-Gwget は Gnome Desktop 向けのダウンロードマネージャです。 
-レジュームや通知スペース、再帰ダウンロード、ドラッグ&ドロップ
-に対応しています。
-
+Gwget は Gnome 2 向けのダウンロードマネージャです。バックエンドに wget を使用します。現在は基本的な wget オプションを利用することができ、複数のダウンロード、ドラッグ&ドロップ、wget プロセスからのエラー表示に対応しています。
 
 %prep
 %setup -q
+%patch1 -p1 -b .libnotify-0.7.0
+%patch2 -p1 -b .glib
+
+# convert files to UTF-8 with preserving the timestamps
+for file in ChangeLog README; do
+    mv $file timestamp
+    iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
+    touch -r timestamp $file
+done
 
 %build
 %configure --disable-epiphany-extension --disable-static
@@ -51,8 +57,14 @@ make %{?_smp_mflags}
 %install
 %{__rm} -rf ${RPM_BUILD_ROOT}
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-%makeinstall
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+desktop-file-install \
+	--dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
+	--delete-original				\
+	${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
+
 %find_lang %{name}
 
 #remove unnecessary files.
@@ -62,7 +74,6 @@ unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %post
-update-desktop-database -q
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwget.schemas > /dev/null
 
@@ -92,6 +103,12 @@ update-desktop-database -q
 %{_datadir}/dbus-1/services/org.gnome.gwget.service
 
 %changelog
+* Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.4-4
+- added Patch1 and 2 to build with current VineSeed
+
+* Sun Feb 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-3
+- rebuilt with rpm-4.8.1
+
 * Sun Jan 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.4-2
 - added BuildRequires: libSM-devel (see [BTS:VineLinux:0900])
 

+ 36 - 21
s/sablotron/sablotron-vl.spec

@@ -1,6 +1,6 @@
 %define name sablotron
 %define version 1.0.3
-%define release 2%{?_dist_release}
+%define release 4%{?_dist_release}
 
 %define	altname Sablot
 %define builddir $RPM_BUILD_DIR/%{altname}-%{version}
@@ -15,18 +15,15 @@ Version: 		%{version}
 Release: 		%{release}
 License: 		MPL/GPL
 Group: 			Applications/Text
-#URL:			http://www.gingerall.cz
-#Source: 		http://www.gingerall.com:/perl/rd?url=sablot/%{altname}-%{version}.tar.gz
-#Source0: 		http://download-1.gingerall.cz/download/sablot/%{altname}-%{version}.tar.gz
 URL:			http://sourceforge.net/projects/sablotron/
+
 Source0: 		%{url}/files/sablotron-%{version}/Sablot-%{version}.tar.gz
-Patch:			sablot-lib-0.71.patch.bz2
-Requires:		expat >= 1.95.2
-Requires:		%{lib_name}
-BuildRequires:  	expat-devel >= 1.95.2 
-BuildRequires:		perl-XML-Parser
 
 BuildRoot:      	%{_tmppath}/%{name}-%{version}-root
+BuildRequires:  	expat-devel >= 1.95.2 
+BuildRequires:		perl-XML-Parser
+Requires:		expat >= 1.95.2
+Requires:		%{lib_name}
 
 %description
 Sablotron is a fast, compact and portable XML toolkit
@@ -59,23 +56,40 @@ These are the development libraries and header files for Sablotron
 
 %prep
 %setup -q -n %{altname}-%{version}
-#%patch
 
 %build
 export CXXFLAGS="${RPM_OPT_FLAGS}"
-./configure --prefix=%{_prefix}
-make 
+%configure --disable-static
+make %{?_smp_mflags}
 
 %install
-%makeinstall prefix=$RPM_BUILD_ROOT/%{_prefix}
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
 ## remove unuse files
 rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 
+# docs
+rm -rf _docs_to_include
+mkdir -p _docs_to_include
+mv $RPM_BUILD_ROOT/%{_docdir}/html/* _docs_to_include
+
+%clean
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+
+%post -n %{lib_name} -p /sbin/ldconfig
+
+%postun -n %{lib_name} -p /sbin/ldconfig
+
 
 %files
 %defattr(755,root,root)
+%doc _docs_to_include/*
 %{_bindir}/sabcmd
 %{_mandir}/man1/sabcmd.*
+#{_docdir}/html/jsdom-ref
+#{_docdir}/html/sablot
+#{_docdir}/html/sxp
 
 %files -n %{lib_name}
 %defattr(-,root,root)
@@ -85,19 +99,20 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 %files -n %{lib_name}-devel
 %defattr(-,root,root)
 %{_bindir}/sablot-config
-%{_libdir}/lib*.a
-#%{_libdir}/lib*.la
+#{_libdir}/lib*.a
+#{_libdir}/lib*.la
 %{_libdir}/lib*.so
 %{_includedir}/*.h
 
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
-%post -n %{lib_name} -p /sbin/ldconfig
+%changelog
+* Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.3-4
+- rebuilt on current VineSeed
+- excluded static library from libsablotron-devel package
+- moved html document to %{_docdir}/%{name}-%{version}
 
-%postun -n %{lib_name} -p /sbin/ldconfig
+* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-3
+- rebuild with Vine6 environment
 
-%changelog
 * Tue Mar 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.3-2
 - rebuilt with new toolchain
 

+ 26 - 7
s/stone/stone-vl.spec

@@ -9,8 +9,12 @@ Summary: The stone is TCP and UDP packet repeater.
 Summary(ja): TCP & UDP パケットリピータ stone
 Name: stone
 Version: 2.3e
-Release: 2%{_dist_release}
+Release: 4%{_dist_release}
+
+License: GPL
+Group: Applications/Internet
 URL: http://www.gcd.org/sengoku/stone/
+
 Source0: http://www.gcd.org/sengoku/stone/%{name}-%{version}.tar.gz
 # 'rfc1321.txt', 'global.h', 'md5.h', and 'md5c.c'
 Source1: stone-Source1.tar.gz
@@ -20,15 +24,17 @@ Source4: stone.1.gz
 Source5: stone.1.ja.gz
 # adapted for Vine Linux
 Patch0: stone-%{version}-Makefile.patch
-License: GPL
-Group: Applications/Internet
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Prefix: %{_prefix}
+BuildRequires: nkf
+BuildRequires: openssl-devel
 
 Requires: openssl
-BuildRequires: openssl-devel
+Requires: gcc-cpp
 
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwamoto
 
 %description
 Stone is a TCP/IP packet repeater in the application layer.  It
@@ -53,6 +59,12 @@ rm -rf ${RPM_BUILD_ROOT}
 %setup -a 1 -n %{_source_dir}
 %patch0 -p0 -b .vine
 
+nkf -w README.txt > README.txt.utf8
+mv README.txt.utf8 README.txt
+nkf -w GPL.txt > GPL.txt.utf8
+mv GPL.txt.utf8 GPL.txt
+
+
 # --- build
 %build
 make linux-ssl SSL_FLAGS='-DUSE_SSL' SSL_LIBS='-lssl -lcrypto'
@@ -60,6 +72,7 @@ make linux-ssl SSL_FLAGS='-DUSE_SSL' SSL_LIBS='-lssl -lcrypto'
 
 # --- install
 %install
+rm -rf ${RPM_BUILD_ROOT}
 install -d --mode=0755 ${RPM_BUILD_ROOT}%{_bindir}
 install -d --mode=0755 ${RPM_BUILD_ROOT}%{_mandir}/man1
 install -d --mode=0755 ${RPM_BUILD_ROOT}%{_mandir}/ja/man1
@@ -75,7 +88,6 @@ install --mode=0644 %{SOURCE3} ${RPM_BUILD_ROOT}/etc/stone.conf
 rm -rf ${RPM_BUILD_ROOT}
 
 
-
 # ----------------------------------------------------------
 # (3) File Lists
 # ----------------------------------------------------------
@@ -90,12 +102,19 @@ rm -rf ${RPM_BUILD_ROOT}
 %config(noreplace) /etc/stone.conf
 
 
-
 # ----------------------------------------------------------
 # (4) Change Log
 # ----------------------------------------------------------
 
 %changelog
+* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.3e-4
+- rebuilt on current VineSeed
+- added BR: nkf to convert document encoding to UTF
+
+* Mon Dec 30 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.3e-3
+- add R:gcc-cpp (cpp is required to parse conf file)
+- add Distri/Vendor/Packager tags
+
 * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3e-2
 - rebuild with openssl-1.0.0c
 

+ 14 - 4
t/tidy/tidy-vl.spec

@@ -5,16 +5,16 @@
 Name:    tidy
 Summary: Utility to clean up and pretty print HTML/XHTML/XML
 Version: 0.99.0
-Release: 1.%{snap}%{?_dist_release}
+Release: 3.%{snap}%{?_dist_release}
 
 Group:   Applications/Text
 License: W3C
 URL:     http://tidy.sourceforge.net/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 Source0: tidy-%{snap}cvs.tar.gz
 Source10: tidy-cvs_checkout.sh 
 
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libtool
 BuildRequires: doxygen
 BuildRequires: libxslt
@@ -35,16 +35,20 @@ more accessible to people with disabilities.
 
 %package -n %{libname} 
 Summary: Shared libraries for %{name}
-Group:	 System Environment/Libraries
+Summary(ja): %{name} の共有ライブラリ
+Group: System Environment/Libraries
+
 %description -n %{libname} 
 %{summary}.
 
 %package -n %{libname}-devel
 Summary: Development files for %{name} 
+Summary(ja): %{name} の開発用ファイル 
 Group:   Development/Libraries
+Requires: %{libname}%{?_isa} = %{version}-%{release}
 Obsoletes: tidy-devel < 0.99.0-10 
 Provides:  tidy-devel = %{version}-%{release}
-Requires: %{libname}%{?_isa} = %{version}-%{release}
+
 %description -n %{libname}-devel
 %{summary}.
 
@@ -116,6 +120,12 @@ popd
 
 
 %changelog
+* Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.99.0-3.20091203
+- rebuilt on current VineSeed
+
+* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.99.0-2.20091203
+- rebuild with Vine6 environment
+
 * Mon Aug 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 0.99.0-1.20091203
 - initial build based on Fedora development
 

+ 35 - 25
t/tomoe-gtk/tomoe-gtk-vl.spec

@@ -1,31 +1,37 @@
-%define with_python	0
-
 %define _tomoe_ver	0.6.0
+%bcond_with python
 
-Summary:	A class library for tomoe's GUI parts
-Summary(ja):	tomoe の GUI パーツのクラスライブラリ
+Summary:	Gtk library for tomoe for Japanese and Chinese handwritten input
+Summary(ja):	tomoe の GTK ライブラリ
 Name:		tomoe-gtk
 Version:	0.6.0
-Release:	2%{?_dist_release}
-Group:		System Environment/Libraries
+Release:	3%{?_dist_release}
+
 License:	LGPL
+Group:		System Environment/Libraries
 URL:		http://tomoe.sourceforge.jp/
+
 Source0:	tomoe-gtk-%{version}.tar.gz
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
-BuildRequires:	tomoe-devel >= %{_tomoe_ver}
-BuildRequires:	gtk2-devel >= 2.4.0, gtk-doc >= 1.4
+BuildRequires:  gtk-doc >= 1.4
+BuildRequires:	gtk2-devel >= 2.4.0
 # does not currently build with gucharmap-2
 #BuildRequires:  gucharmap-devel
+BuildRequires:	tomoe-devel >= %{_tomoe_ver}
+
+
 Requires:	tomoe >= %{_tomoe_ver}
 Requires:	gtk2 >= 2.4.0
-Requires(post):		ldconfig
 Obsoletes:	libtomoe-gtk < 0.6.0
 
 %description
-The tomoe-gtk is a class library for tomoe's GUI parts.
+Gtk library for tomoe Japanese handwritten input.
+This package is used by scim-tomoe or uim-tomoe.
 
 %description -l ja
-tomoe-gtk は tomoe の GUI パーツのクラスライブラリです。
+手書き文字認識エンジン tomoe の gtk ライブラリです。
+scim-tomoe または uim-tomoe に用いられます。
 
 %package devel
 Summary:	Header files for developing tomoe-gtk applications
@@ -33,20 +39,18 @@ Summary(ja):	tomoe-gtk アプリケーション開発用ヘッダファイル
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	tomoe-devel >= %{_tomoe_ver}
-Requires:	gucharmap-devel >= 1.4.0
+#Requires:	gucharmap-devel >= 1.4.0
 Requires:	pkgconfig
 Obsoletes:	libtomoe-gtk-devel < 0.6.0
 
 %description devel
 The tomoe-gtk-devel package includes the header files for the tomoe-gtk
 package.
-Install this package if you want to develop programs which use tomoe-gtk.
 
 %description -l ja devel
-tomoe-gtk-devel パッケージには、tomoe-gtk を使うアプリケーションを開発
-するためのヘッダファイルが含まれています。
+tomoe-gtk-devel パッケージには、tomoe-gtk を使うアプリケーションを開発するためのヘッダファイルが含まれています。
 
-%if %{with_python}
+%if %{with python}
 %package -n python-tomoe-gtk
 Summary:	tomoe-gtk library for Python binding
 Summary(ja):	Python から tomoe-gtk を使うためのライブラリ
@@ -54,11 +58,12 @@ Group:		System Environment/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	python
 BuildRequires:  python-devel
+BuildRequires:  pygobject-devel
 
-%description -n python-tomoe
+%description -n python-tomoe-gtk
 Python extension library to use tomoe-gtk
 
-%description -l ja -n python-tomoe
+%description -l ja -n python-tomoe-gtk
 Python から tomoe-gtk を使うための拡張ライブラリです。
 %endif
 
@@ -69,6 +74,7 @@ Python から tomoe-gtk を使うための拡張ライブラリです。
 %build
 %configure \
     --disable-static \
+    %{!?with_python: --without-python } \
     --without-gucharmap
 
 %__make %{?_smp_mflags}
@@ -81,20 +87,15 @@ Python から tomoe-gtk を使うための拡張ライブラリです。
 ## remove unuse files
 find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm
 
-%if !%{with_python}
-%__rm -f %{buildroot}%{_libdir}/python?.?/site-packages/gtk-?.?/tomoegtk.so
-%endif
 
 %find_lang %{name}
 
 %clean
 %__rm -rf %{buildroot}
 
-%post
-%{_syssbindir}/ldconfig
+%post -p %{_syssbindir}/ldconfig
 
-%postun
-%{_syssbindir}/ldconfig
+%postun -p %{_syssbindir}/ldconfig
 
 
 %files -f %{name}.lang
@@ -110,8 +111,17 @@ find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm
 %{_libdir}/*.so
 %{_datadir}/gtk-doc/html/libtomoe-gtk
 
+%if %{with python}
+%files -n python-tomoe-gtk
+%defattr(-,root,root,-)
+%{_libdir}/python?.?/site-packages/gtk-?.?/tomoegtk.so
+%endif
+
 
 %changelog
+* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.0-3
+- rebuilt on current VineSeed
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.0-2
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 8 - 2
u/uim-tomoe-gtk/uim-tomoe-gtk-vl.spec

@@ -4,9 +4,9 @@ Summary:	A tool for providing tomoe support to uim
 Summary(ja):	uim で手書き文字入力ができるようにするツール
 Name:		uim-tomoe-gtk
 Version:	0.6.0
-Release:	2%{?_dist_release}
+Release:	4%{?_dist_release}
 
-Group:		User Interface/X
+Group:		User Interface/Desktops
 License:	LGPL
 URL:		http://tomoe.sourceforge.jp/
 
@@ -60,6 +60,12 @@ fi
 %{_datadir}/applications/*.desktop
 
 %changelog
+* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.0-4
+- rebuilt on current VineSeed
+
+* Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-3
+- rebuild with uim-1.6.1
+
 * Thu Aug 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-2
 - rebuilt with uim-1.6.0