Browse Source

2015-02-20 Ryoichi INAGAKI <ryo1@toki.waseda.jp>

	* eblook, gtranslator, rpmver: rebuilt
	* elfutils, freeglut: updated
	


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

+ 11 - 8
e/eblook/eblook-vl.spec

@@ -2,11 +2,12 @@ Summary: Command-line EB and EPWING dictionary search program
 Summary(ja): コマンドラインでの EB と EPWING 辞書の検索プログラム
 Name: eblook
 Version: 1.6.1
-Release: 4%{?_dist_release}
-URL: http://openlab.ring.gr.jp/edict/eblook/
-Source0: http://openlab.ring.gr.jp/edict/eblook/dist/%{name}-%{version}.tar.gz
+Release: 5%{?_dist_release}
 License: GPLv2
 Group: Applications/Accessories
+URL: http://openlab.ring.gr.jp/edict/eblook/
+
+Source0: http://openlab.ring.gr.jp/edict/eblook/dist/%{name}-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: zlib-devel
@@ -23,7 +24,7 @@ Packager: inagaki
 Command-line EB and EPWING dictionary search program.
 
 %description -l ja
-コマンドラインでの EB と EPWING 辞書の検索プログラム
+コマンドラインでの EB と EPWING 辞書の検索プログラムです。
 
 %prep
 %setup -q
@@ -36,9 +37,8 @@ make
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
 mkdir -p $RPM_BUILD_ROOT%{_infodir}
-#touch %{buildroot}%{_infodir}/dir
-install -m 0755 eblook %{buildroot}%{_bindir}
-install -m 0644 eblook.info %{buildroot}%{_infodir}
+install -m 0755 eblook $RPM_BUILD_ROOT%{_bindir}
+install -m 0644 eblook.info $RPM_BUILD_ROOT%{_infodir}
 
 %clean
 [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
@@ -49,7 +49,7 @@ install -m 0644 eblook.info %{buildroot}%{_infodir}
 
 %preun
 if [ $1 = 0 ] ;then
-/sbin/install-info %{_infodir}/eblook.info* %{_infodir}/dir \
+    /sbin/install-info %{_infodir}/eblook.info* %{_infodir}/dir \
         --section="CD-ROM Book Utilities"
 fi
 
@@ -60,6 +60,9 @@ fi
 %{_infodir}/eblook.info*
 
 %changelog
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.1-5
+- rebuilt on current VineSeed
+
 * Thu Jan 24 2013 IWAI, Masaharu <iwai@alib.jp> 1.6.1-4
 - build with current VineSeed
 - add BuildRequires: zlib-devel

+ 40 - 8
e/elfutils/elfutils-vl.spec

@@ -1,19 +1,29 @@
-%define eu_version 0.157
+%define eu_version 0.161
 %define eu_release 1
 
 %global nocheck true
 
 Summary: A collection of utilities and DSOs to handle compiled objects
+Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
 Name: elfutils
 Version: %{eu_version}
 Release: %{eu_release}%{?_dist_release}
-License: GPLv2 with exceptions
+
+License: GPLv3+ and (GPLv2+ or LGPLv3+)
 Group: Development/Tools
 URL: https://fedorahosted.org/elfutils/
+
 Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
 
-Patch1: elfutils-robustify.patch
-Patch2: elfutils-portability.patch
+#Patch1: elfutils-robustify.patch
+#Patch2: elfutils-portability.patch
+Patch1: elfutils-portability-%{version}.patch
+
+Patch2: elfutils-0.161-ar-long-name.patch
+# libdw: fix offset for sig8 lookup in dwarf_formref_die
+Patch3: elfutils-0.161-formref-type.patch
+# rhbz#1189928 - Consider sh_addralign 0 as 1
+Patch4: elfutils-0.161-addralign.patch
 
 ##VINE##
 Patch10: elfutils-0.131-readelf_c.patch
@@ -21,7 +31,7 @@ Patch10: elfutils-0.131-readelf_c.patch
 Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
 Requires: elfutils-libs-%{_arch} = %{version}-%{release}
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: bison >= 1.875
 BuildRequires: flex >= 2.5.4a
 BuildRequires: bzip2
@@ -47,6 +57,8 @@ symbols), readelf (to see the raw ELF file structures), and elflint
 
 %package libs
 Summary: Libraries to handle compiled objects
