Hello community,

here is the log from the commit of package openjpeg for openSUSE:Factory 
checked in at 2015-03-03 11:13:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openjpeg (Old)
 and      /work/SRC/openSUSE:Factory/.openjpeg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openjpeg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openjpeg/openjpeg.changes        2014-08-13 
08:48:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openjpeg.new/openjpeg.changes   2015-03-03 
11:13:59.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Mar  2 08:39:25 UTC 2015 - [email protected]
+
+- Use cmake macros for building
+- Small spec file cleanups, use pkgconfig style dependencies
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ openjpeg.spec ++++++
--- /var/tmp/diff_new_pack.MqgbFL/_old  2015-03-03 11:13:59.000000000 +0100
+++ /var/tmp/diff_new_pack.MqgbFL/_new  2015-03-03 11:13:59.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openjpeg
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %define so_ver 1
-
 Name:           openjpeg
 Version:        1.5.2
 Release:        0
@@ -34,14 +33,16 @@
 Patch1:         openjpeg-1.5.1-soname.patch
 BuildRequires:  cmake
 BuildRequires:  doxygen
+BuildRequires:  libtiff-devel
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(lcms2)
+BuildRequires:  pkgconfig(libpng)
+BuildRequires:  pkgconfig(libtiff-4)
+BuildRequires:  pkgconfig(zlib)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 %endif
-BuildRequires:  liblcms2-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  zlib-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 OpenJPEG library is an open-source JPEG 2000 codec written in C. It has been
@@ -75,12 +76,7 @@
 echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.dox.cmake.in
 
 %build
-mkdir build
-cd build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-cmake \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake \
  -DOPENJPEG_INSTALL_LIB_DIR:PATH=%{_lib} \
  -DOPENJPEG_INSTALL_DOC_DIR=%{_docdir}/%{name} \
  -DBUILD_SHARED_LIBS=ON \
@@ -88,11 +84,11 @@
  -DBUILD_DOC=ON \
  -DUSE_SYSTEM_GETOPT=ON \
  -DBUILD_THIRDPARTY=OFF ..
-make %{?_smp_mflags} VERBOSE=1
-cd ..
+
+make %{?_smp_mflags}
 
 %install
-%make_install -C build
+%cmake_install
 
 # Install devel docs manually in order to fix rpmlint warning "files-duplicate"
 cp -a build/doc/html/ %{buildroot}%{_docdir}/%{name}-devel/

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to