Hello community, here is the log from the commit of package dxflib for openSUSE:Factory checked in at 2015-01-09 20:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2012-12-19 20:28:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.dxflib.new/dxflib.changes 2015-01-09 20:50:28.000000000 +0100 @@ -1,0 +2,7 @@ +Tue Jan 6 21:51:34 UTC 2015 - p.drouand@gmail.com + +- Update to version 3.7.5 +* No changelog available +- Remove obsolete patches: dxflib-automake.diff, dxflib-type92.diff + +------------------------------------------------------------------- Old: ---- dxflib-2.5.0.0-1.src.tar.xz dxflib-automake.diff dxflib-type92.diff New: ---- dxflib-3.7.5-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dxflib.spec ++++++ --- /var/tmp/diff_new_pack.yn3aCA/_old 2015-01-09 20:50:29.000000000 +0100 +++ /var/tmp/diff_new_pack.yn3aCA/_new 2015-01-09 20:50:29.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package dxflib # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,22 +17,18 @@ Name: dxflib -%define lname libdxflib-2_5_0_0_1 +%define lname libdxflib1 +Version: 3.7.5 +Release: 0 Summary: Parser library for the Drawing Exchange Format (DXF) -License: GPL-2.0 +License: GPL-2.0+ Group: Development/Libraries/C and C++ -Version: 2.5.0.0.1 -Release: 0 -%define unver 2.5.0.0-1 -Url: http://www.qcad.org/en/dxflib-downloads - -Source: %name-%unver.src.tar.xz -Patch1: dxflib-automake.diff -Patch2: dxflib-type92.diff +Url: http://qcad.org/en/dxflib-downloads +Source: http://qcad.org/archives/dxflib/%name-%version-src.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: xz +BuildRequires: libqt4-devel +#BuildRequires: libtool %description dxflib is a C++ library mainly for parsing and writing DXF files. @@ -57,33 +53,35 @@ files. %prep -%setup -qn %name-%unver.src -%patch -P 1 -p1 -%patch -P 2 -p2 +%setup -qn %name-%version-src +sed -i 's|staticlib|sharedlib|' dxflib.pro %build -autoreconf -fi; -%configure --disable-static +qmake dxflib.pro QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags" make %{?_smp_mflags}; %install -make install DESTDIR="%buildroot"; -rm -f "%buildroot/%_libdir"/*.la; +# `make install` does not do anything. +b="%buildroot" +mkdir -p "$b/%_libdir" "$b/%_includedir/%name" +install -m 755 libdxflib.so* "$b/%_libdir/" +install -m 644 src/*.h "$b/%_includedir/%name/" +rm -f "$b/%_libdir"/*.la %check make check %{?_smp_mflags}; %post -n %lname -p /sbin/ldconfig - %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) -%_libdir/libdxflib-%version.so +%doc gpl-2.0greater.txt +%_libdir/libdxflib.so.* %files devel %defattr(-,root,root) -%_includedir/%name +%_includedir/%name/ %_libdir/libdxflib.so %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org