Browse Source

updated 5 packages

fping-5.0-1

groonga-normalizer-mysql-1.1.4-1

groonga-11.0.0-1

mecab-naist-jdic-0.6.3b.20111013-3

mecab-0.996-4
Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
aa8bec9970

+ 21 - 14
f/fping/fping-vl.spec

@@ -1,20 +1,17 @@
 Summary: Utility to ping multiple hosts at once
 Name: fping
-Version: 3.13
-#Release: 0vl0.b2
+Version: 5.0
 Release: 1%{?_dist_release}
-License: distributable
-Group: Applications/Internet
-URL: http://fping.org/
+Group: network
+Vendor: Project Vine
+Distribution: Vine Linux
 
-Source: http://fping.org/dist/%{name}-%{version}.tar.gz
+License: BSD with advertising
+URL: https://fping.org/
+Source: https://fping.org/dist/%{name}-%{version}.tar.gz
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: Takemikaduchi
-
 %description
 fping is a ping-like program which uses the Internet Control Message
 Protocol (ICMP) echo request to determine if a target host is responding.
@@ -28,31 +25,41 @@ If a host replies, it is noted and removed from the list of hosts to check.
 If a host does not respond within a certain time limit and/or retry limit it
 will be considered unreachable.
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %configure \
 	--enable-ipv4 \
 	--enable-ipv6
 %{__make} %{?_smp_mflags} 
 
+
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
+
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
 
+
 %files
 %defattr(-, root, root, 0755)
-%doc ChangeLog COPYING README
+%license COPYING
+%doc CHANGELOG.md README.md
 %doc %{_mandir}/man8/fping.8*
-%doc %{_mandir}/man8/fping6.8*
 %attr(4755, root, root) %{_sbindir}/fping
-%attr(4755, root, root) %{_sbindir}/fping6
+
 
 %changelog
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0-1
+- new upstream release.
+
 * Sun Nov 22 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.13-1
 - new upstream release
 

+ 21 - 11
g/groonga-normalizer-mysql/groonga-normalizer-mysql-vl.spec

@@ -1,38 +1,42 @@
 %global __provides_exclude_from ^%{_libdir}/groonga/plugins/normalizers/mysql\\.so$
 
 Name:		groonga-normalizer-mysql
-Version:	1.1.0
-Release:	1%{?_dist_release}
 Summary:	MySQL compatible normalizer plugin for groonga
+Version:	1.1.4
+Release:	1%{?_dist_release}
+Group:		office
+Vendor: Project Vine
+Distribution: Vine Linux
 
-Group:		Applications/Text
 License:	LGPLv2
 URL:		http://groonga.org/
 Source0:	http://packages.groonga.org/source/%{name}/%{name}-%{version}.tar.gz
 
-BuildRequires:	groonga-devel >= 4.0.1
-Requires:	groonga-libs >= 4.0.1
+BuildRequires:	groonga-devel >= 11.0.0
+Requires:	groonga-libs >= 11.0.0
 ExclusiveArch:	%{ix86} x86_64
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: tomop
-
 %description
 This package provides MySQL compatible normalizer plugin.
 You can use NormalizerMySQLGeneralCI and NormalizerMySQLUnicodeCI as normalizer.
 
+
 %package devel
 Summary:        Development files for groonga-normalizer-mysql
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name} = %{version}-%{release}
 
 %description devel
 This package provides development files for groonga-normalizer-mysql.
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %configure \
   --disable-static
@@ -40,12 +44,15 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
+
 %install
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 rm $RPM_BUILD_ROOT%{_libdir}/groonga/plugins/*/*.la
 
+
 %files
-%doc README AUTHORS COPYING
+%license doc/text/lgpl-2.0.txt
+%doc README.md
 %dir %{_libdir}/groonga
 %dir %{_libdir}/groonga/plugins
 %dir %{_libdir}/groonga/plugins/normalizers
@@ -56,6 +63,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/groonga/plugins/*/*.la
 %{_libdir}/pkgconfig/groonga-normalizer-mysql.pc
 
 %changelog
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.4-1
+- new upstream release.
+
 * Mon Nov 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.0-1
 - new upstream release.
 

