diff --git a/libopenjpeg.spec b/libopenjpeg.spec index 0e87423..843c6f7 100644 --- a/libopenjpeg.spec +++ b/libopenjpeg.spec @@ -1,7 +1,8 @@ %define _version %(echo %version | tr '.' '_') %define majver %(echo %version | cut -d. -f1-2) +%define apiver %(echo %version | cut -d. -f1-2) Name: libopenjpeg -Version: 2.0.0 +Version: 2.1.0 Release: 1mamba Summary: An open-source JPEG 2000 codec written in C language Group: System/Libraries @@ -9,7 +10,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openjpeg.org -Source: http://openjpeg.googlecode.com/files/openjpeg-%{version}.tar.gz +Source: https://downloads.sourceforge.net/project/openjpeg.mirror/%{version}/openjpeg-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -64,30 +65,32 @@ This package contains utility applications for %{name}. %files %defattr(-,root,root) %{_libdir}/libopenjp2.so.* -%doc LICENSE +%doc LICENSE AUTHORS %files devel %defattr(-,root,root) -%dir %{_includedir}/openjpeg-2.0 -%{_includedir}/openjpeg-2.0/*.h +%dir %{_includedir}/openjpeg-%{apiver} +%{_includedir}/openjpeg-%{apiver}/*.h %{_libdir}/libopenjp2.so -%{_libdir}/openjpeg-2.0/OpenJPEGConfig.cmake -%{_libdir}/openjpeg-2.0/OpenJPEGTargets-noconfig.cmake -%{_libdir}/openjpeg-2.0/OpenJPEGTargets.cmake -%{_datadir}/doc/openjpeg-2.0/CHANGES -%{_datadir}/doc/openjpeg-2.0/LICENSE +%{_libdir}/openjpeg-%{apiver}/OpenJPEGConfig.cmake +%{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets-noconfig.cmake +%{_libdir}/openjpeg-%{apiver}/OpenJPEGTargets.cmake +%{_libdir}/pkgconfig/libopenjp2.pc %files tools %defattr(-,root,root) %{_bindir}/opj_compress %{_bindir}/opj_decompress %{_bindir}/opj_dump -%{_mandir}/man1/opj_compress.1.gz -%{_mandir}/man1/opj_decompress.1.gz -%{_mandir}/man1/opj_dump.1.gz -%{_mandir}/man3/libopenjp2.3.gz +#%{_mandir}/man1/opj_compress.1* +#%{_mandir}/man1/opj_decompress.1* +#%{_mandir}/man1/opj_dump.1* +#%{_mandir}/man3/libopenjp2.3* %changelog +* Thu Jul 10 2014 Silvan Calarco 2.1.0-1mamba +- update to 2.1.0 + * Wed Jan 23 2013 Silvan Calarco 2.0.0-1mamba - update to 2.0.0