Browse Source

updated 3 packages

''

jq-1.6-1

lua-rex-2.9.0-1

oniguruma-6.9.3-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12212 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 4 years ago
parent
commit
a57c0738c6
3 changed files with 52 additions and 25 deletions
  1. 15 11
      j/jq/jq-vl.spec
  2. 30 11
      l/lua-rex/lua-rex-vl.spec
  3. 7 3
      o/oniguruma/oniguruma-vl.spec

+ 15 - 11
j/jq/jq-vl.spec

@@ -1,14 +1,11 @@
-%define ver 1.5
-%define rel 1
-
 Summary: a command-line JSON processor
 Name: jq
-Version: %{ver}
-Release: %{rel}%{?_dist_release}
+Version: 1.6
+Release: 1%{?_dist_release}
 License: BSD
 Group: Applications/Text
-URL: http://stedolan.github.io/jq/
-Source0: http://stedolan.github.io/jq/download/source/%{name}-%{version}.tar.gz
+URL: https://stedolan.github.io/jq/
+Source0: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires: oniguruma-devel
 
@@ -35,14 +32,17 @@ developing applications that use %{name}.
 %configure --enable-shared --enable-static=no
 
 %build
-%__make
+%make_build
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 %makeinstall
 
+rm -f %{buildroot}%{_libdir}/*.la
+rm -rf %{buildroot}%{_docdir}/%{name}
+
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %check
 make check
@@ -53,7 +53,8 @@ make check
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING README*
+%license COPYING
+%doc AUTHORS README*
 %{_bindir}/jq
 %{_libdir}/libjq.so.*
 %{_mandir}/man1/jq.1*
@@ -64,6 +65,9 @@ make check
 %{_libdir}/libjq.so
 
 %changelog
+* Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.6-1
+- new upstream release.
+
 * Fri Sep  2 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5-1
 - add BR: oniguruma-devel
 

+ 30 - 11
l/lua-rex/lua-rex-vl.spec

@@ -2,16 +2,25 @@
 %define lualibdir %{_libdir}/lua/%{luaver}
 
 Name:           lua-rex
-Version:        2.4.0
-Release:        6%{?_dist_release}
+Version:        2.9.0
+Release:        1%{?_dist_release}
 Summary:        Regular expression handling library for Lua
 Summary(ja):    正規表現を扱うための Lua ライブラリ
-
 Group:          Development/Libraries
 License:        MIT
-URL:            http://lrexlib.luaforge.net/
-Source0:        http://luaforge.net/frs/download.php/3599/lrexlib-2.4.0.zip
-Patch0:         lrexlib-2.4.0-pmake.patch
+URL:            http://rrthomas.github.io/lrexlib/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+%global         altver %(echo %{version} | sed -e 's/\\./-/g')
+Source0:        https://github.com/rrthomas/lrexlib/archive/rel-%{altver}.tar.gz
+Source1:        Makefile
+Source2:        common.mak
+Source3:        defaults.mak
+Source4:        rex_onig.mak
+Source5:        rex_pcre.mak
+Source6:        rex_posix.mak
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  oniguruma-devel
@@ -28,12 +37,17 @@ and Oniguruma) to Lua.
 
 
 %prep
-%setup -q -n lrexlib-%{version}
-%patch0 -p1 -b .pmake
+%setup -q -n lrexlib-rel-%{altver}
 
+cp -f %{SOURCE1} ./
+cp -f %{SOURCE2} src/
+cp -f %{SOURCE3} src/
+cp -f %{SOURCE4} src/oniguruma/
+cp -f %{SOURCE5} src/pcre/
+cp -f %{SOURCE6} src/posix/
 
 %build
-make %{?_smp_mflags} LD=cc MYCFLAGS="%{optflags} -fPIC %(pcre-config --cflags)" build
+make %{?_smp_mflags} LD=cc MYCFLAGS='%{optflags} -DVERSION=\"%{version}\" -fPIC %(pcre-config --cflags)' build
 
 
 %install
@@ -53,10 +67,15 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %{lualibdir}/*
-%doc ChangeLog LICENSE NEWS README doc
+%license LICENSE
+%doc ChangeLog NEWS README doc
 
 
 %changelog
+* Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.9.0-7
+- new upstream release.
+- built with oniguruma-6.9.3.
+
 * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-6
 - rebuild with pcre-8.31
 
@@ -81,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Thu Dec 23 2008 Lubomir Rintel <lkundrak@v3.sk> - 2.4.0-3
+* Tue Dec 23 2008 Lubomir Rintel <lkundrak@v3.sk> - 2.4.0-3
 - Compile shared library as PIC
 
 * Wed Dec 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 2.4.0-2

+ 7 - 3
o/oniguruma/oniguruma-vl.spec

@@ -3,12 +3,12 @@
 Summary:	Oniguruma - A regular expressions library
 Summary(ja):	鬼車 - 正規表現ライブラリ
 Name:		oniguruma
-Version:	5.9.6
+Version:	6.9.3
 Release:	1%{?_dist_release}
 License:	BSD
 Group:		System Environment/Libraries
 URL:		https://github.com/kkos/oniguruma
-Source0:	https://github.com/kkos/oniguruma/releases/download/%{version}/%{srcname}-%{version}.tar.gz
+Source0:	https://github.com/kkos/oniguruma/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 Vendor:		Project Vine
 Distribution:	Vine Linux
@@ -74,7 +74,8 @@ applications with Oniguruma.
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING HISTORY README README.ja
+%license COPYING
+%doc AUTHORS HISTORY README README.ja
 %{_libdir}/libonig.so.*
 
 %files devel
@@ -86,6 +87,9 @@ applications with Oniguruma.
 %{_includedir}/onig*.h
 
 %changelog
+* Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.3-1
+- new upstream release.
+
 * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 5.9.6-1
 - new upstream release
 - changed %%URL, %%Source0