Browse Source

updated 3 packages

libjpeg-turbo-2.1.0-1

nodejs-14.17.0-1

rust-1.52.1-1
Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
9545923d5b
3 changed files with 36 additions and 24 deletions
  1. 17 17
      lib/libj/libjpeg-turbo/libjpeg-turbo-vl.spec
  2. 13 4
      n/nodejs/nodejs-vl.spec
  3. 6 3
      r/rust/rust-vl.spec

+ 17 - 17
lib/libj/libjpeg-turbo/libjpeg-turbo-vl.spec

@@ -4,7 +4,7 @@ Summary:	A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
 Summary(ja):	MMX/SSE2/SIMD でアクセラレーションされた libjpeg ライブラリ
 
 Name:		libjpeg-turbo
-Version:	2.0.6
+Version:	2.1.0
 Release:	1%{?_dist_release}
 Group:		system
 Vendor:		Project Vine
@@ -66,7 +66,7 @@ text comments into a JPEG file.
 %package -n compat32-%{name}
 Summary:	A MMX/SSE2 accelerated library for manipulating JPEG image files
 Summary(ja):	MMX/SSE2 でアクセラレーションされた libjpeg ライブラリ
-Group:		system
+Group:		system,legacy
 Obsoletes:	compat32-libjpeg < 6b-50vl6
 Provides:	compat32-libjpeg = 6b-50vl6
 
@@ -78,7 +78,7 @@ JPEG images
 %package -n compat32-%{name}-devel
 Summary:	Headers for the libjpeg-turbo library
 Summary(ja):	libjpeg-turbo ライブラリのヘッダファイル
-Group:		programming
+Group:		programming,legacy
 Obsoletes:	compat32-libjpeg-devel < 6b-50vl6
 Provides:	compat32-libjpeg-devel = 6b-50vl6
 Requires:	libjpeg-turbo = %{version}-%{release}
@@ -110,7 +110,7 @@ pushd jpeg6
          -DENABLE_STATIC:BOOL=NO \
          ..
 
-make %{?_smp_mflags} V=1
+%cmake_build
 popd
 
 mkdir jpeg8
@@ -122,19 +122,17 @@ pushd jpeg8
          -DENABLE_STATIC:BOOL=NO \
          ..
 
-make %{?_smp_mflags} V=1
+%cmake_build
 popd
 
-
 # Fix perms
 chmod -x README.md
 
 
-
 %install
 rm -rf %{buildroot}
 pushd jpeg6
-make install DESTDIR=%{buildroot}
+%cmake_install
 popd
 
 rm -rf %{buildroot}%{_mandir}/*
@@ -144,7 +142,7 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/*
 rm -f %{buildroot}%{_libdir}/lib*.so
 
 pushd jpeg8
-make install DESTDIR=%{buildroot}
+%cmake_install
 popd
 
 # Remove unwanted files
@@ -152,12 +150,13 @@ rm -f %{buildroot}/%{_libdir}/lib{,turbo}jpeg.la
 
 
 %check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
 pushd jpeg6
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
+%ctest
 popd
 
 pushd jpeg8
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test %{?_smp_mflags}
+%ctest
 popd
 
 
@@ -165,11 +164,6 @@ popd
 rm -rf %{buildroot}
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
-
 %files
 %defattr(-,root,root,-)
 %license LICENSE.md
@@ -179,7 +173,7 @@ rm -rf %{buildroot}
 
 %files devel
 %defattr(-,root,root,-)
-%doc coderules.txt jconfig.txt libjpeg.txt structure.txt example.c
+%doc coderules.txt jconfig.txt libjpeg.txt structure.txt
 %{_includedir}/jconfig.h
 %{_includedir}/jerror.h
 %{_includedir}/jmorecfg.h
@@ -190,6 +184,7 @@ rm -rf %{buildroot}
 %{_libdir}/libturbojpeg.so
 %{_libdir}/pkgconfig/libjpeg.pc
 %{_libdir}/pkgconfig/libturbojpeg.pc
+%{_libdir}/cmake/libjpeg-turbo
 
 %files utils
 %defattr(-,root,root,-)
@@ -218,6 +213,11 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Fri Jun 11 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+- updated Patch0 and 1.
+
 * Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.6-1
 - new upstream release.
 

+ 13 - 4
n/nodejs/nodejs-vl.spec

@@ -1,4 +1,4 @@
-%bcond_without clang
+%bcond_with clang
 
 %global system_zlib 1
 %global system_v8 0
@@ -14,7 +14,7 @@
 %define _unpackaged_files_terminate_build 1
 
 Name:           nodejs
-Version:        14.16.0
+Version:        14.17.0
 Release:        1%{?_dist_release}
 Summary:        JavaScript runtime
 Summary(ja):    JavaScript ランタイム
@@ -127,7 +127,9 @@ Group: documentation
 The API documentation for the Node.js JavaScript runtime.
 
 
+%ifarch x86_64
 %debug_package
+%endif
 
 
 %prep
@@ -174,23 +176,26 @@ find deps/uv -name "*.h" -exec rm -f {} \;
 %global debug_flag -g
 %global libatomic_flag ""
 %else
-%global debug_flag -g1
+%global debug_flag -g0
 %global libatomic_flag -latomic
 %endif
 
 export CFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
 export CXXFLAGS='%{optflags} %{debug_flag} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
-export LDFLAGS="-Wl,-z,relro,-z,now"
+export LDFLAGS="%{build_ldflags}"
 
 %if %{with clang}
 export CC=clang
 export CXX=clang++
 export LD=clang
+
 export CFLAGS="$CFLAGS -Wno-ignored-optimization-argument"
 export CXXFLAGS="$CXXFLAGS -Wno-ignored-optimization-argument"
 export LDFLAGS="$LDFLAGS %{libatomic_flag} -fuse-ld=lld"
 %endif
 
+%set_build_flags
+
 ./configure \
 	--prefix=%{_prefix} \
 %if %{system_v8}
@@ -292,6 +297,10 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
 
 
 %changelog
+* Wed Jun 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.17.0-1
+- updated to 14.17.0.
+- built with gcc.
+
 * Wed Mar 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 14.16.0-1
 - updated to 14.16.0.
 

+ 6 - 3
r/rust/rust-vl.spec

@@ -8,7 +8,7 @@
 # Some sub-packages are versioned independently of the rust compiler and runtime itself.
 # Also beware that if any of these are not changed in a version bump, then the release
 # number should still increase, not be reset to 1!
-%global rustc_version 1.52.0
+%global rustc_version 1.52.1
 %global cargo_version %{rustc_version}
 %global rustfmt_version %{rustc_version}
 %global rls_version %{rustc_version}
@@ -24,8 +24,8 @@
 # To bootstrap from scratch, set the channel and date from src/stage0.txt
 # e.g. 1.10.0 wants rustc: 1.9.0-2016-05-24
 # or nightly wants some beta-YYYY-MM-DD
-%global bootstrap_rust 1.51.0
-%global bootstrap_cargo 1.51.0
+%global bootstrap_rust 1.52.0
+%global bootstrap_cargo 1.52.0
 %global bootstrap_channel %{bootstrap_rust}
 
 # Only the specified arches will use bootstrap binaries.
@@ -744,6 +744,9 @@ export RUSTFLAGS="$RUSTFLAGS -C linker=ld.lld -C link-arg=-fuse-ld=lld"
 
 
 %changelog
+* Sun Jun 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.52.1-1
+- new upstream release.
+
 * Mon May 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.52.0-1
 - new upstream release.
 - dropped Patch0 and 1: merged to upstream.