+ 63 - 50
g/groonga/groonga-vl.spec

@@ -1,59 +1,57 @@
-%define _unpackaged_files_terminate_build 1
-
 %global _initddir %{_sysconfdir}/init.d/
 
 Name:		groonga
-Version:	9.0.7
-Release:	1%{?_dist_release}
 Summary:	An Embeddable Fulltext Search Engine
+Version:	11.0.0
+Release:	1%{?_dist_release}
+Group:		office
+Vendor:		Project Vine
+Distribution:	Vine Linux
+Packager:	tomop, iwaim
 
-Group:		Applications/Text
 License:	LGPLv2
 URL:		http://groonga.org/
 Source0:	http://packages.groonga.org/source/groonga/groonga-%{version}.tar.gz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
-BuildRequires:	libxcrypt-devel
 BuildRequires:	mecab-devel
 BuildRequires:	zlib-devel
-BuildRequires:	lzo-devel
+BuildRequires:	lz4-devel
+BuildRequires:	libzstd-devel
 BuildRequires:	pcre-devel
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	%{name}-plugin-suggest = %{version}-%{release}
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: tomop, iwaim
-
 %description
 Groonga is an embeddable full-text search engine library.  It can
 integrate with DBMS and scripting languages to enhance their search
 functionality.  It also provides a standalone data store server based
 on relational data model.
 
-%package libs
+
+%package	libs
 Summary:	Runtime libraries for groonga
-Group:		System Environment/Libraries
+Group:		system
 License:	LGPLv2 and (MIT or GPLv2)
-Requires(post):	/sbin/ldconfig
-Requires(postun):	/sbin/ldconfig
 
-%description libs
+%description	libs
 This package contains the libraries for groonga
 
-%package server-common
+
+%package	server-common
 Summary:	Common packages for the groonga server and the groonga HTTP server
-Group:		Applications/Text
+Group:		servers
 License:	LGPLv2
 Requires:	%{name} = %{version}-%{release}
 Requires(pre):	shadow-utils
 
-%description server-common
+%description	server-common
 This package provides common settings for server use
 
-%package server-gqtp
+
+%package	server-gqtp
 Summary:	Groonga GQTP server
-Group:		Applications/Text
+Group:		servers
 License:	LGPLv2
 Requires:	%{name}-server-common = %{version}-%{release}
 Requires(pre):	shadow-utils
@@ -64,12 +62,13 @@ Requires(postun):	/sbin/service
 Obsoletes:	%{name} < 1.2.2-0
 Obsoletes:	%{name}-server < 2.0.7-0
 
-%description server-gqtp
+%description	server-gqtp
 This package contains the groonga GQTP server
 
-%package server-http
+
+%package	server-http
 Summary:	Groonga HTTP server (transitional)
-Group:		Applications/Text
+Group:		servers
 License:	LGPLv2
 Requires:	%{name}-server-common = %{version}-%{release}
 Requires:	curl
@@ -81,76 +80,88 @@ Requires(postun):	/sbin/service
 Obsoletes:	%{name} < 1.2.2-0
 Obsoletes:	%{name}-server < 2.0.7-0
 
-%description server-http
+%description	server-http
 This is a transitional package to groonga-httpd.
 
-%package httpd
+
+%package	httpd
 Summary:	Groonga HTTP server
-Group:		Applications/Text
+Group:		servers
 License:	LGPLv2 and BSD
 Requires:	%{name}-server-common = %{version}-%{release}
 Provides:	%{name}-server-http = %{version}-%{release}
 Obsoletes:	%{name}-server-http <= 4.0.7-2
 
-%description httpd
+%description	httpd
 This package contains the groonga HTTP server. It is experimental
 but has many features. Because it is based on nginx HTTP server.
 It will obsolete groonga-server-http when it is stable.
 
-%package doc
+
+%package	doc
 Summary:	Documentation for groonga
-Group:		Documentation
+Group:		documentation
 License:	LGPLv2 and BSD
 
-%description doc
+%description	doc
 Documentation for Groonga
 
-%package devel
+
+%package	devel
 Summary:	Libraries and header files for Groonga