+Summary(ja): コンパイル済オブジェクトを扱うためのライブラリ
+License: GPLv2+ or LGPLv3+
 Group: System Environment/Libraries
 Provides: elfutils-libs-%{_arch} = %{version}-%{release}
 Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
@@ -64,6 +76,8 @@ other programs using these libraries.
 
 %package devel
 Summary: Development libraries to handle compiled objects
+Summary(ja): コンパイル済オブジェクトを扱うための開発用ライブラリ
+License: GPLv2+ or LGPLv3+
 Group: Development/Libraries
 Provides: elfutils-devel-%{_arch} = %{version}-%{release}
 Requires: elfutils-libs-%{_arch} = %{version}-%{release}
@@ -81,6 +95,8 @@ assembler interface.
 
 %package devel-static
 Summary: Static archives to handle compiled objects
+Summary(ja): コンパイル済オブジェクトを扱うための静的ライブラリ
+License: GPLv2+ or LGPLv3+
 Group: Development/Libraries
 Provides: elfutils-devel-static-%{_arch} = %{version}-%{release}
 Requires: elfutils-devel-%{_arch} = %{version}-%{release}
@@ -95,6 +111,8 @@ with the code to handle compiled objects.
 
 %package libelf
 Summary: Library to read and write ELF files
+Summary(ja): ELF ファイルを読み書きするためのライブラリ
+License: GPLv2+ or LGPLv3+
 Group: System Environment/Libraries
 Provides: libelf = %{version}-%{release}
 Obsoletes: libelf <= 0.8.2-2
@@ -115,6 +133,8 @@ elfutils package use it also to generate new ELF files.
 
 %package libelf-devel
 Summary: Development support for libelf
+Summary(ja): libelf の開発用ライブラリ
+License: GPLv2+ or LGPLv3+
 Group: Development/Libraries
 Provides: libelf-devel = %{version}-%{release}
 Obsoletes: libelf-devel <= 0.8.2-2
@@ -131,6 +151,8 @@ different sections of an ELF file.
 
 %package libelf-devel-static
 Summary: Static archive of libelf
+Summary(ja): libelf の静的ライブラリ
+License: GPLv2+ or LGPLv3+
 Group: Development/Libraries
 Provides: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
 Requires: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
@@ -142,8 +164,12 @@ for libelf.
 
 %prep
 %setup -q
-%patch1 -p1 -b .robustify
-%patch2 -p1 -b .portability
+#patch1 -p1 -b .robustify
+%patch1 -p1 -b .portability
+
+%patch2 -p1 -b .ar_long_name
+%patch3 -p1 -b .formref_type
+%patch4 -p1 -b .addralign
 
 %patch10 -p0 -b .readelf_c
 
@@ -156,7 +182,7 @@ find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
 # the makefiles disable some specific warnings for specific code.
 RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
 
-%configure --enable-dwz CFLAGS="$RPM_OPT_FLAGS -fexceptions"
+%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
 make -s %{?_smp_mflags}
 
 
@@ -206,6 +232,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_bindir}/eu-ranlib
 %{_bindir}/eu-readelf
 %{_bindir}/eu-size
+%{_bindir}/eu-stack
 %{_bindir}/eu-strings
 %{_bindir}/eu-strip
 #%{_bindir}/eu-ld
@@ -231,6 +258,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_includedir}/elfutils/libasm.h
 %{_includedir}/elfutils/libebl.h
 %{_includedir}/elfutils/libdw.h
+%{_includedir}/elfutils/libdwelf.h
 %{_includedir}/elfutils/libdwfl.h
 %{_includedir}/elfutils/version.h
 %{_libdir}/libebl.a
@@ -264,6 +292,10 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.161-1
+- update to 0.161
+- added Japanese summary
+
 * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.157-1
 - update to 0.157
 

+ 12 - 6
f/freeglut/freeglut-vl.spec

@@ -1,8 +1,8 @@
 Name:      freeglut
+Version:   2.8.1
+Release:   1%{?_dist_release}
 Summary:   A freely licensed alternative to the GLUT library
 Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
-Version:   2.8.0
-Release:   1%{?_dist_release}
 
 URL:       http://freeglut.sourceforge.net
 License:   MIT
