[packages/openjpeg2] - up to 2.1.0

arekm arekm at pld-linux.org
Tue Nov 4 21:26:17 CET 2014


commit f6d071e8ce89a2b6bd5e345c7614f27e75e1b9ad
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Nov 4 21:26:11 2014 +0100

    - up to 2.1.0

 openjpeg2-headers.patch | 20 ++++++++++----------
 openjpeg2.spec          | 24 +++++++++---------------
 2 files changed, 19 insertions(+), 25 deletions(-)
---
diff --git a/openjpeg2.spec b/openjpeg2.spec
index fed7119..15b0ba6 100644
--- a/openjpeg2.spec
+++ b/openjpeg2.spec
@@ -1,13 +1,13 @@
 Summary:	An open-source JPEG 2000 codec
 Summary(pl.UTF-8):	Biblioteka kodująca i dekodująca format JPEG 2000
 Name:		openjpeg2
-Version:	2.0.0
-Release:	3
+Version:	2.1.0
+Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: http://code.google.com/p/openjpeg/downloads/list
-Source0:	http://openjpeg.googlecode.com/files/openjpeg-%{version}.tar.gz
-# Source0-md5:	d9be274bddc0f47f268e484bdcaaa6c5
+Source0:	http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-%{version}.tar.gz
+# Source0-md5:	f6419fcc233df84f9a81eb36633c6db6
 Patch0:		%{name}-headers.patch
 URL:		http://www.openjpeg.org/
 BuildRequires:	cmake >= 2.8.2
@@ -81,9 +81,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# packaged as doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/openjpeg-2.0
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -94,21 +91,18 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGES LICENSE NEWS README THANKS
 %attr(755,root,root) %{_libdir}/libopenjp2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libopenjp2.so.6
+%attr(755,root,root) %ghost %{_libdir}/libopenjp2.so.7
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libopenjp2.so
-%{_includedir}/openjpeg-2.0
-%dir %{_libdir}/openjpeg-2.0
-%{_libdir}/openjpeg-2.0/OpenJPEG*.cmake
-%{_mandir}/man3/libopenjp2.3*
+%{_includedir}/openjpeg-2.1
+%dir %{_libdir}/openjpeg-2.1
+%{_libdir}/openjpeg-2.1/OpenJPEG*.cmake
+%{_pkgconfigdir}/libopenjp2.pc
 
 %files progs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/opj_compress
 %attr(755,root,root) %{_bindir}/opj_decompress
 %attr(755,root,root) %{_bindir}/opj_dump
-%{_mandir}/man1/opj_compress.1*
-%{_mandir}/man1/opj_decompress.1*
-%{_mandir}/man1/opj_dump.1*
diff --git a/openjpeg2-headers.patch b/openjpeg2-headers.patch
index b93ca73..44bb4ac 100644
--- a/openjpeg2-headers.patch
+++ b/openjpeg2-headers.patch
@@ -1,13 +1,3 @@
---- openjpeg-2.0.0/src/lib/openjp2/opj_stdint.h.orig	2012-11-19 15:26:08.000000000 +0100
-+++ openjpeg-2.0.0/src/lib/openjp2/opj_stdint.h	2013-01-07 17:09:24.649324889 +0100
-@@ -27,6 +27,7 @@
- #define OPJ_STDINT_H
- 
- #include "opj_config.h"
-+#include <stddef.h>
- #ifdef HAVE_STDINT_H
- #include <stdint.h>
- #else
 --- openjpeg-2.0.0/src/lib/openjp2/openjpeg.h.orig	2012-11-19 15:26:08.000000000 +0100
 +++ openjpeg-2.0.0/src/lib/openjp2/openjpeg.h	2013-01-07 17:09:24.649324889 +0100
 @@ -103,6 +103,8 @@ typedef uint64_t OPJ_UINT64;
@@ -19,3 +9,13 @@
  /* 
  ==========================================================
     Useful constant definitions
+--- openjpeg-2.1.0/src/lib/openjp2/opj_stdint.h~	2014-04-29 09:15:02.000000000 +0200
++++ openjpeg-2.1.0/src/lib/openjp2/opj_stdint.h	2014-11-04 21:22:12.492474675 +0100
+@@ -32,6 +32,7 @@
+ #define OPJ_STDINT_H
+ 
+ #include "opj_config.h"
++#include <stddef.h>
+ #ifdef OPJ_HAVE_STDINT_H
+ #include <stdint.h>
+ #else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openjpeg2.git/commitdiff/f6d071e8ce89a2b6bd5e345c7614f27e75e1b9ad



More information about the pld-cvs-commit mailing list