-Group:		Development/Libraries
+Group:		programming
 Requires:	%{name}-libs = %{version}-%{release}
 
-%description devel
+%description	devel
 Libraries and header files for Groonga
 
-%package tokenizer-mecab
+
+%package	tokenizer-mecab
 Summary:	MeCab tokenizer for Groonga
-Group:		Applications/Text
+Group:		office
 Requires:	%{name}-libs = %{version}-%{release}
 
-%description tokenizer-mecab
+%description	tokenizer-mecab
 MeCab tokenizer for Groonga
 
-%package plugin-suggest
+
+%package	plugin-suggest
 Summary:	Suggest plugin for Groonga
-Group:		Applications/Text
+Group:		office
 Requires:	%{name}-libs = %{version}-%{release}
 
-%description plugin-suggest
+%description	plugin-suggest
 Sugget plugin for Groonga
 
-%package munin-plugins
+
+%package	munin-plugins
 Summary:	Munin plugins for Groonga
-Group:		Applications/System
+Group:		system
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	munin-node
 Requires(post):	munin-node
 Requires(post):	/sbin/service
 Requires(postun):	/sbin/service
 
-%description munin-plugins
+%description	munin-plugins
 Munin plugins for Groonga
 
+
+%debug_package
+
+
 %prep
 #% define optflags -O0
 %setup -q
 
+
 %build
 %configure \
   --disable-static \
   --with-package-platform=centos6 \
   --with-zlib \
-  --with-lzo \
+  --with-lz4 \
+  --with-zstd \
   --with-mecab \
   --with-munin-plugins \
   --enable-mruby
@@ -159,6 +170,7 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
@@ -203,9 +215,11 @@ EOC
 # this file is needed by systemd only
 rm -rf %{buildroot}%{_sysconfdir}/tmpfiles.d
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+
 %pre server-common
 getent group groonga >/dev/null || groupadd -r groonga
 getent passwd groonga >/dev/null || \
@@ -234,9 +248,6 @@ elif [ $1 = 2 ] ; then
 	/sbin/service groonga-httpd restart >/dev/null 2>&1 || :
 fi
 
-%post libs
-/sbin/ldconfig
-
 %post munin-plugins
 %{_sbindir}/munin-node-configure --shell --remove-also | grep -e 'groonga_' | sh
 [ -f %{_localstatedir}/lock/subsys/munin-node ] && \
@@ -265,9 +276,6 @@ if [ $1 -ge 1 ] ; then
 	/sbin/service groonga-server-gqtp condrestart >/dev/null 2>&1 || :
 fi
 
-%postun libs
-/sbin/ldconfig
-
 %postun munin-plugins
 if [ $1 -eq 0 ]; then
 	[ -f %{_localstatedir}/lock/subsys/munin-node ] && \
@@ -279,6 +287,7 @@ fi
 chown -R groonga:groonga %{_localstatedir}/lib/groonga
 chown -R groonga:groonga %{_localstatedir}/run/groonga
 
+
 %files
 %defattr(-,root,root,-)
 %{_bindir}/groonga