@@ -18,7 +18,9 @@ Patch3: freeglut-2.8.0-btnmask.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: pkgconfig
-BuildRequires: libXext-devel, libXxf86vm-devel, mesa-libGLU-devel
+BuildRequires: libXext-devel
+BuildRequires: libXxf86vm-devel
+BuildRequires: mesa-libGLU-devel
 BuildRequires: libXi-devel
 # The virtual Provides below is present so that this freeglut package is a
 # drop in binary replacement for "glut" which will satisfy rpm dependancies
@@ -28,8 +30,8 @@ BuildRequires: libXi-devel
 Provides: glut = 3.7
 Obsoletes: glut <= 3.7
 
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
+Vendor: Project Vine
+Distribution: Vine Linux
 
 %description
 freeglut is a completely open source alternative to the OpenGL Utility Toolkit
@@ -73,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT 
 chmod 644 doc/*.{html,png}
 
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{a,la}
+rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -95,6 +97,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.1-1
+- new upstream release
+- built with mesa 10.4.4
+
 * Wed Nov 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-1
 - update to 2.8.0
 - build with mesa-9.0

+ 92 - 67
g/gtranslator/gtranslator-vl.spec

@@ -1,70 +1,69 @@
-Summary: A GNOME po file editor with many bells and whistles.
-Summary(ja): GNOME po ファイルエディタ
-Name: gtranslator
-Version: 2.91.6
-Release: 2%{?_dist_release}
-License: GPL
-Group: Applications/Development
-URL: http://www.gtranslator.org/
+Name:           gtranslator
+Version:        2.91.6
+Release:        3%{?_dist_release}
+Summary:	Gettext po file editor for GNOME
+Summary(ja):    GNOME 用の po ファイルエディタ
+
+License:        GPLv2+ and GPLv3+
+Group:          Applications/Development
+URL:            http://www.gtranslator.org/
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtranslator/2.91/%{name}-%{version}.tar.xz
 Source1:	gtranslator.master.ja.po
 
-Vendor:	Project Vine
-Distribution: Vine Linux
-Packager: inagaki,yasumichi
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-BuildRequires: libxml2-devel >= 2.4.12
-BuildRequires: glib2-devel >= 2.25.10
-BuildRequires: gtk3-devel >= 3.0.3
-BuildRequires: gtksourceview3-devel >= 3.0.0
-BuildRequires: gdl-devel >= 2.91.1
-BuildRequires: libgda-devel >= 5.0.0
-BuildRequires: libpeas-devel >= 1.0.0
-BuildRequires: gsettings-desktop-schemas-devel
-BuildRequires: iso-codes
-BuildRequires: yelp-tools
-
-Requires(post): scrollkeeper
-Requires(postun): scrollkeeper
-
-Requires: libxml2 >= 2.4.12
-Requires: glib2 >= 2.25.10
-Requires: gtk2 >= 2.21.5
-Requires: gtksourceview2 >= 2.4.0 
-Requires: gdl >= 2.26.0
-Requires: gda-sqlite
-Requires: gsettings-desktop-schemas
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+
+BuildRequires:  glib2-devel >= 2.25.10
+BuildRequires:  gtk3-devel >= 3.0.3
+BuildRequires:  gtksourceview3-devel >= 3.0.0
+BuildRequires:  gdl-devel >= 2.91.1
+BuildRequires:  libxml2-devel >= 2.4.12
+BuildRequires:  libgda-devel >= 5.0.0
+BuildRequires:  libpeas-devel >= 1.0.0
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gsettings-desktop-schemas-devel
+BuildRequires:  iso-codes
+BuildRequires:  itstool
+BuildRequires:	intltool desktop-file-utils
 
 # for documentation
-BuildRequires: gtk-doc
-BuildRequires: gnome-doc-utils >= 0.20.2
+BuildRequires:  gtk-doc
+BuildRequires:  gnome-doc-utils >= 0.20.2
 
 # for open-tran plugin
-BuildRequires: json-glib-devel >= 0.12.0
+BuildRequires:  json-glib-devel >= 0.12.0
 
 # for dictionary plugin
-Requires: gnome-utils
-BuildRequires: gnome-utils-devel
+#BuildRequires: gnome-utils-devel
+BuildRequires:	gnome-dictionary-devel
 
 # for spell support
 #Requires: gtkspell >= 2.0.16
 #BuildRequires: gtkspell-devel >= 2.0.16
 
+Requires:       gda-sqlite
+Requires:       gsettings-desktop-schemas
+Requires:	hicolor-icon-theme
+
+
+Vendor:	        Project Vine
+Distribution:   Vine Linux
+Packager:       inagaki, yasumichi
+
 
 %description
-gtranslator is a comfortable po file editor with many bells and whistles.
-It features many useful function which ease the work of translators of po
-files imminently.
+gtranslator is an enhanced gettext po file editor for the GNOME
+desktop environment. It handles all forms of gettext po files and
+features many comfortable everyday usage features like find and
+replace functions, auto translation, and translation learning,
+
 
 %package devel
-Summary: Headers for developing programs that will use %{name}
-Summary(ja): %{name} の開発用ファイル
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: libglade2-devel
-Requires: gtksourceview2-devel
+Summary:	Development files for %{name}
+Summary(ja):    %{name} の開発用ファイル
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       gettext-devel
+Requires:       gtksourceview3-devel
 
 %description devel
 This package contains the headers that programmers will need to develop
@@ -74,44 +73,65 @@ applications which will use %{name}.
 %setup -q
 cp %{SOURCE1} po/ja.po
 
+
 %build
-%configure --disable-static \
-	--disable-debug \
-	--disable-scrollkeeper \
-	--disable-schemas-compile \
-	--with-gda=5.0
+%configure \
+    --disable-static \
+    --disable-scrollkeeper \
+    --enable-debug=no \
+    --enable-introspection=yes \
+    --with-gda=5.0
 
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%{optflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT UPDATE_DESKTOP= install 
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
+desktop-file-install --delete-original \
+	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
+	$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 %find_lang %{name} --with-gnome
+# Convert to utf-8
+for file in doc/UMTF/*.UMTF; do
+    iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
+    touch -r $file $file.new && \
+    mv $file.new $file
+done
+rm -rf UMTF
+mkdir -p UMTF
+cp -p doc/UMTF/{README.UMTF,ChangeLog,example.xml} UMTF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 
 %post 
-scrollkeeper-update -q > /dev/null 2>&1 || :
+update-desktop-database &>/dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/sbin/ldconfig
 
 %posttrans
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-update-desktop-database %{_datadir}/applications/
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 %postun
-scrollkeeper-update -q > /dev/null 2>&1 || :
-if [ $1 -eq 0 ]; then
-  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-  update-desktop-database %{_datadir}/applications/
+update-desktop-database &>/dev/null || :
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 fi
+/sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING NEWS README THANKS
-%{_bindir}/*
+%doc UMTF
+%{_bindir}/gtranslator
 %{_libdir}/gtranslator
 %{_datadir}/applications/*.desktop
 %{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.*gschema.xml
@@ -126,6 +146,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/gtk-doc/html/gtranslator
 
 %changelog
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.91.6-3
+- rebuilt on current VineSeed
+- changed BR: gnome-dictionary-devel instead of gnome-utils-devel
+- added BR: desktop-file-utils
+
 * Wed May 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.6-2
 - add Source1 (gtranslator.master.ja.po)
 

+ 26 - 11
r/rpmver/rpmver-vl.spec

@@ -1,19 +1,30 @@
-Name: rpmver
-Version: 2.1
-Release: 8%{?_dist_release}
-Summary: RPM version comparing tool
-Summary(ja): RPM バージョン比較ツール
-Group: Applications/System
-License: GPL
-Source0: rpmver-%{version}.tar.bz2
-Patch1: rpmver-2.1-rpm48.patch
-Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: rpm-devel popt
+Name:           rpmver
+Version:        2.1
+Release:        9%{?_dist_release}
+Summary:        RPM version comparing tool
+Summary(ja):    RPM バージョン比較ツール
+
+Group:          Applications/System
+License:        GPLv2
+
+Source0:        rpmver-%{version}.tar.bz2
+Patch1:         rpmver-2.1-rpm48.patch
+
+Buildroot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  popt-devel
+BuildRequires:  rpm-devel
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
 %description
 RPM version comparing tool which allows one to know how two given versions
 relate to each other.
 
+%description -l ja
+指定した2つのバージョンの関係を知ることができる RPM バージョン比較ツールです。
+
+
 %prep
 %setup -q
 %patch1 -p1
@@ -34,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_bindir}/%{name}
 
 %changelog
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1-9
+- rebuilt on current VineSeed
+- changed BR: popt-devel instead of popt
+
 * Mon Sep 17 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-8
 - rebuild with rpm-4.10.0