update to 1.5.2 [release 1.5.2-1mamba;Fri May 10 2024]

This commit is contained in:
Silvan Calarco 2024-05-11 10:48:12 +02:00
parent 02200baa22
commit 34d0444c1f

View File

@ -1,25 +1,24 @@
%define _version %(echo %version | tr '.' '_')
%define majver %(echo %version | cut -d. -f1-2)
Name: libopenjpeg1
Version: 1.5.1
Release: 2mamba
Version: 1.5.2
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: http://openjpeg.googlecode.com/files/openjpeg-%{version}.tar.gz
URL: https://www.openjpeg.org/
Source: https://github.com/uclouvain/openjpeg.git/version.%{version}/openjpeg-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblcms2-devel
BuildRequires: libpng-devel
BuildRequires: libpng15-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
An open-source JPEG 2000 codec written in C language.
@ -41,9 +40,11 @@ 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
./bootstrap.sh
%build
%configure
@ -71,11 +72,11 @@ This package contains utility applications for %{name}.
%dir %{_includedir}/openjpeg-%{majver}
%{_includedir}/openjpeg-%{majver}/openjpeg.h
%{_libdir}/libopenjpeg.a
%{_libdir}/libopenjpeg.la
%{_libdir}/libopenjpeg.so
%{_libdir}/pkgconfig/libopenjpeg.pc
%{_libdir}/pkgconfig/libopenjpeg1.pc
%{_datadir}/doc/openjpeg-1.5/LICENSE
%{_mandir}/man3/libopenjpeg.3*
#%doc README.linux ChangeLog
%files tools
@ -83,15 +84,14 @@ This package contains utility applications for %{name}.
%{_bindir}/image_to_j2k
%{_bindir}/j2k_dump
%{_bindir}/j2k_to_image
%{_mandir}/man1/image_to_j2k.1.gz
%{_mandir}/man1/j2k_dump.1.gz
%{_mandir}/man1/j2k_to_image.1.gz
%{_mandir}/man1/jpwl_image_to_j2k.1.gz
%{_mandir}/man1/jpwl_j2k_to_image.1.gz
%{_mandir}/man3/jpwl_libopenjpeg.3.gz
%{_mandir}/man3/libopenjpeg.3.gz
%{_mandir}/man1/image_to_j2k.1*
%{_mandir}/man1/j2k_dump.1*
%{_mandir}/man1/j2k_to_image.1*
%changelog
* Fri May 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-1mamba
- update to 1.5.2
* Wed Jan 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-2mamba
- rebuilt as legacy package
- added tools subpackage