@@ -356,6 +365,10 @@ chown -R groonga:groonga %{_localstatedir}/run/groonga
 %config(noreplace) %{_sysconfdir}/munin/plugin-conf.d/*
 
 %changelog
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 11.0.0-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Wed Sep 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.0.7-1
 - new upstream release.
 

+ 10 - 4
m/mecab-naist-jdic/mecab-naist-jdic-vl.spec

@@ -2,11 +2,10 @@
 %define vdate  20111013
 
 Name:           mecab-naist-jdic
-Version:        %{ver}.%{vdate}
-Release:        2%{_dist_release}
 Summary:        NAIST Japanese Dictionary for MeCab
-Group:          Applications/Text
-
+Version:        %{ver}.%{vdate}
+Release:        3%{_dist_release}
+Group:          office
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -27,13 +26,16 @@ Requires:       mecab
  NAIST-jdic は、IPAdic の代替です。 形態素解析用辞書 IPAdic の ICOT 条項を
 クリアするとともに、表記ゆれ情報、複合語情報を付与する作業を行っています。
 
+
 %prep
 %setup -q -n %{name}-%{ver}-%{vdate}
 
+
 %build
 %configure --with-charset=utf-8
 make %{?_smp_mflags}
 
+
 %install
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
@@ -51,7 +53,11 @@ rm -rf %{buildroot}
 %dir %{_sysconfdir}/mecab/dic/naist-jdic
 %config(noreplace) %{_sysconfdir}/mecab/dic/naist-jdic/*
 
+
 %changelog
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.3b.20111013-3
+- rebuilt with current environment.
+
 * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.3b.20111013-2
 - rebuilt with current environment.
 

+ 47 - 16
m/mecab/mecab-vl.spec

@@ -1,10 +1,11 @@
+%bcond_with bootstrap
+
 Summary:        Yet Another Part-of-Speech and Morphological Analyzer
 Summary(ja):    もう一つの形態素解析器
 Name:           mecab
 Version:        0.996
-Release:        3%{?_dist_release}
-Group:          Applications/Text
-
+Release:        4%{?_dist_release}
+Group:          office
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -13,10 +14,11 @@ URL:            https://taku910.github.io/mecab/
 # https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE
 Source0:        %{name}-%{version}.tar.gz
 
-Patch0:         mecab-0.99-mecabrc.patch
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  perl, gcc-c++
+%if !%{with bootstrap}
+Requires:        mecab-naist-jdic
+%endif
 
 
 %description
@@ -37,10 +39,11 @@ Rondom Fields (CRF) を用いており, ChaSenが採用している隠れマル
 モデルに比べ性能が向上しています。また、平均的に ChaSen, Juman, KAKASI
 より高速に動作します. ちなみに和布蕪(めかぶ)は, 作者の好物です.
 
+
 %package devel
 Summary: Header files and libraries for developing apps which use MeCab
 Summary(ja): MeCabの開発用ヘッダファイル及びライブラリ
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 
 %description devel
@@ -49,36 +52,59 @@ Header files and libraries for developing apps which use MeCab
 %description devel -l ja
 MeCabの開発用ヘッダファイル及びライブラリ
 
+
+%debug_package
+
+
 %prep
 %setup -q
-%patch0 -p1 -b .old
+mv -f doc/doxygen .
+find . -name \*.cpp -print0 | xargs -0 %{__chmod} 0644
+
+# compiler flags fix
+%{__sed} -i.flags \
+	-e '/-O3/s|CFLAGS=\"\(.*\)\"|CFLAGS=\${CFLAGS:-\1}|' \
+	-e '/-O3/s|CXXFLAGS=\"\(.*\)\"|CXXFLAGS=\${CFLAGS:-\1}|' \
+	-e '/MECAB_LIBS/s|-lstdc++||' \
+	configure
+
+# multilib change
+%{__sed} -i.multilib \
+	-e 's|@prefix@/lib/mecab|%{_libdir}/mecab|' \
+	-e 's|/dic/ipadic|/dic/naist-jdic|' \
+	mecab-config.in mecabrc.in
+
 
 %build
 %configure --with-charset=utf8 --disable-static
-%__make
+# remove rpath from libtool
+%{__sed} -i.rpath \
+	-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+	-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+	libtool
+
+%make_build
+
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
+# create directory
+%{__mkdir} -p $RPM_BUILD_ROOT%{_libdir}/mecab/dic/
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
 %license  COPYING GPL LGPL BSD
 %doc README AUTHORS ChangeLog INSTALL NEWS doc/*.html
-%config %{_sysconfdir}/mecabrc
+%config(noreplace) %{_sysconfdir}/mecabrc
 %{_bindir}/mecab
 %{_libdir}/*.so.*
 %{_libexecdir}/mecab
 %{_mandir}/man?/*
+%dir %{_libdir}/%{name}/
+%dir %{_libdir}/%{name}/dic/
 
 %files devel
 %defattr(-,root,root)
@@ -86,7 +112,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 %{_libdir}/*.so
 
+
 %changelog
+* Fri Mar 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.996-4
+- rebuilt with current environment.
+- dropped ldconfig scriptlets.
+
 * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.996-3
 - rebuilt with current environment.