Browse Source

updated 4 packages

nkf-2.1.5-2

nss-mdns-0.14.1-1

tree-1.8.0-1

words-3.0-13
Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
46e3f63efc
4 changed files with 115 additions and 63 deletions
  1. 22 19
      n/nkf/nkf-vl.spec
  2. 33 16
      n/nss-mdns/nss-mdns-vl.spec
  3. 23 10
      t/tree/tree-vl.spec
  4. 37 18
      w/words/words-vl.spec

+ 22 - 19
n/nkf/nkf-vl.spec

@@ -1,26 +1,26 @@
 %define locale_ja ja
-%define sourcever 2.1.5
 %define perl_vendorarch    %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
 
-Summary:      Network Kanji code conversion Filter.
-Summary(ja):  ネットワーク用漢字コード変換フィルタ
-Name:         nkf
-Epoch:        1
-Version:      %{sourcever}
-Release:      1%{?_dist_release}
-License:      BSD
-Group:        Applications/Text
-Url:	      http://sourceforge.jp/projects/nkf/
-Source0:       http://prdownloads.sourceforge.jp/nkf/26243/%{name}-%{version}.tar.gz
-Source1:       nkf.1j
-
-Buildroot:    %{_tmppath}/%{name}-%{version}-root
-Requires:     perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Summary:        Network Kanji code conversion Filter.
+Summary(ja):    ネットワーク用漢字コード変換フィルタ
+Name:           nkf
+Epoch:          1
+Version:        2.1.5
+Release:        2%{?_dist_release}
+Group:          accessories
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        zlib
+URL:            https://ja.osdn.net/projects/nkf/
+# https://ja.osdn.net/projects/nkf/releases/
+Source0:        %{name}-%{version}.tar.gz
+Source1:        nkf.1j
+
+BuildRoot:    %{_tmppath}/%{name}-%{version}-root
 BuildRequires: perl >= 2:5.26.2
-BuildRequires:  libxcrypt-devel
+Requires:     perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-Vendor:        Project Vine
-Distribution:  Vine Linux
 
 %description
 Nkf is a yet another kanji code converter among networks, hosts and termi-
@@ -55,7 +55,7 @@ nkf の特徴としては、入力漢字コード系の統計的な自動認識
 
 
 %prep
-%setup -q -n nkf-%{sourcever}
+%setup -q -n nkf-%{version}
 cp -f %{SOURCE1} .
 
 %build
@@ -101,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Mar 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1:2.1.5-2
+- rebuilt with current environment.
+
 * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1:2.1.5-1
 - new upstream release.
 - rebuilt with perl-5.26.

+ 33 - 16
n/nss-mdns/nss-mdns-vl.spec

@@ -1,17 +1,18 @@
 Summary: NSS module for Multicast DNS name resolution
 Name: nss-mdns
