|
@@ -6,12 +6,12 @@
|
|
|
|
|
|
#global optional_components 1
|
|
|
|
|
|
-%global minor_version 2.4
|
|
|
+%global minor_version 2.5
|
|
|
|
|
|
Name: openjpeg2
|
|
|
Summary: C-Library for JPEG 2000
|
|
|
Summary(ja): JPEG 2000 用の C ライブラリ
|
|
|
-Version: 2.4.0
|
|
|
+Version: 2.5.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
Group: system
|
|
|
Vendor: Project Vine
|
|
@@ -233,8 +233,6 @@ rm -rf thirdparty
|
|
|
|
|
|
|
|
|
%build
|
|
|
-mkdir %{_target_platform}
|
|
|
-pushd %{_target_platform}
|
|
|
# TODO: Consider
|
|
|
# -DBUILD_JPIP_SERVER=ON -DBUILD_JAVA=ON
|
|
|
%cmake \
|
|
@@ -246,13 +244,12 @@ pushd %{_target_platform}
|
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
|
%{?runcheck:-DBUILD_TESTING:BOOL=ON -DOPJ_DATA_ROOT=$PWD/../data} \
|
|
|
..
|
|
|
-popd
|
|
|
|
|
|
-make VERBOSE=1 -C %{_target_platform} %{?_smp_mflags}
|
|
|
+%cmake_build
|
|
|
|
|
|
|
|
|
%install
|
|
|
-%make_install -C %{_target_platform}
|
|
|
+%cmake_install
|
|
|
|
|
|
# Rename to avoid conflicts with openjpeg-1.x
|
|
|
mv %{buildroot}%{_mandir}/man1/opj_compress.1 %{buildroot}%{_mandir}/man1/opj2_compress.1
|
|
@@ -273,10 +270,6 @@ chmod +x %{buildroot}%{_bindir}/opj2_jpip_viewer
|
|
|
%endif
|
|
|
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-
|
|
|
%check
|
|
|
%if 0%{?runcheck}
|
|
|
make test -C %{_target_platform}
|
|
@@ -356,6 +349,9 @@ make test -C %{_target_platform}
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat May 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.0-1
|
|
|
- new upstream release.
|
|
|
|