From ae46bc211534382a5b095ef91c2e55cef7feddbf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:41:53 +0100 Subject: [PATCH] added -tools package [release 2.0.14-2mamba;Tue Oct 09 2018] --- libjasper.spec | 81 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 33 deletions(-) diff --git a/libjasper.spec b/libjasper.spec index 7f832d1..fee2640 100644 --- a/libjasper.spec +++ b/libjasper.spec @@ -1,32 +1,20 @@ Name: libjasper -Version: 1.900.1 -Release: 4mamba +Version: 2.0.14 +Release: 2mamba Summary: A free-software based reference implementation of the JPEG-2000 codec Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.ece.uvic.ca/~mdadams/jasper -Source: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-%{version}.zip +Source: http://www.ece.uvic.ca/~frodo/jasper/software/jasper-%{version}.tar.gz License: JasPer License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel -BuildRequires: libGLUT-devel -BuildRequires: libICE-devel +BuildRequires: libfreeglut-devel BuildRequires: libjpeg-devel -BuildRequires: libpthread-stubs-devel -BuildRequires: libSM-devel -BuildRequires: libuuid-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libxcb-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXext-devel -BuildRequires: libXi-devel -BuildRequires: libXmu-devel -BuildRequires: libXt-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -43,21 +31,34 @@ Requires: %{name} = %{version} The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). The JasPer software has been included in the JPEG-2000 Part-5 standard (i.e., ISO/IEC 15444-5), as an official reference implementation of the JPEG-2000 Part-1 codec. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. + +%package tools +Group: Applications/Graphics +Summary: Tools for %{name} +Requires: %{name} = %{version} + +%description tools +The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1). +The JasPer software has been included in the JPEG-2000 Part-5 standard (i.e., ISO/IEC 15444-5), as an official reference implementation of the JPEG-2000 Part-1 codec. + +This package contains tools provided by %{name}. %prep %setup -q -n jasper-%{version} %build -%configure \ - --enable-shared \ - --enable-static +%cmake -d build + +#% configure \ +# --enable-shared \ +# --enable-static %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -67,27 +68,41 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_bindir}/imgcmp -%{_bindir}/imginfo -%{_bindir}/jasper -%{_bindir}/jiv -%{_bindir}/tmrdemo %{_libdir}/libjasper.so.* -%{_mandir}/man1/imgcmp.1.gz -%{_mandir}/man1/imginfo.1.gz -%{_mandir}/man1/jasper.1.gz -%{_mandir}/man1/jiv.1.gz -%doc INSTALL LICENSE NEWS README +%doc LICENSE %files devel %defattr(-,root,root) %dir %{_includedir}/jasper %{_includedir}/jasper/*.h -%{_libdir}/*.a -%{_libdir}/*.la %{_libdir}/*.so +%{_libdir}/pkgconfig/jasper.pc +%dir %{_docdir}/JasPer +%{_docdir}/JasPer/* +%doc README + +%files tools +%defattr(-,root,root) +%{_bindir}/imgcmp +%{_bindir}/imginfo +%{_bindir}/jasper +%{_bindir}/jiv +#%{_bindir}/tmrdemo +%{_mandir}/man1/imgcmp.1* +%{_mandir}/man1/imginfo.1* +%{_mandir}/man1/jasper.1* +%{_mandir}/man1/jiv.1* %changelog +* Tue Oct 09 2018 Silvan Calarco 2.0.14-2mamba +- added -tools package + +* Sun Oct 07 2018 Automatic Build System 2.0.14-1mamba +- automatic version update by autodist + +* Fri Dec 16 2016 Silvan Calarco 2.0.6-1mamba +- update to 2.0.6 + * Mon Mar 28 2011 Silvan Calarco 1.900.1-4mamba - updated build requirements (removed versions)