[librecad/f19] add Architect8 and Electronic8 parts libraries

Tom Callaway spot at fedoraproject.org
Thu Sep 11 14:32:21 UTC 2014


commit 9578f55cb94eb5614f434d5b7059561e7224859c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Thu Sep 11 10:32:16 2014 -0400

    add Architect8 and Electronic8 parts libraries

 librecad.spec |   16 ++++++++++++++--
 sources       |    2 ++
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/librecad.spec b/librecad.spec
index 72382f7..e49b00a 100644
--- a/librecad.spec
+++ b/librecad.spec
@@ -10,12 +10,15 @@
 
 Name:			librecad
 Version:		2.0.5
-Release:		1%{?dist}
+Release:		2%{?dist}
 Summary:		Computer Assisted Design (CAD) Application
 License:		GPLv2 and GPLv2+
 URL:			http://librecad.org/
 Source0:		https://github.com/LibreCAD/LibreCAD/archive/%{commit}/librecad-%{version}.tar.gz
 Source1:		ttf2lff.1
+# GPL licensed parts files
+Source2:		Architect8-LCAD.zip
+Source3:		Electronic8-LCAD.zip
 Patch0:			librecad-use-system-libdxfrw.patch
 Patch1:			librecad-desktop.patch
 Patch2:			librecad-install.patch
@@ -71,7 +74,7 @@ BuildArch:	noarch
 Pattern files for LibreCAD.
 
 %prep
-%setup -qn LibreCAD-%{commit}
+%setup -qn LibreCAD-%{commit} -a 2 -a 3
 %patch0 -p1 -b .system
 %patch1 -p1 -b .desktopfix
 %patch2 -p1 -b .install
@@ -113,6 +116,12 @@ mv unix/resources/plugins/* %{buildroot}%{_libdir}/%{name}/plugins/
 %{__install} -Dpm 644 librecad/src/plugins/document_interface.h %{buildroot}%{_includedir}/%{name}/document_interface.h
 %{__install} -Dpm 644 librecad/src/plugins/qc_plugininterface.h %{buildroot}%{_includedir}/%{name}/qc_plugininterface.h
 
+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
+
 %{_fixperms} %{buildroot}
 
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
@@ -169,6 +178,9 @@ fi
 %{_datadir}/%{name}/patterns/
 
 %changelog
+* Thu Sep 11 2014 Tom Callaway <spot at fedoraproject.org> - 2.0.5-2
+- add Architect8 and Electronic8 parts libraries
+
 * Mon Aug 18 2014 Richard Shaw <hobbes1069 at gmail.com> - 2.0.5-1
 - Update to latest upstream release.
 
diff --git a/sources b/sources
index b6faa69..7274c4d 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
 5a5d701bedcdbdf4b5c83605fc6eee9d  librecad-2.0.5.tar.gz
+9758e901402195d603976a741d2fdd23  Architect8-LCAD.zip
+2d30ae465d0a0b7418e8f200a7926f08  Electronic8-LCAD.zip


More information about the scm-commits mailing list