commit librecad for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2020-06-09 00:04:22

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new.3606 (New)


Package is "librecad"

Tue Jun  9 00:04:22 2020 rev:23 rq:812365 version:2.1.3

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2019-06-01 
09:47:32.123364525 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new.3606/librecad.changes  
2020-06-09 00:05:53.865553243 +0200
@@ -1,0 +2,5 @@
+Sun Jun  7 22:55:24 UTC 2020 - Jan Engelhardt 
+
+- Add fix-build-with-Qt-5.15.patch. Set CFLAGS+=-fcommon.
+
+---

New:

  fix-build-with-Qt-5.15.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.IijhH0/_old  2020-06-09 00:05:54.889556875 +0200
+++ /var/tmp/diff_new_pack.IijhH0/_new  2020-06-09 00:05:54.893556890 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,10 +22,9 @@
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0-only AND (Apache-2.0 OR 
SUSE-GPL-3.0+-with-font-exception)
 Group:  Productivity/Graphics/CAD
-Url:http://librecad.org/
+URL:http://librecad.org/
 
-#Git-Clone: git://github.com/LibreCAD/LibreCAD
-#Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
+#Git-Web:   https://github.com/LibreCAD/LibreCAD
 Source: https://github.com/LibreCAD/LibreCAD/archive/%version.tar.gz
 # Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
 # works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
@@ -34,40 +33,31 @@
 Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
-Patch0: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch
-Patch1: fix-build-with-Qt-5.11.patch
-Patch2: librecad-no-date.diff
-Patch3: librecad-use-system-libdxfrw.patch
-Patch4: librecad-install.diff
-Patch5: librecad-plugindir.diff
-Patch6: librecad-use-system-shapelib.patch
-Patch7: 0001-fix-build-with-gcc-9.patch
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel
-%endif
+Patch1: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch
+Patch2: fix-build-with-Qt-5.11.patch
+Patch3: fix-build-with-Qt-5.15.patch
+Patch4: librecad-no-date.diff
+Patch5: librecad-use-system-libdxfrw.patch
+Patch6: librecad-install.diff
+Patch7: librecad-plugindir.diff
+Patch8: librecad-use-system-shapelib.patch
+Patch9: 0001-fix-build-with-gcc-9.patch
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++ >= 4.7
+BuildRequires:  libboost_headers-devel
 BuildRequires:  libdxfrw-devel >= 0.6.1
-%if 0%{?suse_version} >= 1321
 BuildRequires:  libshp-devel
-%endif
-%if 0%{?suse_version} >= 1321
+BuildRequires:  muparser-devel
+BuildRequires:  unzip
+BuildRequires:  update-desktop-files
+BuildRequires:  wqy-microhei-fonts
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)
 BuildRequires:  pkgconfig(Qt5Help)
 BuildRequires:  pkgconfig(Qt5PrintSupport)
 BuildRequires:  pkgconfig(Qt5Svg)
 BuildRequires:  pkgconfig(Qt5Widgets)
-%else
-BuildRequires:  libqt4-devel
-%endif
-BuildRequires:  muparser-devel
-BuildRequires:  unzip
-BuildRequires:  update-desktop-files
-BuildRequires:  wqy-microhei-fonts
 Requires(post): desktop-file-utils
 Requires(post): shared-mime-info
 Requires(postun): desktop-file-utils
@@ -76,7 +66,6 @@
 # old qcad had a newer version, so we provide all versions here.
 Provides:   qcad
 Obsoletes:  qcad <= 2.0.5
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 LibreCAD is a Qt4 Computer-aided design (CAD) software package for 2D design
@@ -94,36 +83,25 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 0 -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -p1
-%if 0%{?suse_version} >= 1321
-%patch -P 6 -p1
-%endif
+%autopatch -p1
 
 dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')
 
 # Fix paths
 sed -i 's|##LIBDIR##|%_libdir|g' librecad/src/lib/engine/rs_system.cpp
 sed -i 's|$${DXFRW_INCLUDEDIR}|'"$dxfrw_includedir"'|g' librecad/src/src.pro
-%if 0%{?suse_version} >= 1321
 se

commit librecad for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2019-06-01 09:47:28

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new.5148 (New)


Package is "librecad"

Sat Jun  1 09:47:28 2019 rev:22 rq:705857 version:2.1.3

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2018-06-19 
11:55:50.139470339 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new.5148/librecad.changes  
2019-06-01 09:47:32.123364525 +0200
@@ -1,0 +2,5 @@
+Tue May 28 09:05:54 UTC 2019 - Jiri Slaby 
+
+- add 0001-fix-build-with-gcc-9.patch
+
+---

New:

  0001-fix-build-with-gcc-9.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.zvoKSC/_old  2019-06-01 09:47:33.135364179 +0200
+++ /var/tmp/diff_new_pack.zvoKSC/_new  2019-06-01 09:47:33.139364178 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,7 +20,7 @@
 Version:2.1.3
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
-License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
+License:GPL-2.0-only AND (Apache-2.0 OR 
SUSE-GPL-3.0+-with-font-exception)
 Group:  Productivity/Graphics/CAD
 Url:http://librecad.org/
 
@@ -41,6 +41,7 @@
 Patch4: librecad-install.diff
 Patch5: librecad-plugindir.diff
 Patch6: librecad-use-system-shapelib.patch
+Patch7: 0001-fix-build-with-gcc-9.patch
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
 %else
@@ -93,7 +94,7 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 0 -P 1 -P 2 -P 3 -P 4 -P 5 -p1
+%patch -P 0 -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -p1
 %if 0%{?suse_version} >= 1321
 %patch -P 6 -p1
 %endif
@@ -175,7 +176,8 @@
 
 %files
 %defattr(-,root,root)
-%doc LICENSE* README.md gpl-2.0* license-lc_opengost-fonts.txt
+%doc README.md
+%license LICENSE* gpl-2.0* license-lc_opengost-fonts.txt
 %_bindir/librecad
 %_bindir/ttf2lff
 %_libdir/%name

++ 0001-fix-build-with-gcc-9.patch ++
From: Jiri Slaby 
Date: Tue, 28 May 2019 10:57:15 +0200
Subject: fix build with gcc 9
Patch-mainline: submitted
References: build fix

These symbols were reported as multiply defined with gcc9 and LTO.

Signed-off-by: Jiri Slaby 
---
 librecad/src/actions/rs_actiondrawcircletan1_2p.cpp | 2 +-
 librecad/src/actions/rs_actiondrawcircletan2.cpp| 2 +-
 librecad/src/actions/rs_actiondrawcircletan2_1p.cpp | 2 +-
 librecad/src/actions/rs_actiondrawcircletan3.cpp| 2 +-
 librecad/src/actions/rs_actiondrawlinerelangle.cpp  | 2 +-
 librecad/src/actions/rs_actiondrawlinetangent1.cpp  | 2 +-
 librecad/src/actions/rs_actiondrawlinetangent2.cpp  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/librecad/src/actions/rs_actiondrawcircletan1_2p.cpp 
