update to 2.3.1 [release 2.3.1-1mamba;Fri Mar 13 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:17:34 +01:00
parent 63e75d4084
commit d516b52046

View File

@ -2,18 +2,20 @@
%define majver %(echo %version | cut -d. -f1-2)
%define apiver %(echo %version | cut -d. -f1-2)
Name: libopenjpeg
Version: 2.1.0
Release: 2mamba
Version: 2.3.1
Release: 1mamba
Summary: An open-source JPEG 2000 codec written in C language
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openjpeg.org
Source: https://downloads.sourceforge.net/project/openjpeg.mirror/%{version}/openjpeg-%{version}.tar.gz
Source: https://github.com/uclouvain/openjpeg.git/v%{version}/openjpeg-%{version}.tar.bz2
#Source: https://downloads.sourceforge.net/project/openjpeg.mirror/%{version}/openjpeg-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: liblcms2-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
@ -43,6 +45,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q -n openjpeg-%{version}
#sed -i "s|-o root -g root||" Makefile
@ -66,13 +70,14 @@ This package contains utility applications for %{name}.
%files
%defattr(-,root,root)
%{_libdir}/libopenjp2.so.*
%doc LICENSE AUTHORS
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/openjpeg-%{apiver}
%{_includedir}/openjpeg-%{apiver}/*.h
%{_libdir}/libopenjp2.so
%{_libdir}/libopenjp2.a
%{_libdir}/openjpeg-%{apiver}/OpenJPEGConfig.cmake
%{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets-noconfig.cmake
%{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets.cmake
@ -83,12 +88,11 @@ This package contains utility applications for %{name}.
%{_bindir}/opj_compress
%{_bindir}/opj_decompress
%{_bindir}/opj_dump
#%{_mandir}/man1/opj_compress.1*
#%{_mandir}/man1/opj_decompress.1*
#%{_mandir}/man1/opj_dump.1*
#%{_mandir}/man3/libopenjp2.3*
%changelog
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
- update to 2.3.1
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
- libopenjpeg-devel: require libopenjpeg-tools