Browse Source

rebuilt:djview,python-django,python-kconv,python-pykf,python-tornado,sodipodi,tokyocabinet

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3769 ec354946-7b23-47d6-9f5a-488ba84defc7
owa 13 years ago
parent
commit
2648950033

+ 27 - 10
d/djview/djview-vl.spec

@@ -2,7 +2,7 @@ Summary: DjVu viewer
 Summary(ja): DjVu 画像形式ファイルのビュアー
 Name: djview
 Version: 4.7
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL
 Group: Applications/Publishing
 URL: http://djvu.sourceforge.net/djview4.html
@@ -51,7 +51,7 @@ if test -x /usr/sbin/update-alternatives ; then
     && rm %{buildroot}%{_mandir}/man1/djview.1
 fi
 
-cat > djview.desktop <<EOF
+cat > %{name}.desktop <<EOF
 [Desktop Entry]
 Encoding=UTF-8
 Type=Application
@@ -59,22 +59,35 @@ Categories=Application;Graphics;
 MimeType=image/x-djvu;image/x.djvu;image/vnd.djvu;
 Name=DjView
 Name[ja]=Djvuビュアー
-Exec=djview %f
+Exec=%{name} %f
 Comment=Standalone Djvu Viewer
 Comment[ja]=スタンドアロンでDjvu画像を表示するツールです
 Terminal=false
-Icon=djview4
+Icon=%{name}
 EOF
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
-install -m644 ./desktopfiles/hi32-djview4.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/djview4.png
+desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
+install -m644 ./desktopfiles/hi32-djview4.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
+install -m644 ./desktopfiles/hi64-djview4.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
 
 
 %post 
-update-mime-database /usr/share/mime >/dev/null || :
+update-desktop-database -q
+update-mime-database /usr/share/mime > /dev/null 2>&1 || :
+touch %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %postun
-update-mime-database /usr/share/mime >/dev/null || :
+update-desktop-database -q
+update-mime-database /usr/share/mime > /dev/null 2>&1 || :
+touch %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+fi
 
 %clean
 rm -rf %{buildroot}
@@ -82,10 +95,11 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-, root, root)
-%doc README* COPYRIGHT COPYING INSTALL NEWS TODO
+%doc COPYRIGHT COPYING INSTALL NEWS README*
 %{_bindir}
 %{_datadir}/djvu/djview4