b/librecad/src/actions/rs_actiondrawcircletan1_2p.cpp
index c14da00e4897..c1a0e23d0fac 100644
--- a/librecad/src/actions/rs_actiondrawcircletan1_2p.cpp
+++ b/librecad/src/actions/rs_actiondrawcircletan1_2p.cpp
@@ -38,7 +38,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
 02110-1301, USA.
 
 namespace{
 //list of entity types supported by current action
-auto enTypeList={RS2::EntityLine, RS2::EntityArc, RS2::EntityCircle};
+static auto enTypeList={RS2::EntityLine, RS2::EntityArc, RS2::EntityCircle};
 }
 
 struct RS_ActionDrawCircleTan1_2P::Points {
diff --git a/librecad/src/actions/rs_actiondrawcircletan2.cpp 
b/librecad/src/actions/rs_actiondrawcircletan2.cpp
index d0558f05b746..0446003ea443 100644
--- a/librecad/src/actions/rs_actiondrawcircletan2.cpp
+++ b/librecad/src/actions/rs_actiondrawcircletan2.cpp
@@ -34,7 +34,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 
 02110-1301, USA.
 #include "rs_debug.h"
 
 namespace {
-auto enTypeList={RS2::EntityLine, RS2::EntityArc, RS2::EntityCircle};
+static auto enTypeList={RS2::EntityLine, RS2::EntityArc, RS2::EntityCircle};
 }
 
 struct RS_ActionDrawCircleTan2::Points {
diff --git a/librecad/src/actions/rs_actiondrawcircletan2_1p.cpp 
b

commit librecad for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2018-06-19 11:55:47

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Tue Jun 19 11:55:47 2018 rev:21 rq:616224 version:2.1.3

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2017-02-07 
12:02:10.376609663 +0100
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2018-06-19 
11:55:50.139470339 +0200
@@ -1,0 +2,5 @@
+Mon Jun 11 09:02:23 UTC 2018 - jsl...@suse.com
+
+- add fix-build-with-Qt-5.11.patch
+
+---

New:

  fix-build-with-Qt-5.11.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.GRuziV/_old  2018-06-19 11:55:51.199430987 +0200
+++ /var/tmp/diff_new_pack.GRuziV/_new  2018-06-19 11:55:51.199430987 +0200
@@ -35,6 +35,7 @@
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
 Patch0: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch
+Patch1: fix-build-with-Qt-5.11.patch
 Patch2: librecad-no-date.diff
 Patch3: librecad-use-system-libdxfrw.patch
 Patch4: librecad-install.diff
@@ -92,7 +93,7 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 0 -P 2 -P 3 -P 4 -P 5 -p1
+%patch -P 0 -P 1 -P 2 -P 3 -P 4 -P 5 -p1
 %if 0%{?suse_version} >= 1321
 %patch -P 6 -p1
 %endif




++ fix-build-with-Qt-5.11.patch ++
>From 6c392e903e162b9283e88f53006e929663f2e883 Mon Sep 17 00:00:00 2001
From: Jiri Slaby 
Date: Mon, 11 Jun 2018 10:44:00 +0200
Subject: [PATCH] fix build with Qt 5.11

The new Qt removed some implicit inclusions of headers. To avoid build
errors, add explicit includes of those we use in the sources.

Signed-off-by: Jiri Slaby 
---
 librecad/src/ui/forms/qg_commandwidget.cpp |1 +
 librecad/src/ui/generic/widgetcreator.cpp  |2 ++
 2 files changed, 3 insertions(+)

--- a/librecad/src/ui/forms/qg_commandwidget.cpp
+++ b/librecad/src/ui/forms/qg_commandwidget.cpp
@@ -24,6 +24,7 @@
 **
 **/
 #include "qg_commandwidget.h"
+#include 
 #include 
 #include 
 
--- a/librecad/src/ui/generic/widgetcreator.cpp
+++ b/librecad/src/ui/generic/widgetcreator.cpp
@@ -27,6 +27,8 @@
 #include "widgetcreator.h"
 #include "ui_widgetcreator.h"
 
+#include 
+#include 
 #include 
 #include 
 #include 



commit librecad for openSUSE:Factory

2017-02-07 Thread root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2017-02-07 12:00:55

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-10-10 
16:24:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2017-02-07 
12:02:10.376609663 +0100
@@ -1,0 +2,5 @@
+Wed Feb  1 13:09:28 UTC 2017 - adam.ma...@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+---



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.em8TyU/_old  2017-02-07 12:02:11.248486326 +0100
+++ /var/tmp/diff_new_pack.em8TyU/_new  2017-02-07 12:02:11.252485761 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -40,7 +40,11 @@
 Patch4: librecad-install.diff
 Patch5: librecad-plugindir.diff
 Patch6: librecad-use-system-shapelib.patch
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++ >= 4.7







commit librecad for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-10-10 16:24:35

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-10-04 
16:00:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-10-10 
16:24:55.0 +0200
@@ -1,0 +2,6 @@
+Sat Oct  8 13:24:33 UTC 2016 - jsl...@suse.com
+
+- add: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch
+  (from upstream)
+
+---

New:

  ensured-all-objects-are-shown-when-a-layer-is-toggle.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.n8Yoen/_old  2016-10-10 16:24:58.0 +0200
+++ /var/tmp/diff_new_pack.n8Yoen/_new  2016-10-10 16:24:58.0 +0200
@@ -34,6 +34,7 @@
 Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
+Patch0: ensured-all-objects-are-shown-when-a-layer-is-toggle.patch
 Patch2: librecad-no-date.diff
 Patch3: librecad-use-system-libdxfrw.patch
 Patch4: librecad-install.diff
@@ -87,7 +88,7 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 2 -P 3 -P 4 -P 5 -p1
+%patch -P 0 -P 2 -P 3 -P 4 -P 5 -p1
 %if 0%{?suse_version} >= 1321
 %patch -P 6 -p1
 %endif




++ ensured-all-objects-are-shown-when-a-layer-is-toggle.patch ++
From: ravas 
Date: Mon, 27 Jun 2016 11:04:49 -0700
Subject: ensured all objects are shown when a layer is toggled; #784
Patch-mainline: yes
Git-commit: b4a6c15236f7b3b1e0f9b9f54f29e8b2ea873f0b

Signed-off-by: Jiri Slaby 
---
 librecad/src/actions/rs_actionlayerstoggleview.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/librecad/src/actions/rs_actionlayerstoggleview.cpp 
b/librecad/src/actions/rs_actionlayerstoggleview.cpp
index 2d0effa23d4b..4c09672a075b 100644
--- a/librecad/src/actions/rs_actionlayerstoggleview.cpp
+++ b/librecad/src/actions/rs_actionlayerstoggleview.cpp
@@ -43,6 +43,7 @@ void RS_ActionLayersToggleView::trigger() {
 RS_DEBUG->print("toggle layer");
 if (graphic) {
 graphic->toggleLayer(a_layer);
+graphic->updateInserts();
 }
 finish(false);
 }
-- 
2.10.1




commit librecad for openSUSE:Factory

2016-10-04 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-10-04 16:00:40

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-09-21 
18:49:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-10-04 
16:00:23.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 27 07:41:18 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 2.1.3
+* The Shift key had no effect and would not activate the
+  command line.
+
+---

Old:

  2.1.2.tar.gz

New:

  2.1.3.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.FNnPxe/_old  2016-10-04 16:00:25.0 +0200
+++ /var/tmp/diff_new_pack.FNnPxe/_new  2016-10-04 16:00:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.1.2
+Version:2.1.3
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)

++ 2.1.2.tar.gz -> 2.1.3.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.1.2.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.1.3.tar.gz differ: char 30, line 1







commit librecad for openSUSE:Factory

2016-09-21 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-09-21 18:49:46

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-07-14 
09:44:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-09-21 
18:49:51.0 +0200
@@ -1,0 +2,14 @@
+Mon Sep 19 12:47:21 UTC 2016 - jsl...@suse.com
+
+- Update to new upstream release 2.1.2
+  * wouldn't build with gcc 5.4 and 6
+  * mouse cursor was missing for 'Arc Tangential'
+  * right-click with plugins could cause a crash
+  * construction lines were not drawn when the line segment was out of view
+  * DXF files with comments were not properly loaded
+  * drawings were not marked as modified after an 'undo'
+  * the command line didn't accept numpad input
+  * the command widget didn't activate properly when floating
+- librecad-gcc6.patch: Remove (unneeded now)
+
+---

Old:

  2.1.1.tar.gz
  librecad-gcc6.patch

New:

  2.1.2.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.9PIUqg/_old  2016-09-21 18:49:53.0 +0200
+++ /var/tmp/diff_new_pack.9PIUqg/_new  2016-09-21 18:49:53.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.1.1
+Version:2.1.2
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -34,7 +34,6 @@
 Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
-Patch1: librecad-gcc6.patch
 Patch2: librecad-no-date.diff
 Patch3: librecad-use-system-libdxfrw.patch
 Patch4: librecad-install.diff
@@ -88,7 +87,7 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
+%patch -P 2 -P 3 -P 4 -P 5 -p1
 %if 0%{?suse_version} >= 1321
 %patch -P 6 -p1
 %endif

++ 2.1.1.tar.gz -> 2.1.2.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.1.1.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.1.2.tar.gz differ: char 30, line 1







commit librecad for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-07-14 09:44:17

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-06-19 
10:50:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-07-14 
09:44:23.0 +0200
@@ -1,0 +2,12 @@
+Tue Jun 28 11:54:10 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 2.1.1
+* Bugfixes:
+* draft mode was not set for new/opened drawings
+* performance did not improve when zooming into an area
+* certain polylines were not rendered properly
+* opening a file didn't restore the layer's construction state
+* the cursor was hidden for 'polyline from existing'
+* closing an inactive tab cleared the layer list
+
+---

Old:

  2.1.0.tar.gz

New:

  2.1.1.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.DCfarO/_old  2016-07-14 09:44:25.0 +0200
+++ /var/tmp/diff_new_pack.DCfarO/_new  2016-07-14 09:44:25.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.1.0
+Version:2.1.1
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -34,12 +34,12 @@
 Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
-Patch0: librecad-gcc6.patch
-Patch1: librecad-no-date.diff
-Patch2: librecad-use-system-libdxfrw.patch
-Patch3: librecad-install.diff
-Patch4: librecad-plugindir.diff
-Patch5: librecad-use-system-shapelib.patch
+Patch1: librecad-gcc6.patch
+Patch2: librecad-no-date.diff
+Patch3: librecad-use-system-libdxfrw.patch
+Patch4: librecad-install.diff
+Patch5: librecad-plugindir.diff
+Patch6: librecad-use-system-shapelib.patch
 BuildRequires:  boost-devel
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
@@ -88,13 +88,9 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
 %if 0%{?suse_version} >= 1321
-%patch5 -p1
+%patch -P 6 -p1
 %endif
 
 dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')

++ 2.1.0.tar.gz -> 2.1.1.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.1.0.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.1.1.tar.gz differ: char 30, line 1




++ librecad-install.diff ++
--- /var/tmp/diff_new_pack.DCfarO/_old  2016-07-14 09:44:25.0 +0200
+++ /var/tmp/diff_new_pack.DCfarO/_new  2016-07-14 09:44:25.0 +0200
@@ -1,7 +1,7 @@
+From: Jan Engelhardt 
+Date: 2012-05-11 08:34:41 +0200
 Subject: postprocess-unix.sh: use correct path
 
-[js] rebase on the top of 2.1.0
-
 ---
  scripts/postprocess-unix.sh |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

++ librecad-no-date.diff ++
--- /var/tmp/diff_new_pack.DCfarO/_old  2016-07-14 09:44:25.0 +0200
+++ /var/tmp/diff_new_pack.DCfarO/_new  2016-07-14 09:44:25.0 +0200
@@ -1,7 +1,7 @@
-Remove build time references so build-compare can do its work.
-
-[js] rebase on top of 2.1.0
+From: Jan Engelhardt 
+Date: 2012-05-11 08:34:41 +0200
 
+Remove build time references so build-compare can do its work.
 ---
  librecad/src/main/qc_applicationwindow.cpp |1 -
  1 file changed, 1 deletion(-)

++ librecad-use-system-libdxfrw.patch ++
--- /var/tmp/diff_new_pack.DCfarO/_old  2016-07-14 09:44:25.0 +0200
+++ /var/tmp/diff_new_pack.DCfarO/_new  2016-07-14 09:44:25.0 +0200
@@ -1,6 +1,6 @@
 build: avoid using bundled libdxfrw
-[asterios.dra...@gmail.com: patch imported from Fedora]
-[js] rebase on top of 2.1.0
+[asterios.dra...@gmail.com: imported the patch from Fedora into openSUSE's 
librecad]
+[jsl...@suse.com: rebase/rework on top of 2.1.0]
 
 ---
  libraries/libraries.pro |1 -

++ librecad-use-system-shapelib.patch ++
--- /var/tmp/diff_new_pack.DCfarO/_old  2016-07-14 09:44:25.0 +0200
+++ /var/tmp/diff_new_pack.DCfarO/_new  2016-07-14 09:44:25.0 +0200
@@ -1,5 +1,5 @@
 build: avoid using bundled shapelib
-[asterios.dra...@gmail.com: patch imported from Fedora]
+[asterios.dra...@gmail.com: imported the patch from Fedora into openSUSE's 
librecad]
 
 ---
  plugins/importshp/importshp.pro |   11 +++




commit librecad for openSUSE:Factory

2016-06-19 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-06-19 10:50:28

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-06-02 
09:38:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-06-19 
10:50:32.0 +0200
@@ -1,0 +2,15 @@
+Fri Jun 17 10:21:20 UTC 2016 - jsl...@suse.com
+
+- add librecad-gcc6.patch
+
+---
+Tue Jun  7 07:51:47 UTC 2016 - jsl...@suse.com
+
+- Update to new upstream release 2.1.0
+  * new features
+  * lot of bug fixes
+  * other changes
+  * see full changelog at:
+
https://github.com/LibreCAD/ChangeLogs/blob/master/developers/r-a-v-a-s/2-1/2-1-0/2-1-0.md
+
+---

Old:

  2.0.11.tar.gz

New:

  2.1.0.tar.gz
  librecad-gcc6.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.3rT0lo/_old  2016-06-19 10:50:34.0 +0200
+++ /var/tmp/diff_new_pack.3rT0lo/_new  2016-06-19 10:50:34.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.11
+Version:2.1.0
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -34,6 +34,7 @@
 Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
 Source10:   ttf2lff.1
 Source20:   %name-rpmlintrc
+Patch0: librecad-gcc6.patch
 Patch1: librecad-no-date.diff
 Patch2: librecad-use-system-libdxfrw.patch
 Patch3: librecad-install.diff
@@ -87,9 +88,13 @@
 
 %prep
 %setup -qn LibreCAD-%version -a 2 -a 3 -a 4
-%patch -P 1 -P 2 -P 3 -P 4 -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 %if 0%{?suse_version} >= 1321
-%patch -P 5 -p1
+%patch5 -p1
 %endif
 
 dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')
@@ -97,6 +102,9 @@
 # Fix paths
 sed -i 's|##LIBDIR##|%_libdir|g' librecad/src/lib/engine/rs_system.cpp
 sed -i 's|$${DXFRW_INCLUDEDIR}|'"$dxfrw_includedir"'|g' librecad/src/src.pro
+%if 0%{?suse_version} >= 1321
+sed -i 's@LRELEASE="lrelease"@LRELEASE="lrelease-qt5"@' 
scripts/postprocess-unix.sh
+%endif
 
 # Make sure bundled libraries are not used
 rm -rf libraries/libdxfrw
@@ -108,6 +116,7 @@
 sed -i 's/\r$//' LICENSE-MIT.txt LICENSE_KST32B_v2.txt 
license-lc_opengost-fonts.txt
 
 %build
+echo 'DISABLE_POSTSCRIPT = true' > librecad/src/custom.pri
 %if 0%{?suse_version} >= 1321
 qmake-qt5 \
 %else

++ 2.0.11.tar.gz -> 2.1.0.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.0.11.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.1.0.tar.gz differ: char 16, line 1




++ librecad-gcc6.patch ++
Subject: Fix gcc6 build failure

Taken from fedora.

---
diff -up 
LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/boost.pri.gcc6 
LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/boost.pri
--- 
LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/boost.pri.gcc6   
2016-06-06 11:47:24.087659733 -0400
+++ LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/boost.pri
2016-06-06 11:47:27.439636022 -0400
@@ -113,7 +113,7 @@ unix {
 }
 
 
-INCLUDEPATH += $${BOOST_INCDIR}
+# INCLUDEPATH += $${BOOST_INCDIR}
 HEADERS += $${BOOST_INCDIR}
 
 !isEmpty( BOOST_LIBS ) {
diff -up 
LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/muparser.pri.gcc6
 LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/muparser.pri
--- 
LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/muparser.pri.gcc6
2016-06-05 02:27:45.0 -0400
+++ LibreCAD-dbf1cc7c9597740d34a068f6f09c36841054e903/librecad/src/muparser.pri 
2016-06-06 11:46:11.508173138 -0400
@@ -2,9 +2,7 @@
 macx|win32|equals(build_muparser, "true")|!packagesExist(muparser){
 message("Using bundled muparser")
MUPARSER_DIR = ../../libraries/muparser
-   DEPENDPATH += $$MUPARSER_DIR/include \
-   $$MUPARSER_DIR/src
-   INCLUDEPATH += $$MUPARSER_DIR/include
+   DEPENDPATH += $$MUPARSER_DIR/src
GEN_LIB_DIR = ../../generated/lib
LIBS += -L$$GEN_LIB_DIR -lmuparser
PRE_TARGETDEPS += $$GEN_LIB_DIR/libmuparser.a
++ librecad-install.diff ++
--- /var/tmp/diff_new_pack.3rT0lo/_old  2016-06-19 10:50:34.0 +0200
+++ /var/tmp/diff_new_pack.3rT0lo/_new  2016-06-19 10:50:34.0 +0200
@@ -1,24 +1,13 @@
+Sub

commit librecad for openSUSE:Factory

2016-06-02 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-06-02 09:38:52

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-05-17 
17:16:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-06-02 
09:38:53.0 +0200
@@ -1,0 +2,9 @@
+Tue May 24 10:32:20 UTC 2016 - jeng...@inai.de
+
+- Update to new upstream release 2.0.11
+* Updated translations. Added non-uniform knots support.
+* Added Edit - Device Options.
+* Eliminated crash on save when auto backup is off.
+* Eliminated invalid bounding boxes from auto zoom.
+
+---

Old:

  2.0.10.tar.gz

New:

  2.0.11.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.hyGGYr/_old  2016-06-02 09:38:54.0 +0200
+++ /var/tmp/diff_new_pack.hyGGYr/_new  2016-06-02 09:38:54.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.10
+Version:2.0.11
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -26,7 +26,7 @@
 
 #Git-Clone: git://github.com/LibreCAD/LibreCAD
 #Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
-Source: https://github.com/LibreCAD/LibreCAD/archive/%{version}.tar.gz
+Source: https://github.com/LibreCAD/LibreCAD/archive/%version.tar.gz
 # Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
 # works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
 Source2:http://wiki.librecad.org/images/d/d9/Architect3-LCAD.zip
@@ -123,31 +123,29 @@
unix/resources/fonts/wqy-unicode.lff
 
 %install
-b="%buildroot";
+b="%buildroot"
 # No make install :(
-export BUILDDIR="%buildroot/%_datadir/%name";
-sh scripts/postprocess-unix.sh;
+export BUILDDIR="$b/%_datadir/%name"
+sh scripts/postprocess-unix.sh
 
-install -Dpm0755 "unix/%name" "$b/%_bindir/%name";
+install -Dpm0755 "unix/%name" "$b/%_bindir/%name"
 install -Dpm0644 "unix/appdata/%name.appdata.xml" 
"$b/%_datadir/appdata/%name.appdata.xml"
 install -Dpm0755 "unix/ttf2lff" "$b/%_bindir/ttf2lff"
-install -Dpm0644 "desktop/%name.1" "$b/%_mandir/man1/%name.1";
-p="$b/%_libdir/%name/plugins";
-mkdir -p "$p";
-install -Dpm0755 unix/resources/plugins/* "$p/";
-install -Dpm0644 "desktop/%name.desktop" 
"$b/%_datadir/applications/%name.desktop";
-install -Dpm0644 "librecad/res/main/%name.png" 
"$b/%_datadir/pixmaps/%name.png";
+install -Dpm0644 "desktop/%name.1" "$b/%_mandir/man1/%name.1"
+p="$b/%_libdir/%name/plugins"
+mkdir -p "$p"
+install -Dpm0755 unix/resources/plugins/* "$p/"
+install -Dpm0644 "desktop/%name.desktop" 
"$b/%_datadir/applications/%name.desktop"
+install -Dpm0644 "librecad/res/main/%name.png" "$b/%_datadir/pixmaps/%name.png"
 install -Dpm0644 "desktop/%name.sharedmimeinfo" 
"$b/%_datadir/mime/packages/%name.xml"
 install -Dpm0644 "%_sourcedir/ttf2lff.1" "$b/%_mandir/man1/"
 
-mkdir -p %buildroot%_datadir/%name/library/architecture
-cp -a Architect8-LCAD %buildroot%_datadir/%name/library/architecture
-
-mkdir -p %buildroot%_datadir/%name/library/electronics
-cp -a Electronic8-LCAD %buildroot%_datadir/%name/library/electronics
-
-mkdir -p %buildroot%_datadir/%name/library/electrical
-cp -a Electrical1-LCAD %buildroot%_datadir/%name/library/electrical
+mkdir -p "$b/%_datadir/%name/library/architecture" \
+   "$b/%_datadir/%name/library/electronics" \
+   "$b/%_datadir/%name/library/electrical"
+cp -a Architect8-LCAD "$b/%_datadir/%name/library/architecture/"
+cp -a Electronic8-LCAD "$b/%_datadir/%name/library/electronics/"
+cp -a Electrical1-LCAD "$b/%_datadir/%name/library/electrical/"
 
 %if 0%{?suse_version}
 %suse_update_desktop_file -G "CAD Program" -r %name Graphics 2DGraphics 
VectorGraphics

++ 2.0.10.tar.gz -> 2.0.11.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.0.10.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.0.11.tar.gz differ: char 16, line 1







commit librecad for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-05-17 17:16:32

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2016-01-28 
17:22:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-05-17 
17:16:37.0 +0200
@@ -1,0 +2,15 @@
+Mon May 16 13:04:14 UTC 2016 - jsl...@suse.com
+
+- Update to new upstream release 2.0.10:
+  * the Arch paper sizes were not properly supported
+  * the pen toolbar was wider than necessary on super HD displays
+  * various memory leaks
+  * build error when using boost version greater than 1.53
+  * auto-save could not really be turned off
+  * file dialog always opened with DXF, instead of the last chosen file type
+  * the statusbar and statusbar font were not allowed to autosize
+  * the fixed extension line length option was not working for dimensions
+  * the program would crash after: modify action -> undo -> repeat modify
+action
+
+---

Old:

  2.0.9.tar.gz

New:

  2.0.10.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.zywfvK/_old  2016-05-17 17:16:38.0 +0200
+++ /var/tmp/diff_new_pack.zywfvK/_new  2016-05-17 17:16:38.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.9
+Version:2.0.10
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)

++ 2.0.9.tar.gz -> 2.0.10.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.0.9.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.0.10.tar.gz differ: char 12, line 1







commit librecad for openSUSE:Factory

2016-01-29 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2016-01-28 17:22:30

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2015-09-13 
09:45:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2016-01-28 
17:22:33.0 +0100
@@ -1,0 +2,9 @@
+Mon Jan 18 07:43:39 UTC 2016 - jsl...@suse.com
+
+- Update to new upstream release 2.0.9:
+  * Mostly a bug fixing release
+  * Fixed a few crashes due to undo and deleted entities
+  * More at:
+http://forum.librecad.org/2-0-9-released-td5712809.html
+
+---

Old:

  2.0.8.tar.gz

New:

  2.0.9.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.nLGAbv/_old  2016-01-28 17:22:34.0 +0100
+++ /var/tmp/diff_new_pack.nLGAbv/_new  2016-01-28 17:22:34.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.8
+Version:2.0.9
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -26,7 +26,7 @@
 
 #Git-Clone: git://github.com/LibreCAD/LibreCAD
 #Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
-Source: https://github.com/LibreCAD/LibreCAD/archive/2.0.8.tar.gz
+Source: https://github.com/LibreCAD/LibreCAD/archive/%{version}.tar.gz
 # Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
 # works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
 Source2:http://wiki.librecad.org/images/d/d9/Architect3-LCAD.zip

++ 2.0.8.tar.gz -> 2.0.9.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/2.0.8.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.0.9.tar.gz differ: char 25, line 1







commit librecad for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2015-09-13 09:45:01

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2015-05-07 
09:22:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2015-09-13 
09:45:09.0 +0200
@@ -1,0 +2,22 @@
+Wed Sep  9 21:03:17 UTC 2015 - asterios.dra...@gmail.com
+
+- Update to new upstream release 2.0.8:
+  * DWG read support.
+  * SVG export support.
+  * Arabic Language GUI support. More work is needed for:
+Right-to-left support for Text entities.
+Arabic fonts for Text.
+  * More user configurable settings in App Preferences.
+  * Many fixes and enhancements, see:
+http://forum.librecad.org/2-0-8-released-td5712049.html
+for details.
+- Added new Part Library:
+  Electrical1-LCAD.zip
+- Rebased librecad-install.diff, librecad-no-date.diff and
+  librecad-use-system-libdxfrw.patch to apply cleanly.
+- Added a patch "librecad-use-system-shapelib.patch" to use the
+  system shapelib instead of the bundled one and new build
+  requirement libshp-devel (for openSUSE > 13.2).
+- Update includes the fix for boo#937874.
+
+---

Old:

  LibreCAD-2.0.7.tar.gz

New:

  2.0.8.tar.gz
  Electrical1-LCAD.zip
  librecad-use-system-shapelib.patch



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.EHkDor/_old  2015-09-13 09:45:10.0 +0200
+++ /var/tmp/diff_new_pack.EHkDor/_new  2015-09-13 09:45:10.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.7
+Version:2.0.8
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -26,23 +26,27 @@
 
 #Git-Clone: git://github.com/LibreCAD/LibreCAD
 #Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
-#DL-URL:https://github.com/LibreCAD/LibreCAD/archive/2.0.7.tar.gz
-Source: LibreCAD-%version.tar.gz
+Source: https://github.com/LibreCAD/LibreCAD/archive/2.0.8.tar.gz
 # Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
 # works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
 Source2:http://wiki.librecad.org/images/d/d9/Architect3-LCAD.zip
 Source3:http://wiki.librecad.org/images/7/70/Electronics3-LCAD.zip
-Source4:ttf2lff.1
-Source10:   %name-rpmlintrc
+Source4:http://wiki.librecad.org/images/9/9d/Electrical1-LCAD.zip
+Source10:   ttf2lff.1
+Source20:   %name-rpmlintrc
 Patch1: librecad-no-date.diff
 Patch2: librecad-use-system-libdxfrw.patch
 Patch3: librecad-install.diff
 Patch4: librecad-plugindir.diff
+Patch5: librecad-use-system-shapelib.patch
 BuildRequires:  boost-devel
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++ >= 4.7
-BuildRequires:  libdxfrw-devel
+BuildRequires:  libdxfrw-devel >= 0.6.1
+%if 0%{?suse_version} >= 1321
+BuildRequires:  libshp-devel
+%endif
 %if 0%{?suse_version} >= 1321
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5Gui)
@@ -82,8 +86,11 @@
 CAD drawings.
 
 %prep
-%setup -qn LibreCAD-%version -a 2 -a 3
+%setup -qn LibreCAD-%version -a 2 -a 3 -a 4
 %patch -P 1 -P 2 -P 3 -P 4 -p1
+%if 0%{?suse_version} >= 1321
+%patch -P 5 -p1
+%endif
 
 dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')
 
@@ -93,9 +100,12 @@
 
 # Make sure bundled libraries are not used
 rm -rf libraries/libdxfrw
+%if 0%{?suse_version} >= 1321
+rm -rf plugins/importshp/shapelib
+%endif
 
 # Fix "wrong-file-end-of-line-encoding" rpmlint warning
-sed -i 's/\r$//' LICENSE-MIT.txt license-lc_opengost-fonts.txt
+sed -i 's/\r$//' LICENSE-MIT.txt LICENSE_KST32B_v2.txt 
license-lc_opengost-fonts.txt
 
 %build
 %if 0%{?suse_version} >= 1321
@@ -136,6 +146,9 @@
 mkdir -p %buildroot%_datadir/%name/library/electronics
 cp -a Electronic8-LCAD %buildroot%_datadir/%name/library/electronics
 
+mkdir -p %buildroot%_datadir/%name/library/electrical
+cp -a Electrical1-LCAD %buildroot%_datadir/%name/library/electrical
+
 %if 0%{?suse_version}
 %suse_update_desktop_file -G "CAD Program" -r %name Graphics 2DGraphics 
VectorGraphics
 %endif

++ LibreCAD-2.0.7.tar.gz -> 2.0.8.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/LibreCAD-2.0.7.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/2.0.8.tar.gz differ: char 26, line 1



++ librecad-install.diff ++
---

commit librecad for openSUSE:Factory

2015-05-07 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2015-05-07 09:22:41

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2015-02-03 
11:40:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2015-05-07 
09:22:42.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr 30 01:00:13 UTC 2015 - crrodrig...@opensuse.org
+
+- Switch to QT5 for Factory builds. 
+
+---



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.r8sqcU/_old  2015-05-07 09:22:43.0 +0200
+++ /var/tmp/diff_new_pack.r8sqcU/_new  2015-05-07 09:22:43.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2015 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
@@ -40,9 +40,19 @@
 Patch4: librecad-plugindir.diff
 BuildRequires:  boost-devel
 BuildRequires:  fdupes
+BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++ >= 4.7
 BuildRequires:  libdxfrw-devel
+%if 0%{?suse_version} >= 1321
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5Gui)
+BuildRequires:  pkgconfig(Qt5Help)
+BuildRequires:  pkgconfig(Qt5PrintSupport)
+BuildRequires:  pkgconfig(Qt5Svg)
+BuildRequires:  pkgconfig(Qt5Widgets)
+%else
 BuildRequires:  libqt4-devel
+%endif
 BuildRequires:  muparser-devel
 BuildRequires:  unzip
 BuildRequires:  update-desktop-files
@@ -88,7 +98,12 @@
 sed -i 's/\r$//' LICENSE-MIT.txt license-lc_opengost-fonts.txt
 
 %build
-qmake librecad.pro CONFIG+="release" \
+%if 0%{?suse_version} >= 1321
+qmake-qt5 \
+%else
+qmake \
+%endif
+librecad.pro CONFIG+="release" \
QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags"
 make %{?_smp_mflags}
 rm -f unix/resources/fonts/wqy-unicode.lff






commit librecad for openSUSE:Factory

2015-02-03 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2015-02-03 11:40:49

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2014-08-25 
11:03:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2015-02-03 
11:40:59.0 +0100
@@ -1,0 +2,30 @@
+Sat Jan 31 22:21:05 UTC 2015 - asterios.dra...@gmail.com
+
+- Update to new upstream release 2.0.7:
+  * A serious command line regression since 2.0.6 was fixed:
+keyboard Enter/Esc support, command line widget in a second
+screen, etc. Also fixed are some crashes for tangential circle
+drawing and polyline addition.
+  * Improved LFF font support
+  * The command line can be used as a calculator by typing math
+expression after command “cal”. For example, command "cal 1+1"
+to get output "2"
+  * Many fixes and enhancements, see:
+http://blog.librecad.org/
+for details
+  From version 2.0.5:
+  * Interpolation spline. Draw->Spline->Spline Points.
+  * File -> Export as PDF.
+  * Korean language support.
+  * Smooth scrolling/zooming
+  * Work-in-progress, finding enclosed area within a contour.
+  * “Modify->Round” renamed to “Modify->Fillet”.
+  * Command line aliases can be made for both regular commands and
+short commands.
+- Added new Part Libraries:
+  Architect8-LCAD.zip and Electronics8-LCAD.zip.
+- Added new build requirement unzip.
+- Rebased librecad-install.diff and
+  librecad-use-system-libdxfrw.patch to apply cleanly.
+
+---

Old:

  LibreCAD-2.0.4.tar.gz

New:

  Architect3-LCAD.zip
  Electronics3-LCAD.zip
  LibreCAD-2.0.7.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.k8Gppr/_old  2015-02-03 11:41:02.0 +0100
+++ /var/tmp/diff_new_pack.k8Gppr/_new  2015-02-03 11:41:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2014 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,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.4
+Version:2.0.7
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
@@ -26,10 +26,14 @@
 
 #Git-Clone: git://github.com/LibreCAD/LibreCAD
 #Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
-#DL-URL:https://github.com/LibreCAD/LibreCAD/archive/2.0.3.tar.gz
-Source0:LibreCAD-%version.tar.gz
-Source1:ttf2lff.1
-Source2:%name-rpmlintrc
+#DL-URL:https://github.com/LibreCAD/LibreCAD/archive/2.0.7.tar.gz
+Source: LibreCAD-%version.tar.gz
+# Version is actually 8, not 3 (it is 3 in the filename due to how MediaWiki
+# works -- see http://wiki.librecad.org/index.php/File:Architect3-LCAD.zip)
+Source2:http://wiki.librecad.org/images/d/d9/Architect3-LCAD.zip
+Source3:http://wiki.librecad.org/images/7/70/Electronics3-LCAD.zip
+Source4:ttf2lff.1
+Source10:   %name-rpmlintrc
 Patch1: librecad-no-date.diff
 Patch2: librecad-use-system-libdxfrw.patch
 Patch3: librecad-install.diff
@@ -40,6 +44,7 @@
 BuildRequires:  libdxfrw-devel
 BuildRequires:  libqt4-devel
 BuildRequires:  muparser-devel
+BuildRequires:  unzip
 BuildRequires:  update-desktop-files
 BuildRequires:  wqy-microhei-fonts
 Requires(post): desktop-file-utils
@@ -67,7 +72,7 @@
 CAD drawings.
 
 %prep
-%setup -qn LibreCAD-%version
+%setup -qn LibreCAD-%version -a 2 -a 3
 %patch -P 1 -P 2 -P 3 -P 4 -p1
 
 dxfrw_includedir=$(pkg-config --cflags-only-I libdxfrw0 | sed 's|-I||g')
@@ -79,12 +84,18 @@
 # Make sure bundled libraries are not used
 rm -rf libraries/libdxfrw
 
+# Fix "wrong-file-end-of-line-encoding" rpmlint warning
+sed -i 's/\r$//' LICENSE-MIT.txt license-lc_opengost-fonts.txt
+
 %build
-qmake librecad.pro CONFIG+="release" QMAKE_CFLAGS+="%optflags" 
QMAKE_CXXFLAGS+="%optflags"
+qmake librecad.pro CONFIG+="release" \
+   QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags"
 make %{?_smp_mflags}
 rm -f unix/resources/fonts/wqy-unicode.lff
 mkdir -p unix/resources/fonts
-./unix/ttf2lff -L "Apache-2.0 or SUSE-GPL-3.0+-with-font-exception" 
/usr/share/fonts/truetype/wqy-microhei.ttc unix/resources/fonts/wqy-unicode.lff
+./unix/ttf2l

commit librecad for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2014-08-25 11:03:22

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2014-05-20 
14:22:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2014-08-25 
11:03:58.0 +0200
@@ -1,0 +2,16 @@
+Wed Aug 13 18:36:35 UTC 2014 - asterios.dra...@gmail.com
+
+- Update to new upstream release 2.0.4:
+  * Windows and OS/X printer dialog fails to appear when running Qt5;
+  * A patched version of muparser is used by default for OS/X and win32;
+  * Update layer for selected entities when a layer is selected
+  * Plotting/drawing mathematical equations by smallfix
+  * Draw circle by 2 points and radius
+  * PIC file importer by cgrzemba
+  * Update layer for selected entities when a layer is selected by ajisaacs
+  * Lots of shortcut fixes by thomas
+  * Arc angle updates for negative z-axis by coryjc190
+  * Drawing order regression in 2.0.3
+- Rebased librecad-use-system-libdxfrw.patch to apply cleanly.
+
+---

Old:

  LibreCAD-2.0.2.tar.gz

New:

  LibreCAD-2.0.4.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.QEih2K/_old  2014-08-25 11:03:59.0 +0200
+++ /var/tmp/diff_new_pack.QEih2K/_new  2014-08-25 11:03:59.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   librecad
-Version:2.0.2
+Version:2.0.4
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)

++ LibreCAD-2.0.2.tar.gz -> LibreCAD-2.0.4.tar.gz ++
/work/SRC/openSUSE:Factory/librecad/LibreCAD-2.0.2.tar.gz 
/work/SRC/openSUSE:Factory/.librecad.new/LibreCAD-2.0.4.tar.gz differ: char 13, 
line 1

++ librecad-use-system-libdxfrw.patch ++
--- /var/tmp/diff_new_pack.QEih2K/_old  2014-08-25 11:03:59.0 +0200
+++ /var/tmp/diff_new_pack.QEih2K/_new  2014-08-25 11:03:59.0 +0200
@@ -6,10 +6,10 @@
  librecad/src/src.pro|3 +--
  2 files changed, 1 insertion(+), 3 deletions(-)
 
-Index: LibreCAD-2.0.2/libraries/libraries.pro
+Index: LibreCAD-2.0.4/libraries/libraries.pro
 ===
 LibreCAD-2.0.2.orig/libraries/libraries.pro
-+++ LibreCAD-2.0.2/libraries/libraries.pro
+--- LibreCAD-2.0.4.orig/libraries/libraries.pro
 LibreCAD-2.0.4/libraries/libraries.pro
 @@ -9,7 +9,6 @@ TEMPLATE = subdirs
  TARGET = libraries
  
@@ -17,11 +17,11 @@
 -libdxfrw \
  jwwlib
  
- 
-Index: LibreCAD-2.0.2/librecad/src/src.pro
+ macx|win32|equals(build_muparser, "true"){
+Index: LibreCAD-2.0.4/librecad/src/src.pro
 ===
 LibreCAD-2.0.2.orig/librecad/src/src.pro
-+++ LibreCAD-2.0.2/librecad/src/src.pro
+--- LibreCAD-2.0.4.orig/librecad/src/src.pro
 LibreCAD-2.0.4/librecad/src/src.pro
 @@ -37,7 +37,6 @@ greaterThan( QT_MAJOR_VERSION, 4 ) {
  CONFIG += help 
  } 
@@ -30,7 +30,7 @@
  PRE_TARGETDEPS += ../../generated/lib/libjwwlib.a
  
  DESTDIR = $${INSTALLDIR}
-@@ -77,7 +76,7 @@ LIBS += -L../../generated/lib  \
+@@ -86,7 +85,7 @@ LIBS += -L../../generated/lib  \
  -ljwwlib
  
  DEPENDPATH += \

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



commit librecad for openSUSE:Factory

2014-05-20 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2014-05-20 14:22:52

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2013-07-01 
15:55:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2014-05-20 
14:22:54.0 +0200
@@ -1,0 +2,54 @@
+Sun May  4 19:21:39 UTC 2014 - asterios.dra...@gmail.com
+
+- Update to new upstream release 2.0.2:
+  * Some notable changes visible to users:
++ Reworked snapping system to allow simultaneous multiple snapping options;
+  snapping of equidistant middle points;
++ Helping/scratch layer support. Straight lines are kept infinite and
+  entities are skipped  in printout;
++ Isometric grids;
++ Architectural tick;
++ Support of new ellipse features missing in version 1.0, such as,
+  intersection, middle point, arc length, and tangential direction;
++ Several new drawing features for line, circle, and ellipse;
++ Improved localization, translation for plugins and standard dialogs;
++ Support for a general factor for drawing size dimensions to help scaled
+  drawings;
++ Revert entities direction, developed by effad;
++ Some UI tweaking;
++ Windows setup registration to add LC in Windows Control Panel ‘Programs
+  and Features’.
+  * LibreCAD-2.0 is using a new dxfrw library to handle the DXF file format,
+and some advantage of the dxfrw library brings are:
++ New dxf library supporting ascii and binary files, more versions and
+  fully compatible with the specification;
++ Support of templates;
++ Dimensions: support for aligned / horizontal text;
++ Dimensions: added general scale property;
++ Added support for single line text.
+  * Some internal changes since LibreCAD-1.0 series:
++ Removed Qt3 dependency;
++ Reworked methods to calculate intersections to simplify support for new
+  entity types;
++ Improved many drawing algorithms for performance;
++ Added scripts to allow automatic building on OS/X and Windows;
++ Added boost and C++11 support ;
++ Various code review and bug fixes.
+  * See http://blog.librecad.org/ for more details.
+- Updated License to GPL-2.0 and (Apache-2.0 or
+  SUSE-GPL-3.0+-with-font-exception).
+- Added a man page (ttf2lff.1) for the ttf2lff program.
+- Removed bash, dxflib-devel and libqt4-devel-doc build requirements (not
+  needed anymore).
+- Added new build requirements boost-devel, libdxfrw-devel and
+  wqy-microhei-fonts.
+- Added mime_database_post/mime_database_postun entries sice the package
+  installs a mime file.
+- Rebased librecad-no-date.diff to apply cleanly.
+- Removed the following patches (not needed anymore):
+  * librecad-dxflib25.diff
+  * librecad-external-dxflib.diff
+- Added the following patches (taken from Fedora):
+  * librecad-use-system-libdxfrw.patch (Use system libdxfrw)
+
+---

Old:

  librecad-1.0.3.tar.gz
  librecad-dxflib25.diff
  librecad-external-dxflib.diff

New:

  LibreCAD-2.0.2.tar.gz
  librecad-use-system-libdxfrw.patch
  ttf2lff.1



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.PKfB5J/_old  2014-05-20 14:22:56.0 +0200
+++ /var/tmp/diff_new_pack.PKfB5J/_new  2014-05-20 14:22:56.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# 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
@@ -17,33 +17,35 @@
 
 
 Name:   librecad
-Version:1.0.3
+Version:2.0.2
 Release:0
 Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
-License:GPL-2.0
+License:GPL-2.0 and (Apache-2.0 or SUSE-GPL-3.0+-with-font-exception)
 Group:  Productivity/Graphics/CAD
 Url:http://librecad.org/
 
 #Git-Clone: git://github.com/LibreCAD/LibreCAD
 #Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
-#DL-URL:
http://github.com/LibreCAD/LibreCAD/archive/v1.0.3/librecad-1.0.3.tar.gz
-Source: %name-%version.tar.gz
+#DL-URL:https://github.com/LibreCAD/LibreCAD/archive/2.0.3.tar.gz
+Source0:LibreCAD-%version.tar.gz
+Source1:ttf2lff.1
 Source2:%name-rpmlintrc
 Patch1: librecad-no-date.diff
-Patch2: librecad-d

commit librecad for openSUSE:Factory

2013-07-01 Thread h_root
Hello community,

here is the log from the commit of package librecad for openSUSE:Factory 
checked in at 2013-07-01 15:55:28

Comparing /work/SRC/openSUSE:Factory/librecad (Old)
 and  /work/SRC/openSUSE:Factory/.librecad.new (New)


Package is "librecad"

Changes:

--- /work/SRC/openSUSE:Factory/librecad/librecad.changes2012-05-14 
16:15:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.librecad.new/librecad.changes   2013-07-01 
15:55:32.0 +0200
@@ -1,0 +2,11 @@
+Sun Jun 23 18:46:58 UTC 2013 - asterios.dra...@gmail.com
+
+- Update to new upstream release 1.0.3:
+  * Bugfix release.
+- Removed librecad.mime.desktop file (not needed since dxf is part
+  of the shared-mime-info database). Removed also the respective
+  update-mime-database post/postun entries.
+- Added desktop_database_post/desktop_database_postun entries
+  since the package defines a MIME handler.
+
+---

Old:

  librecad-1.0.2.tar.xz
  librecad.mime.desktop

New:

  librecad-1.0.3.tar.gz



Other differences:
--
++ librecad.spec ++
--- /var/tmp/diff_new_pack.RU80xQ/_old  2013-07-01 15:55:33.0 +0200
+++ /var/tmp/diff_new_pack.RU80xQ/_new  2013-07-01 15:55:33.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librecad
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -14,43 +14,50 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:  librecad
-Summary:   Computer-aided design (CAD) software package for 2D design and 
drafting
-Version:   1.0.2
+Version:1.0.3
 Release:   0
-URL:   http://librecad.org/
+Summary:Computer-aided design (CAD) software package for 2D design and 
drafting
 License:   GPL-2.0
 Group: Productivity/Graphics/CAD
-
-# old qcad had a newer version, so we provide all versions here.
-Provides:   qcad
-Obsoletes:  qcad <= 2.0.5
+Url:http://librecad.org/
 
 #Git-Clone:git://github.com/LibreCAD/LibreCAD
-#Git-Web:  https://github.com/LibreCAD/LibreCAD/tags
-#DL-URL:   https://github.com/LibreCAD/LibreCAD/tarball/v1.0.2
-Source:%name-%version.tar.xz
+#Git-Web:   http://github.com/LibreCAD/LibreCAD/tags
+#DL-URL:
http://github.com/LibreCAD/LibreCAD/archive/v1.0.3/librecad-1.0.3.tar.gz
+Source: %name-%version.tar.gz
 Source2:   %name-rpmlintrc
-Source3:   librecad.mime.desktop
 Patch1:librecad-no-date.diff
 Patch2:librecad-dxflib25.diff
 Patch3:librecad-external-dxflib.diff
 Patch4:librecad-install.diff
 Patch5:librecad-plugindir.diff
-BuildRoot: %_tmppath/%name-%version-build
-BuildRequires: bash, fdupes, gcc-c++, dxflib-devel, muparser-devel
-BuildRequires: libqt4-devel, libqt4-devel-doc, update-desktop-files, xz
-Requires(post):shared-mime-info
-Requires(postun):  shared-mime-info
+BuildRequires:  bash
+BuildRequires:  dxflib-devel
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  libqt4-devel
+BuildRequires:  libqt4-devel-doc
+BuildRequires:  muparser-devel
+BuildRequires:  update-desktop-files
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
 Recommends:%name-parts
+# old qcad had a newer version, so we provide all versions here.
+Provides:   qcad
+Obsoletes:  qcad <= 2.0.5
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-LibreCAD is a Qt4 application to design 2D CAD drawings.
+LibreCAD is a Qt4 Computer-aided design (CAD) software package for 2D design
+and drafting.
 
 %package parts
 Summary:   Parts collection for LibreCAD
-Requires:  %name
 Group: Productivity/Graphics/CAD
+Requires:   %name
 BuildArch: noarch
 
 %description parts
@@ -58,7 +65,7 @@
 CAD drawings.
 
 %prep
-%setup -qn LibreCAD-LibreCAD-a5c34b2
+%setup -qn LibreCAD-%version
 %patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
 
 %build
@@ -84,28 +91,28 @@
 install -Dpm0755 unix/resources/plugins/* "$p/";
 install -Dpm0644 "desktop/%name.desktop" 
"$b/%_datadir/applications/%name.desktop";
 install -Dpm0644 "res/main/%name.png" "$b/%_datadir/pixmaps/%name.png";
-install -Dpm0644 "%{S:3}" "$b/%_datadir/mime/image/dxf.desktop";
-
-#find "$b/%_datadir/%name" -type f -exec chmod a-x "{}" "+";
 
 %if 0%{?suse_version}
-%suse_update_desktop_file -r %name Graphics VectorGraphics
-%suse_update_desktop_file %buildroot/%_datadir/mim