Hello community,

here is the log from the commit of package openjpeg2 for openSUSE:Factory 
checked in at 2014-02-19 07:21:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openjpeg2 (Old)
 and      /work/SRC/openSUSE:Factory/.openjpeg2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openjpeg2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openjpeg2/openjpeg2.changes      2013-12-03 
16:55:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.openjpeg2.new/openjpeg2.changes 2014-02-19 
07:21:35.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Feb 18 07:21:03 UTC 2014 - pgaj...@suse.com
+
+- add libopenjp2.pc (demand introduced by ImageMagick 6.8.8-5)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openjpeg2.spec ++++++
--- /var/tmp/diff_new_pack.lWF1rd/_old  2014-02-19 07:21:36.000000000 +0100
+++ /var/tmp/diff_new_pack.lWF1rd/_new  2014-02-19 07:21:36.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define library_name  libopenjp2-6
 
 Name:           openjpeg2
@@ -27,12 +28,12 @@
 Source0:        openjpeg-%{version}.tar.gz
 Source1:        baselibs.conf
 BuildRequires:  cmake
+BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc
-BuildRequires:  pkgconfig(libtiff-4)
 BuildRequires:  pkgconfig(lcms2)
 BuildRequires:  pkgconfig(libpng)
-BuildRequires:  doxygen
+BuildRequires:  pkgconfig(libtiff-4)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -98,11 +99,22 @@
 make %{?_smp_mflags} VERBOSE=1
 make %{?_smp_mflags} VERBOSE=1 doc
 
+cat << END > libopenjp2.pc 
+Name: openjpeg
+Description: Opensource JPEG 2000 Codec Implementation
+URL: %{url}
+Version: %{version}
+Libs: -L%{_libdir} -lopenjp2
+Libs.private: -lm
+Cflags: -I%{_includedir}/openjpeg-2.0
+END
+
 %fdupes -s doc/html/
 
 %install
 %make_install -C build
-
+mkdir -p %{buildroot}%{_libdir}/pkgconfig/
+install -m 644 build/libopenjp2.pc %{buildroot}%{_libdir}/pkgconfig/
 rm -rf %{buildroot}%{_datadir}/doc
 
 %post -n %{library_name} -p /sbin/ldconfig
@@ -124,6 +136,7 @@
 %doc build/doc/html/
 %{_includedir}/openjpeg-2.0/
 %{_libdir}/libopenjp2.so
+%{_libdir}/pkgconfig/libopenjp2.pc
 %{_libdir}/openjpeg-2.0/
 %{_mandir}/man3/libopenjp2.3%{ext_man}
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to