-%{_datadir}/pixmaps/*.png
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/*.png
 %{_mandir}
 
 %files plugin
@@ -94,6 +108,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 4.7-2
+- install desktop files
+
 * Sun May 01 2011 Shu KONNO <owa@bg.wakwak.com> 4.7-1
 - initial build for VineLinux
 

+ 6 - 4
p/python-django/python-django-vl.spec

@@ -1,7 +1,7 @@
 Summary: A high-level Python Web framework
 Summary(ja): Python の高度なウェブフレームワーク
 Name: python-django
-Version: 1.2.5
+Version: 1.3
 Release: 1%{?_dist_release}
 Group: Development/Languages
 BuildArch: noarch
@@ -14,7 +14,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: python-devel
 BuildRequires: python-sphinx
 Requires: python-simplejson
-
 Vendor: Project Vine
 Distribution: Vine Linux
 Packager: owa, munepi
@@ -65,10 +64,10 @@ pushd $RPM_BUILD_ROOT%{python_sitelib}/django
 	chmod +x conf/project_template/manage.py*
 	chmod +x contrib/admin/media/js/compress.py*
 	chmod +x bin/profiling/gather_profile_stats.py*
-	chmod +x bin/compile-messages.py*
+	#chmod +x bin/compile-messages.py*
 	chmod +x bin/daily_cleanup.py*
 	chmod +x bin/django-admin.py*
-	chmod +x bin/make-messages.py*
+	#chmod +x bin/make-messages.py*
 	chmod +x bin/unique-messages.py*
 popd
 
@@ -133,6 +132,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 1.3-1
+- updated Django to 1.3
+
 * Wed Feb 16 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.5-1
 - updated Django to 1.2.5 (include CVE-2011-0696, CVE-2011-0697)
 

+ 7 - 5
p/python-kconv/python-kconv-vl.spec

@@ -1,20 +1,19 @@
 %define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)')
-
 Summary: Python Kanji-code converter
 Summary(ja): Python 漢字コードコンバータ
 Group: Development/Libraries
 Name: python-kconv
 Version: 1.1.8p3
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 License: GPL
 URL: http://apache.noexistent.com/~mak/kconv/kconv/index.html
 Source0: kconv-1.1.8p-3.tar.gz
-Distribution: Vine Linux
-Vendor: Project Vine
-Packager: Shu KONNO (owa@bg.wakwak.com)
 Requires: python
 BuildRequires: nkf
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Distribution: Vine Linux
+Vendor: Project Vine
+Packager: owa
 
 %description
 kconv is a japanese code exchange filter for python.
@@ -67,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc GPL README.EUC LICENCE.EUC README.en_with_EUC_JP
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 1.1.8p3-5
+- rebuilt
+
 * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.8p3-4
 - rebuild with python-2.6
 

+ 8 - 5
p/python-pykf/python-pykf-vl.spec

@@ -1,18 +1,17 @@
 %define python_platlib %(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)') 
 Name: python-pykf
 Version: 0.3.4
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 License: BSD like
 URL: http://www.gembook.jp/tsum/page.pys?wiki=PyKf
-Distribution: Vine Linux
-Vendor: Project Vine
-Packager: Shu KONNO (owa@bg.wakwak.com)
-#Source0: pykf-%{version}.tgz
 Source0: http://www.gembook.jp/html/download/pykf-%{version}.tgz
 PreReq: nkf
 Requires: python >= 2.3
 Prefix: %{_prefix}
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Distribution: Vine Linux
+Vendor: Project Vine
+Packager: owa
 
 #----------------------------------------------------------------------
 Summary: Python kanji-code module
@@ -40,9 +39,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %{python_platlib}/*.so
+%{python_platlib}/*.egg-info
 %doc readme.euc
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 0.3.4-4
+- rebuilt
+
 * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.4-3
 - rebuild with python-2.6
 

+ 7 - 3
p/python-tornado/python-tornado-vl.spec

@@ -3,7 +3,7 @@ Summary: Tornado is a web server and tools
 Summary(ja): Tornado 高速 Web フレームワーク
 Name: python-%{tornado}
 Group: Development/Web Applications
-Version: 1.1
+Version: 1.2.1
 Release: 1%{?_dist_release}
 License: Apache Licence, Version 2.0
 URL: http://www.tornadoweb.org/
@@ -14,8 +14,8 @@ Requires: python-simplejson
 BuildRequires: python-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildArch: noarch
-Vendor: Project Vine
 Distribution: Vine Linux
+Vendor: Project Vine
 Packager: owa
 
 %description
@@ -48,9 +48,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-, root, root)
 %doc PKG-INFO README
 %{python_sitelib}/easy-install.pth
-%{python_sitelib}/tornado-1.1-py2.6.egg
+%{python_sitelib}/tornado-%{version}-py%{pyver}.egg
 %{_datadir}/%{tornado}-%{version}/demos/appengine
 %{_datadir}/%{tornado}-%{version}/demos/auth
+%{_datadir}/%{tornado}-%{version}/demos/benchmark
 %{_datadir}/%{tornado}-%{version}/demos/blog
 %{_datadir}/%{tornado}-%{version}/demos/chat
 %{_datadir}/%{tornado}-%{version}/demos/facebook
@@ -58,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{python_sitelib}/site.py*
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1
+- updated tornado to 1.2.1
+
 * Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.1-1
 - updated tornado to 1.1
 - added BuildArch: noarch

+ 8 - 2
s/sodipodi/sodipodi-vl.spec

@@ -2,10 +2,9 @@ Summary: A Vector Drawing Application
 Summary(ja): ベクタ型ドローイングプログラム
 Name: sodipodi
 Version: 0.34
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 Group: Applications/Graphics
 License: GPL
-#URL: http://sodipodi.sourceforge.net/
 URL: http://sourceforge.net/projects/sodipodi/
 Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0: sodipodi-0.34-amd64.patch
@@ -17,6 +16,10 @@ BuildRequires: xorg-x11-devel desktop-file-utils
 Requires: freetype2
 Requires: gtk2 libart_lgpl libxml2
 Requires: libgnomeprint libgnomeprintui
+Distribution: Project Vine
+Vendor: Vine Linux
+Packager: owa
+
 
 %description
 Sodipodi is a SVG based generic vector-drawing program.
@@ -59,6 +62,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/libxmleditor.la
 %{_mandir}/man1/sodipodi.1*
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 0.34-3
+- rebuilt
+
 * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.34-2vl5
 - added sodipodi-0.34-amd64.patch by shredzone
 

+ 6 - 4
t/tokyocabinet/tokyocabinet-vl.spec

@@ -1,19 +1,18 @@
 Summary:	A modern implementation of a DBM
 Summary(ja):Tokeyo Cabinet は DBM の現代的な壱実装です
 Name:		tokyocabinet
-Version:	1.4.35
+Version:	1.4.47
 Release:	1%{?_dist_release}
 License:	LGPL v2.1
 Group:		Development/Libraries
-#URL:		http://tokyocabinet.sourceforge.net/
-#Source:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 URL:		http://1978th.net/tokyocabinet/
 Source:		http://1978th.net/tokyocabinet/%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	pkgconfig autoconf
 BuildRequires:	zlib-devel bzip2-devel
-Vendor:	Project Vine
 Distribution:	Vine Linux
+Vendor:	Project Vine
+Packager: owa
 
 %description
 Tokyo Cabinet is a library of routines for managing a database.  The database is a
@@ -86,6 +85,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon May 02 2011 Shu KONNO <owa@bg.wakwak.com> 1.4.47-1
+- updated tokyocabinet to 1.4.47
+
 * Sun Oct 25 2009 Shu KONNO <owa@bg.wakwak.com> 1.4.35-1
 - initial build for vine