Hello community,
here is the log from the commit of package dxflib for openSUSE:Factory checked in at 2015-12-24 12:16:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dxflib (Old)
and /work/SRC/openSUSE:Factory/.dxflib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dxflib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/dxflib/dxflib.changes 2015-03-23 12:18:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dxflib.new/dxflib.changes 2015-12-24 12:16:18.000000000 +0100
@@ -1,0 +2,12 @@
+Tue Dec 8 13:40:56 UTC 2015 - jengelh@inai.de
+
+- Add dxflib-versioning.diff. Turns out our shlib build is custom,
+ and needs to be tagged appropriately.
+
+-------------------------------------------------------------------
+Tue Dec 8 12:17:04 UTC 2015 - p.drouand@gmail.com
+
+- Update to version 3.12.2
+ * No changelog available
+
+-------------------------------------------------------------------
Old:
----
dxflib-3.7.5-src.tar.gz
New:
----
dxflib-3.12.2-src.tar.gz
dxflib-versioning.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dxflib.spec ++++++
--- /var/tmp/diff_new_pack.Iw48dw/_old 2015-12-24 12:16:19.000000000 +0100
+++ /var/tmp/diff_new_pack.Iw48dw/_new 2015-12-24 12:16:19.000000000 +0100
@@ -17,18 +17,20 @@
Name: dxflib
-%define lname libdxflib1
-Version: 3.7.5
+# Patch1 needs update on version change
+%define lname libdxflib-3_12_2-1
+Version: 3.12.2
Release: 0
Summary: Parser library for the Drawing Exchange Format (DXF)
License: GPL-2.0+
Group: Development/Libraries/C and C++
Url: http://qcad.org/en/dxflib-downloads
+
Source: http://qcad.org/archives/dxflib/%name-%version-src.tar.gz
+Patch1: dxflib-versioning.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: libqt4-devel
-#BuildRequires: libtool
%description
dxflib is a C++ library mainly for parsing and writing DXF files.
@@ -54,22 +56,22 @@
%prep
%setup -qn %name-%version-src
-sed -i 's|staticlib|sharedlib|' dxflib.pro
+%patch -P 1 -p1
%build
qmake dxflib.pro QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags"
-make %{?_smp_mflags};
+make %{?_smp_mflags}
%install
# `make install` does not do anything.
b="%buildroot"
mkdir -p "$b/%_libdir" "$b/%_includedir/%name"
-cp -a libdxflib.so* "$b/%_libdir/"
-install -m 644 src/*.h "$b/%_includedir/%name/"
-rm -f "$b/%_libdir"/*.la
+install -pm0644 src/*.h "$b/%_includedir/%name/"
+cp -a libdxflib*.so.* "$b/%_libdir/"
+ln -Tsfv "libdxflib-%version.so.1" "$b/%_libdir/libdxflib.so"
%check
-make check %{?_smp_mflags};
+make check %{?_smp_mflags}
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@@ -77,7 +79,7 @@
%files -n %lname
%defattr(-,root,root)
%doc gpl-2.0greater.txt
-%_libdir/libdxflib.so.*
+%_libdir/libdxflib-%version.so.1*
%files devel
%defattr(-,root,root)
++++++ dxflib-3.7.5-src.tar.gz -> dxflib-3.12.2-src.tar.gz ++++++
++++ 46708 lines of diff (skipped)
++++++ dxflib-versioning.diff ++++++
From: Jan Engelhardt