Hello community, here is the log from the commit of package lib3ds for openSUSE:Factory checked in at 2016-06-19 10:49:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lib3ds (Old) and /work/SRC/openSUSE:Factory/.lib3ds.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lib3ds" Changes: -------- --- /work/SRC/openSUSE:Factory/lib3ds/lib3ds.changes 2014-09-17 17:27:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lib3ds.new/lib3ds.changes 2016-06-19 10:49:16.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 20 05:17:38 UTC 2016 - [email protected] + +- Fixed packaging of -devel package to include lib3ds.pc file (/usr/bin/lib3ds-config will not work without it). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lib3ds.spec ++++++ --- /var/tmp/diff_new_pack.SZrY70/_old 2016-06-19 10:49:17.000000000 +0200 +++ /var/tmp/diff_new_pack.SZrY70/_new 2016-06-19 10:49:17.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package lib3ds # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -28,6 +28,7 @@ Patch0: lib3ds-pkgconfig.patch Patch1: lib3ds-mesh.c.patch BuildRequires: libtool +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -73,6 +74,8 @@ %install rm -rf examples/.deps make DESTDIR=%{buildroot} install %{?_smp_mflags} +mkdir -p %{buildroot}%{_datadir}/pkgconfig/ +install -m644 lib3ds.pc %{buildroot}%{_datadir}/pkgconfig/ find %{buildroot} -type f -name "*.la" -delete -print %check @@ -92,6 +95,7 @@ %{_mandir}/man1/*gz %{_libdir}/lib3ds.so %{_datadir}/aclocal/lib3ds.m4 +%{_datadir}/pkgconfig/lib3ds.pc %post -n %{libname} -p /sbin/ldconfig ++++++ lib3ds-pkgconfig.patch ++++++ --- /var/tmp/diff_new_pack.SZrY70/_old 2016-06-19 10:49:17.000000000 +0200 +++ /var/tmp/diff_new_pack.SZrY70/_new 2016-06-19 10:49:17.000000000 +0200 @@ -1,6 +1,7 @@ -diff -uNr lib3ds-1.2.0.orig/lib3ds-config.in lib3ds-1.2.0/lib3ds-config.in ---- lib3ds-1.2.0.orig/lib3ds-config.in 2000-05-23 14:13:08.000000000 +0200 -+++ lib3ds-1.2.0/lib3ds-config.in 2007-10-21 06:37:48.000000000 +0200 +Index: lib3ds-1.3.0/lib3ds-config.in +=================================================================== +--- lib3ds-1.3.0.orig/lib3ds-config.in ++++ lib3ds-1.3.0/lib3ds-config.in @@ -1,9 +1,5 @@ #!/bin/sh @@ -11,7 +12,7 @@ usage() { cat <<EOF -@@ -22,6 +18,8 @@ +@@ -22,6 +18,8 @@ if test $# -eq 0; then usage 1 1>&2 fi @@ -20,7 +21,7 @@ while test $# -gt 0; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; -@@ -30,23 +28,23 @@ +@@ -30,23 +28,23 @@ while test $# -gt 0; do case $1 in --prefix=*) @@ -48,7 +49,7 @@ ;; --cflags) echo_cflags=yes -@@ -62,23 +60,18 @@ +@@ -62,23 +60,18 @@ while test $# -gt 0; do done if test "$echo_prefix" = "yes"; then @@ -77,9 +78,10 @@ + pkg-config $PKG_CONFIG_ARGS --libs lib3ds +fi -diff -uNr lib3ds-1.2.0.orig/lib3ds.pc.in lib3ds-1.2.0/lib3ds.pc.in ---- lib3ds-1.2.0.orig/lib3ds.pc.in 1970-01-01 01:00:00.000000000 +0100 -+++ lib3ds-1.2.0/lib3ds.pc.in 2007-10-21 06:23:53.000000000 +0200 +Index: lib3ds-1.3.0/lib3ds.pc.in +=================================================================== +--- /dev/null ++++ lib3ds-1.3.0/lib3ds.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ @@ -92,3 +94,28 @@ +Requires: +Libs: -L${libdir} -l3ds -lm +Cflags: -I${includedir} +Index: lib3ds-1.3.0/Makefile.am +=================================================================== +--- lib3ds-1.3.0.orig/Makefile.am ++++ lib3ds-1.3.0/Makefile.am +@@ -35,6 +35,7 @@ man_MANS = \ + EXTRA_DIST = \ + lib3ds.m4 \ + lib3ds-config.1 \ ++ lib3ds.pc \ + AUTHORS \ + COPYING \ + ChangeLog \ +Index: lib3ds-1.3.0/configure.in +=================================================================== +--- lib3ds-1.3.0.orig/configure.in ++++ lib3ds-1.3.0/configure.in +@@ -16,6 +16,8 @@ AM_INIT_AUTOMAKE(lib3ds, $LIB3DS_VERSION + AC_PROG_CC + AC_PROG_LIBTOOL + ++AC_CONFIG_FILES([lib3ds.pc]) ++ + AC_MSG_CHECKING([for debugging mode]) + AC_ARG_ENABLE(debug-mode, + [ --enable-debug-mode enable debugging mode],
