summaryrefslogtreecommitdiff
path: root/QCSXCAD/linux
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-07-05 18:02:38 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2016-07-05 18:02:38 +0200
commitef962f6008f25ab7cbd4ca21bcc72b97a1e2d76f (patch)
tree8149bee93d1a3f91d4503bfb3853adac4af0a85e /QCSXCAD/linux
Imported Upstream version 0.0.34
Diffstat (limited to 'QCSXCAD/linux')
-rw-r--r--QCSXCAD/linux/QCSXCAD.dsc9
-rw-r--r--QCSXCAD/linux/QCSXCAD.spec115
-rw-r--r--QCSXCAD/linux/debian.changelog9
-rw-r--r--QCSXCAD/linux/debian.control17
-rw-r--r--QCSXCAD/linux/debian.rules7
-rw-r--r--QCSXCAD/linux/fedora17.diff13
6 files changed, 170 insertions, 0 deletions
diff --git a/QCSXCAD/linux/QCSXCAD.dsc b/QCSXCAD/linux/QCSXCAD.dsc
new file mode 100644
index 0000000..49f13a5
--- /dev/null
+++ b/QCSXCAD/linux/QCSXCAD.dsc
@@ -0,0 +1,9 @@
+Format: 1.0
+Source: qcsxcad
+Version: 0.3.0-1
+Binary: qcsxcad, qcsxcad-dev
+Maintainer: Thorsten Liebig <thorsten.liebig@uni-due.de>, Sebastian Held <sebastian.held@gmx.de>
+Homepage: http://www.openems.de
+Architecture: any
+Build-Depends: debhelper (>=7.0.50~), libqt4-dev, qt4-qmake, libtinyxml-dev, libvtk5-qt4-dev, csxcad-dev
+DEBTRANSFORM-TAR: QCSXCAD-0.3.0.tar.bz2
diff --git a/QCSXCAD/linux/QCSXCAD.spec b/QCSXCAD/linux/QCSXCAD.spec
new file mode 100644
index 0000000..05579ca
--- /dev/null
+++ b/QCSXCAD/linux/QCSXCAD.spec
@@ -0,0 +1,115 @@
+#
+# spec file for package [spectemplate]
+#
+# Copyright (c) 2010 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# 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/
+#
+
+# norootforbuild
+
+Name: QCSXCAD
+Version: 0.3.0
+Release: 1
+Summary: Qt bindings for CSXCAD
+Group: Development/Languages/C and C++
+License: LGPLv3
+URL: http://www.openems.de
+Source0: %{name}-%{version}.tar.bz2
+Patch0: fedora17.diff
+# BuildArch: noarch
+BuildRoot: %_tmppath/%name-%version-build
+
+BuildRequires: libqt4-devel gcc-c++ tinyxml-devel vtk-devel vtk-qt CSXCAD-devel
+#Requires:
+
+
+# determine qt4 qmake executable
+%if 0%{?fedora}
+ %global qmake qmake-qt4
+%else
+ %global qmake qmake
+%endif
+
+
+
+%description
+Qt bindings for CSXCAD.
+
+%package -n lib%{name}0
+Summary: Shared Library for %{name}
+Group: Development/Languages/C and C++
+
+%description -n lib%{name}0
+The lib%{name}0 package contains the shared library.
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Languages/C and C++
+Requires: %{name} = %{version}-%{release}
+Requires: lib%{name}0 = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%if 0%{?fedora} >= 17
+%patch0 -p1
+%endif
+
+%build
+%qmake QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags" LIB_SUFFIX="$(echo %_lib | cut -b4-)"
+make %{?_smp_mflags}
+
+
+%install
+make INSTALL_ROOT=%{buildroot} install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -n lib%{name}0 -p /sbin/ldconfig
+
+%postun -n lib%{name}0 -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+
+
+%files -n lib%{name}0
+%defattr(-,root,root)
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/*.so
+
+
+%changelog
+* Sun Jun 17 2012 Sebastian Held <sebastian.held@gmx.de> - 0.3.0-1
+- new upstream version
+* Thu Dec 29 2011 Sebastian Held <sebastian.held@gmx.de> - 0.1.3-3
+- new upstream version
+* Wed Dec 28 2011 Sebastian Held <sebastian.held@gmx.de> - 0.1.3-2
+- Fedora 16 build support
+* Sun Dec 04 2011 Sebastian Held <sebastian.held@gmx.de> - 0.1.3-1
+- initial version
diff --git a/QCSXCAD/linux/debian.changelog b/QCSXCAD/linux/debian.changelog
new file mode 100644
index 0000000..aa7f02a
--- /dev/null
+++ b/QCSXCAD/linux/debian.changelog
@@ -0,0 +1,9 @@
+qcsxcad (0.3.0-1) stable; urgency=low
+ * New upstream version
+ -- Sebastian Held <sebastian.held@gmx.de> Sun, 17 Jun 2012 21:51:14 +0200
+qcsxcad (0.1.3-2) stable; urgency=low
+ * New upstream version
+ -- Sebastian Held <sebastian.held@gmx.de> Thu, 29 Dec 2011 18:01:00 +0100
+qcsxcad (0.1.3-1) stable; urgency=low
+ * Initial Release
+ -- Sebastian Held <sebastian.held@gmx.de> Sun, 4 Dec 2011 19:03:00 +0100
diff --git a/QCSXCAD/linux/debian.control b/QCSXCAD/linux/debian.control
new file mode 100644
index 0000000..20286da
--- /dev/null
+++ b/QCSXCAD/linux/debian.control
@@ -0,0 +1,17 @@
+Source: qcsxcad
+Section: contrib/libdevel
+Priority: optional
+Maintainer: Sebastian Held <sebastian.held@gmx.de>
+Build-Depends: debhelper (>=7.0.50~), libqt4-dev, qt4-qmake, libtinyxml-dev, libvtk5-qt4-dev, csxcad-dev
+
+Package: qcsxcad
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Qt bindings for CSXCAD
+ Qt bindings for CSXCAD
+
+Package: qcsxcad-dev
+Architecture: any
+Depends: ${shlibs:Depends} qcsxcad (= ${binary:Version})
+Description: Development files for qcsxcad
+ The qcsxcad-dev package contains libraries and header files for developing applications that use qcsxcad.
diff --git a/QCSXCAD/linux/debian.rules b/QCSXCAD/linux/debian.rules
new file mode 100644
index 0000000..874a39c
--- /dev/null
+++ b/QCSXCAD/linux/debian.rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+export DH_VERBOSE=1
+export DH_OPTIONS=-v
+
+%:
+ dh $@
diff --git a/QCSXCAD/linux/fedora17.diff b/QCSXCAD/linux/fedora17.diff
new file mode 100644
index 0000000..33c78b4
--- /dev/null
+++ b/QCSXCAD/linux/fedora17.diff
@@ -0,0 +1,13 @@
+diff --git a/QCSXCAD.pro b/QCSXCAD.pro
+index 7cbf438..7d9e75c 100644
+--- a/QCSXCAD.pro
++++ b/QCSXCAD.pro
+@@ -79,7 +79,7 @@ unix {
+ /usr/include/vtk-5.10 \
+ /usr/include/vtk
+ INCLUDEPATH += /usr/include/CSXCAD
+- LIBS += -lvtkCommon \
++ LIBS += -L/usr/lib/vtk -L/usr/lib64/vtk -lvtkCommon \
+ -lvtkDICOMParser \
+ -lvtkFiltering \
+ -lvtkGenericFiltering \