diff --git a/README.md b/README.md index 089a41c..19f9eda 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libjasper1 +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. + diff --git a/libjasper1.spec b/libjasper1.spec new file mode 100644 index 0000000..b5f775d --- /dev/null +++ b/libjasper1.spec @@ -0,0 +1,126 @@ +Name: libjasper1 +Version: 1.900.1 +Release: 5mamba +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 +License: JasPer License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +BuildRequires: libbsd-devel +BuildRequires: libfreeglut-devel +BuildRequires: libjpeg-devel +BuildRequires: libuuid-devel +BuildRequires: libxcb-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +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. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{version} + +%description devel +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 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 + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libjasper.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/jasper +%{_includedir}/jasper/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%doc INSTALL NEWS 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 1.900.1-5mamba +- legacy package + +* Mon Mar 28 2011 Silvan Calarco 1.900.1-4mamba +- updated build requirements (removed versions) + +* Fri Jul 02 2010 Silvan Calarco 1.900.1-3mamba +- rebuilt against libjpeg 8 + +* Wed May 20 2009 Automatic Build System 1.900.1-2mamba +- automatic rebuild by autodist + +* Mon Jun 16 2008 Silvan Calarco 1.900.1-1mamba +- update to 1.900.1 + +* Mon Apr 03 2006 Stefano Cotta Ramusino 1.701.0-2qilnx +- specfile fixed and updated +- fixed license + +* Wed Jun 01 2005 Davide Madrisan 1.701.0-1qilnx +- package created by autospec