-Version: 0.10
-Release: 2%{?_dist_release}
-URL: http://0pointer.de/lennart/projects/nss-mdns/
+Version: 0.14.1
+Release: 1%{?_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+
+URL: https://github.com/lathiat/nss-mdns
 License: LGPLv2.1+
-Group: System Environment/Libraries
-Source0: http://0pointer.de/lennart/projects/%{name}/%{name}-%{version}.tar.gz
+Source0: https://github.com/lathiat/nss-mdns/releases/download/v%{version}/nss-mdns-%{version}.tar.gz
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires: avahi
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality 
 of the GNU C Library (glibc) providing host name resolution via Multicast 
@@ -19,30 +20,46 @@ DNS (using Zeroconf, aka Apple Bonjour / Apple Rendezvous ), effectively
 allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS 
 domain .local.
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
-%configure --disable-lynx --enable-avahi
-make
+%configure --libdir=/%{_lib}
+%make_build
+
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 %makeinstall
 
+
+%check
+make check || (cat ./test-suite.log; false)
+
+
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+
 
-%post -p /sbin/ldconfig
+%ldconfig_scriptlets
 
-%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README
-%{_libdir}/*
+%license LICENSE
+%doc README.md NEWS.md ACKNOWLEDGEMENTS.md
+%{_libdir}/*.so.*
+
 
 %changelog
+* Thu Mar 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.14.1-1
+- new upstream release.
+
 * Tue Jan 29 2013 IWAI, Masaharu <iwai@alib.jp> 0.10-2
 - rebuild with current Vine Linux
 - add Vendor and Distribution tags

+ 23 - 10
t/tree/tree-vl.spec

@@ -1,17 +1,17 @@
 Summary: A handy little utility to display a tree view of directories.
 Summary(ja): ディレクトリのツリー構造を表示するお手軽ユーティリティ。
 Name: tree
-Version: 1.6.0
-Release: 2%{?_dist_release}
-License: GPL2
-Group: Applications/System
-Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz
-URL: http://mama.indstate.edu/users/ice/tree/
-Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: glibc-devel
+Version: 1.8.0
+Release: 1%{?_dist_release}
+Group: accessories
 Vendor: Project Vine
 Distribution: Vine Linux
-Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
+
+License: GPL2
+URL: http://mama.indstate.edu/users/ice/tree/
+Source: http://mama.indstate.edu/users/ice/tree/src/tree-%{version}.tgz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 %description
 Tree is a recursive directory listing program that produces a depth indented
@@ -23,26 +23,39 @@ tree は再帰的にディレクトリを表示するプログラムで、ディ
 字下げしたファイルの一覧を生成します。LS_COLORS 環境変数が設定されていた場合、
 dircolors の様式でカラー化して tty に出力します。
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
+
 %build
 %{__make} prefix=%{_prefix} MANDIR=%{_mandir}/man1
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %makeinstall MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+
 %files
 %defattr(-,root,root)
-%doc CHANGES LICENSE README
+%doc LICENSE
+%doc CHANGES README
 %{_bindir}/tree
 %{_mandir}/man1/tree.1*
 
+
 %changelog
+* Thu Mar 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.8.0-1
+- new upstream release.
+
 * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.6.0-2
 - rebuild with VineSeed environment
 

+ 37 - 18
w/words/words-vl.spec

@@ -2,18 +2,30 @@ Summary: A dictionary of English words for the %{_datadir}/dict directory.
 Summary(ja): %{_datadir}/dict に格納される英単語辞書
 Name: words
 Version: 3.0
-Release: 12%{?_dist_release}
+Release: 13%{?_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+
 License: public domain
-Group: System Environment/Libraries
-Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
-URL: http://www.dcs.shef.ac.uk/research/ilash/Moby/
+# The project does not exist now.
+#URL: http://www.dcs.shef.ac.uk/research/ilash/Moby/
+#Source: http://www.dcs.shef.ac.uk/research/ilash/Moby/mwords.tar.Z
+URL: http://en.wikipedia.org/wiki/Moby_Project
+Source: mwords.tar.Z
+
+#428582 - linux.words contains misspelled word "flourescent"
+#440146 - misspelled word in /usr/share/dict/words (architecure)
+#457309 - contains both 'unnecessary' and 'unneccesary'
+#1626689 - linux.words contains "half-embracinghalf-embracingly"
+#1652919 - malformed entry in words file
+Patch0: words-3.0-typos.patch
+#470921 -"Barack" and "Obama" are not in /usr/share/dict/words
+Patch1: words-3.0-presidents.patch
 
 BuildArch: noarch
 BuildRoot: %{_tmppath}/words-%{version}-root
-BuildRequires: ncompress nkf coreutils grep
-
-Vendor: Project Vine
-Distribution: Vine Linux
+BuildRequires: coreutils grep dos2unix
 
 %description
 The words file is a dictionary of English words for the %{_datadir}/dict
@@ -29,21 +41,22 @@ words ファイルは %{_datadir}/dict ディレクトリに格納される
 
 %prep
 %setup -q -c
+%patch0 -p1 -b .typos
+%patch1 -p1 -b .presidents
+
 
 %build
 cd mwords
-#dos2unix -o *
-for f in *
-do
-  mv $f $f.orig
-  nkf --unix $f.orig > $f
-  rm -f $f.orig
-done
-
+dos2unix -o *
 chmod a+r *
-cat [1-9]*.??? | fgrep -v \'s | egrep  "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
+cat [1-9]*.??? | egrep --invert-match "'s$" | egrep  "^[[:alnum:]'&!,./-]+$" | sort --ignore-case --dictionary-order | uniq > moby
 
 cat <<EOF >license.txt
+***
+    The license in the readme.txt file is original and DEPRECATED
+    license of The Moby lexicon project.
+***
+
 On June 1, 1996 Grady Ward announced that the fruits of
 the Moby project were being placed in the public domain:
 
@@ -64,6 +77,7 @@ Arcata, CA  95521-4884
 daedal@myrealbox.com
 EOF
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -71,18 +85,23 @@ install -d $RPM_BUILD_ROOT%{_datadir}/dict
 install -m644 mwords/moby $RPM_BUILD_ROOT%{_datadir}/dict/linux.words
 ln -sf linux.words $RPM_BUILD_ROOT%{_datadir}/dict/words
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root)
-%doc mwords/readme.txt mwords/license.txt
+%license mwords/license.txt
+%doc mwords/readme.txt
 %{_datadir}/dict/linux.words
 %{_datadir}/dict/words
 
 
 %changelog
+* Thu Mar 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0-13
+- imported Patch0 and 1 from rawhide.
+
 * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0-12
 - rebuild with VineSeed environment