commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2020-10-16 16:14:11 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new.3486 (New) Package is "AppCSXCAD" Fri Oct 16 16:14:11 2020 rev:6 rq:841936 version:0.2.2 Changes: --- /work/SRC/openSUSE:Factory/AppCSXCAD/AppCSXCAD.changes 2019-01-15 09:15:36.654278163 +0100 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new.3486/AppCSXCAD.changes 2020-10-16 16:14:29.792694689 +0200 @@ -1,0 +2,5 @@ +Thu Oct 15 13:02:01 UTC 2020 - Stefan Brüns + +- Fix build with VTK 9.x, add AppCSXCAD-vtk.patch + +--- New: AppCSXCAD-vtk.patch Other differences: -- ++ AppCSXCAD.spec ++ --- /var/tmp/diff_new_pack.KkNlpq/_old 2020-10-16 16:14:32.288695454 +0200 +++ /var/tmp/diff_new_pack.KkNlpq/_new 2020-10-16 16:14:32.292695456 +0200 @@ -1,7 +1,7 @@ # # spec file for package AppCSXCAD # -# Copyright (c) 2018 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,33 +22,35 @@ Summary:Minimal GUI Application using the QCSXCAD library License:GPL-3.0-only Group: Productivity/Scientific/Other -Url:http://openems.de +URL:https://openems.de Source0: https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: qt5_use_modules.diff +# PATCH-FIX-OPENSUSE +Patch1: AppCSXCAD-vtk.patch BuildRequires: CSXCAD-devel BuildRequires: QCSXCAD-devel BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: glew-devel BuildRequires: tinyxml-devel BuildRequires: vtk-devel +BuildRequires: vtk-qt BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xt) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Minimal GUI Application using the QCSXCAD library. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake -make %{?_smp_mflags} +%cmake_build %install %cmake_install ++ AppCSXCAD-vtk.patch ++ --- a/CMakeLists.txt2018-12-14 23:45:50.112002905 +0100 +++ b/CMakeLists.txt2018-12-15 00:01:35.322874327 +0100 @@ -117,15 +117,14 @@ if("${VTK_MAJOR_VERSION}" EQUAL 5) set( vtk_LIBS QVTK ) -elseif("${VTK_MAJOR_VERSION}" EQUAL 6) - set( vtk_LIBS -vtkGUISupportQt) +else() + set( vtk_LIBS ${VTK_LIBRARIES} ) endif() message(STATUS "vtk libraries " ${vtk_LIBS}) # Qt set(CMAKE_AUTOMOC ON) -if(${VTK_VERSION} VERSION_GREATER "6" AND VTK_QT_VERSION VERSION_GREATER "4") +if(${VTK_VERSION} VERSION_GREATER "6" AND ((NOT DEFINED VTK_QT_VERSION) OR ("${VTK_QT_VERSION}" VERSION_GREATER "4"))) find_package(Qt5Widgets REQUIRED) include_directories(${Qt5Widgets_INCLUDE_DIRS}) find_package(Qt5Xml REQUIRED)
commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2019-01-15 09:15:34 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new.28833 (New) Package is "AppCSXCAD" Tue Jan 15 09:15:34 2019 rev:5 rq:658531 version:0.2.2 Changes: --- /work/SRC/openSUSE:Factory/AppCSXCAD/AppCSXCAD.changes 2018-06-27 10:23:08.880259724 +0200 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new.28833/AppCSXCAD.changes 2019-01-15 09:15:36.654278163 +0100 @@ -1,0 +2,9 @@ +Sat Dec 15 11:54:35 UTC 2018 - Stefan Brüns + +- Update to version 0.2.2 + * Minor bugfix release, cmake fixes only +- VTK no longer depends on MPI by default, so AppCSXCAD can be + built withou MPI environment setup. This also allows running + AppCSXCAD without runtime MPI setup. Fixes bnc#1080443. + +--- Old: AppCSXCAD-0.2.1.tar.gz New: AppCSXCAD-0.2.2.tar.gz Other differences: -- ++ AppCSXCAD.spec ++ --- /var/tmp/diff_new_pack.9yBskl/_old 2019-01-15 09:15:37.290277572 +0100 +++ /var/tmp/diff_new_pack.9yBskl/_new 2019-01-15 09:15:37.298277565 +0100 @@ -12,15 +12,15 @@ # 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/ # Name: AppCSXCAD -Version:0.2.1 +Version:0.2.2 Release:0 Summary:Minimal GUI Application using the QCSXCAD library -License:GPL-3.0 +License:GPL-3.0-only Group: Productivity/Scientific/Other Url:http://openems.de Source0: https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -46,9 +46,6 @@ %patch0 -p1 %build -if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then - source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh -fi %cmake make %{?_smp_mflags} @@ -57,8 +54,8 @@ %cmake_install %files -%defattr(-,root,root,-) -%doc COPYING README +%license COPYING +%doc README %{_bindir}/* %changelog ++ AppCSXCAD-0.2.1.tar.gz -> AppCSXCAD-0.2.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AppCSXCAD-0.2.1/CMakeLists.txt new/AppCSXCAD-0.2.2/CMakeLists.txt --- old/AppCSXCAD-0.2.1/CMakeLists.txt 2016-05-12 21:20:59.0 +0200 +++ new/AppCSXCAD-0.2.2/CMakeLists.txt 2017-02-18 15:22:02.0 +0100 @@ -6,7 +6,7 @@ SET( CMAKE_BUILD_TYPE Release CACHE STRING "Set to either \"Release\" or \"Debug\"" ) ENDIF() -PROJECT( AppCSXCAD CXX) +PROJECT( AppCSXCAD CXX C) cmake_minimum_required(VERSION 2.8) @@ -19,7 +19,7 @@ ENDIF() # default -set(VERSION "v0.2.1") +set(VERSION "v0.2.2") # add git revision IF(EXISTS ${PROJECT_SOURCE_DIR}/.git ) @@ -95,6 +95,10 @@ message(STATUS "QCSXCAD_INCLUDE_DIR: ${QCSXCAD_INCLUDE_DIR}" ) INCLUDE_DIRECTORIES( ${QCSXCAD_INCLUDE_DIR} ) +# hdf5 +find_package(HDF5 1.8 COMPONENTS C HL REQUIRED) +INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS}) + # vtk if (WIN32) find_package(VTK 6.1 REQUIRED) @@ -149,6 +153,8 @@ TARGET_LINK_LIBRARIES( AppCSXCAD ${CSXCAD_LIBRARIES} ${QCSXCAD_LIBRARIES} + ${HDF5_LIBRARIES} + ${HDF5_HL_LIBRARIES} ${QT_LIBRARIES} ${vtk_LIBS} )
commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2018-06-27 10:23:02 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new (New) Package is "AppCSXCAD" Wed Jun 27 10:23:02 2018 rev:4 rq:619215 version:0.2.1 Changes: --- /work/SRC/openSUSE:Factory/AppCSXCAD/AppCSXCAD.changes 2017-12-14 11:00:49.801920960 +0100 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new/AppCSXCAD.changes 2018-06-27 10:23:08.880259724 +0200 @@ -1,0 +2,7 @@ +Mon Jun 25 21:43:33 UTC 2018 - stefan.bru...@rwth-aachen.de + +- Fix build with Qt5.11, qt5_use_modules has been deprecated and + removed, add qt5_use_modules.diff +- Always use Qt5, as all current VTK builds use Qt5 as well + +--- New: qt5_use_modules.diff Other differences: -- ++ AppCSXCAD.spec ++ --- /var/tmp/diff_new_pack.cMHylh/_old 2018-06-27 10:23:09.536235804 +0200 +++ /var/tmp/diff_new_pack.cMHylh/_new 2018-06-27 10:23:09.536235804 +0200 @@ -1,7 +1,7 @@ # # spec file for package AppCSXCAD # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -24,22 +24,16 @@ Group: Productivity/Scientific/Other Url:http://openems.de Source0: https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: qt5_use_modules.diff BuildRequires: CSXCAD-devel BuildRequires: QCSXCAD-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: tinyxml-devel BuildRequires: vtk-devel -%if 0%{?suse_version} > 1320 BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5Xml) -%else -BuildRequires: libqt4-devel -%endif +BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xt) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,6 +43,7 @@ %prep %setup -q +%patch0 -p1 %build if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then ++ qt5_use_modules.diff ++ diff --git a/CMakeLists.txt b/CMakeLists.txt index d5b6e5a..148ec66 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,7 @@ SET(SOURCES ADD_EXECUTABLE( AppCSXCAD ${SOURCES} ) if(Qt5Widgets_FOUND) -qt5_use_modules(AppCSXCAD Widgets Xml) + set(QT_LIBRARIES Qt5::Widgets Qt5::Xml) endif() TARGET_LINK_LIBRARIES( AppCSXCAD
commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2017-12-14 11:00:14 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new (New) Package is "AppCSXCAD" Thu Dec 14 11:00:14 2017 rev:3 rq:556473 version:0.2.1 Changes: --- /work/SRC/openSUSE:Factory/AppCSXCAD/AppCSXCAD.changes 2016-09-11 00:54:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new/AppCSXCAD.changes 2017-12-14 11:00:49.801920960 +0100 @@ -1,0 +2,18 @@ +Wed Dec 6 16:59:39 UTC 2017 - stefan.bru...@rwth-aachen.de + +- Setup MPI environment before building. + +--- +Sat Nov 18 03:14:59 UTC 2017 - stefan.bru...@rwth-aachen.de + +- Change the Qt BuildRequires: for older distributions, Leap 42.x + has a VTK build with Qt4, use the same conditional as the VTK + package (i.e. Qt4 on Leap 42.x, Qt5 on TW and Leap 15.x) + +--- +Wed Nov 1 17:15:51 UTC 2017 - stefan.bru...@rwth-aachen.de + +- Add explicit BuildRequires for Qt5Sql/Qt5Widgets devel packages, + as these are no longer implicitly required by vtk-devel + +--- Other differences: -- ++ AppCSXCAD.spec ++ --- /var/tmp/diff_new_pack.jCwiyG/_old 2017-12-14 11:00:50.477888329 +0100 +++ /var/tmp/diff_new_pack.jCwiyG/_new 2017-12-14 11:00:50.481888136 +0100 @@ -1,7 +1,7 @@ # # spec file for package AppCSXCAD # -# 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 @@ -30,10 +30,16 @@ BuildRequires: gcc-c++ BuildRequires: tinyxml-devel BuildRequires: vtk-devel +%if 0%{?suse_version} > 1320 +BuildRequires: cmake(Qt5Sql) +BuildRequires: cmake(Qt5Widgets) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) +%else +BuildRequires: libqt4-devel +%endif BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xt) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -45,6 +51,9 @@ %setup -q %build +if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then + source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh +fi %cmake make %{?_smp_mflags}
commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2016-09-11 00:54:00 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new (New) Package is "AppCSXCAD" Changes: --- /work/SRC/openSUSE:Factory/AppCSXCAD/AppCSXCAD.changes 2015-11-26 17:01:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new/AppCSXCAD.changes 2016-09-11 00:54:03.0 +0200 @@ -1,0 +2,8 @@ +Fri Aug 26 18:50:09 UTC 2016 - dmitr...@opensuse.org + +- Update to version 0.2.1 + * Bugfix release +- Drop obsolete + * AppCSXCAD-vtk.patch + +--- Old: AppCSXCAD-0.2.0.tar.gz AppCSXCAD-vtk.patch New: AppCSXCAD-0.2.1.tar.gz Other differences: -- ++ AppCSXCAD.spec ++ --- /var/tmp/diff_new_pack.eEP4W2/_old 2016-09-11 00:54:04.0 +0200 +++ /var/tmp/diff_new_pack.eEP4W2/_new 2016-09-11 00:54:04.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package AppCSXCAD # -# 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,15 +17,13 @@ Name: AppCSXCAD -Version:0.2.0 +Version:0.2.1 Release:0 Summary:Minimal GUI Application using the QCSXCAD library License:GPL-3.0 Group: Productivity/Scientific/Other Url:http://openems.de Source0: https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM AppCSXCAD-vtk.patch -- Fix build with VTK 6.3 -Patch1: AppCSXCAD-vtk.patch BuildRequires: CSXCAD-devel BuildRequires: QCSXCAD-devel BuildRequires: cmake @@ -45,7 +43,6 @@ %prep %setup -q -%patch1 -p1 %build %cmake ++ AppCSXCAD-0.2.0.tar.gz -> AppCSXCAD-0.2.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/AppCSXCAD-0.2.0/AppCSXCAD.pro new/AppCSXCAD-0.2.1/AppCSXCAD.pro --- old/AppCSXCAD-0.2.0/AppCSXCAD.pro 2015-10-10 14:17:33.0 +0200 +++ new/AppCSXCAD-0.2.1/AppCSXCAD.pro 1970-01-01 01:00:00.0 +0100 @@ -1,111 +0,0 @@ -TEMPLATE = app -TARGET = AppCSXCAD -CONFIG += debug_and_release - -VERSION = 0.2.0 - -# add git revision -GITREV = $$system(git describe --tags) -isEmpty(GITREV):GITREV=$$VERSION -DEFINES += GIT_VERSION=\\\"$$GITREV\\\" - -MOC_DIR = moc -OBJECTS_DIR = obj -QT += core gui xml -greaterThan(QT_MAJOR_VERSION, 4):QT+=widgets - -# remove unnecessary webkit define -DEFINES -= QT_WEBKIT - -exists(localPaths.pri) { -include(localPaths.pri) -} - -win32 { -isEmpty(WIN32_LIB_ROOT) { -WIN32_LIB_ROOT = .. -} - -#CSXCAD -isEmpty(CSXCAD_ROOT) { -CSXCAD_ROOT = $$WIN32_LIB_ROOT/CSXCAD -} -INCLUDEPATH += $$CSXCAD_ROOT/include/CSXCAD -LIBS += -L$$CSXCAD_ROOT/lib -lCSXCAD0 - -#QCSXCAD -isEmpty(QCSXCAD_ROOT) { -QCSXCAD_ROOT = $$WIN32_LIB_ROOT/QCSXCAD -} -INCLUDEPATH += $$QCSXCAD_ROOT/include/QCSXCAD -LIBS += -L$$QCSXCAD_ROOT/lib -lQCSXCAD0 -} - -unix { -#CSXCAD -isEmpty(CSXCAD_ROOT) { -CSXCAD_ROOT = /usr -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$CSXCAD_ROOT/lib\' -} -INCLUDEPATH += $$CSXCAD_ROOT/include/CSXCAD -LIBS += -L$$CSXCAD_ROOT/lib -lCSXCAD - -#QCSXCAD -isEmpty(QCSXCAD_ROOT) { -QCSXCAD_ROOT = /usr -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$QCSXCAD_ROOT/lib\' -} -INCLUDEPATH += $$QCSXCAD_ROOT/include/QCSXCAD -LIBS += -L$$QCSXCAD_ROOT/lib -lQCSXCAD - -#vtk -isEmpty(VTK_LIBRARYPATH) { -#unnecessary by default -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$VTK_LIBRARYPATH\' -} -} - -HEADERS += AppCSXCAD.h -SOURCES += AppCSXCAD.cpp \ -main.cpp -FORMS += -RESOURCES += - -QMAKE_CXXFLAGS_DEBUG = -O0 -g - - - - -# -# create tar file -# -tarball.target = tarball -tarball.commands = git archive --format=tar --prefix=AppCSXCAD-$$VERSION/ HEAD | bzip2 > AppCSXCAD-$${VERSION}.tar.bz2 - -QMAKE_EXTRA_TARGETS += tarball - - -# -# INSTALL -# -isEmpty(PREFIX) { -PREFIX = /usr/local -} -install.target = install -install.commands = mkdir -p \"$$PREFIX/bin\" -unix:!macx:install.commands += && cp -at \"$$PREFIX/bin/\" AppCSXCAD AppCSXCAD.sh -win32:install.commands += && cp -at \"$$PREFIX/bin/\" release/AppCSXCAD.exe -macx:install.commands += && cp -r AppCSXCAD.app AppCSXCAD.sh \"$$PREFIX/bin/\" - -QMAKE_EXTRA_TARGETS += install - - -# -# create .PHONY target -# -phony.target
commit AppCSXCAD for openSUSE:Factory
Hello community, here is the log from the commit of package AppCSXCAD for openSUSE:Factory checked in at 2015-11-26 17:01:07 Comparing /work/SRC/openSUSE:Factory/AppCSXCAD (Old) and /work/SRC/openSUSE:Factory/.AppCSXCAD.new (New) Package is "AppCSXCAD" Changes: New Changes file: --- /dev/null 2015-11-02 12:10:47.524024255 +0100 +++ /work/SRC/openSUSE:Factory/.AppCSXCAD.new/AppCSXCAD.changes 2015-11-26 17:01:09.0 +0100 @@ -0,0 +1,7 @@ +--- +Sun Nov 8 18:42:17 UTC 2015 - dmitr...@opensuse.org + +- Initial package, version 0.2.0 +- Fix building with VTK 6.3 + * AppCSXCAD-vtk.patch + New: AppCSXCAD-0.2.0.tar.gz AppCSXCAD-vtk.patch AppCSXCAD.changes AppCSXCAD.spec Other differences: -- ++ AppCSXCAD.spec ++ # # spec file for package AppCSXCAD # # 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 # 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/ # Name: AppCSXCAD Version:0.2.0 Release:0 Summary:Minimal GUI Application using the QCSXCAD library License:GPL-3.0 Group: Productivity/Scientific/Other Url:http://openems.de Source0: https://github.com/thliebig/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM AppCSXCAD-vtk.patch -- Fix build with VTK 6.3 Patch1: AppCSXCAD-vtk.patch BuildRequires: CSXCAD-devel BuildRequires: QCSXCAD-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: tinyxml-devel BuildRequires: vtk-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(xt) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Minimal GUI Application using the QCSXCAD library. %prep %setup -q %patch1 -p1 %build %cmake make %{?_smp_mflags} %install %cmake_install %files %defattr(-,root,root,-) %doc COPYING README %{_bindir}/* %changelog ++ AppCSXCAD-vtk.patch ++ diff --git a/AppCSXCAD.pro b/AppCSXCAD.pro deleted file mode 100644 index 0297f82..000 --- a/AppCSXCAD.pro +++ /dev/null @@ -1,111 +0,0 @@ -TEMPLATE = app -TARGET = AppCSXCAD -CONFIG += debug_and_release - -VERSION = 0.2.0 - -# add git revision -GITREV = $$system(git describe --tags) -isEmpty(GITREV):GITREV=$$VERSION -DEFINES += GIT_VERSION=\\\"$$GITREV\\\" - -MOC_DIR = moc -OBJECTS_DIR = obj -QT += core gui xml -greaterThan(QT_MAJOR_VERSION, 4):QT+=widgets - -# remove unnecessary webkit define -DEFINES -= QT_WEBKIT - -exists(localPaths.pri) { -include(localPaths.pri) -} - -win32 { -isEmpty(WIN32_LIB_ROOT) { -WIN32_LIB_ROOT = .. -} - -#CSXCAD -isEmpty(CSXCAD_ROOT) { -CSXCAD_ROOT = $$WIN32_LIB_ROOT/CSXCAD -} -INCLUDEPATH += $$CSXCAD_ROOT/include/CSXCAD -LIBS += -L$$CSXCAD_ROOT/lib -lCSXCAD0 - -#QCSXCAD -isEmpty(QCSXCAD_ROOT) { -QCSXCAD_ROOT = $$WIN32_LIB_ROOT/QCSXCAD -} -INCLUDEPATH += $$QCSXCAD_ROOT/include/QCSXCAD -LIBS += -L$$QCSXCAD_ROOT/lib -lQCSXCAD0 -} - -unix { -#CSXCAD -isEmpty(CSXCAD_ROOT) { -CSXCAD_ROOT = /usr -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$CSXCAD_ROOT/lib\' -} -INCLUDEPATH += $$CSXCAD_ROOT/include/CSXCAD -LIBS += -L$$CSXCAD_ROOT/lib -lCSXCAD - -#QCSXCAD -isEmpty(QCSXCAD_ROOT) { -QCSXCAD_ROOT = /usr -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$QCSXCAD_ROOT/lib\' -} -INCLUDEPATH += $$QCSXCAD_ROOT/include/QCSXCAD -LIBS += -L$$QCSXCAD_ROOT/lib -lQCSXCAD - -#vtk -isEmpty(VTK_LIBRARYPATH) { -#unnecessary by default -} else { -QMAKE_LFLAGS += \'-Wl,-rpath,$$VTK_LIBRARYPATH\' -} -} - -HEADERS += AppCSXCAD.h -SOURCES += AppCSXCAD.cpp \ -main.cpp -FORMS += -RESOURCES += - -QMAKE_CXXFLAGS_DEBUG = -O0 -g - - - - -# -# create tar file -# -tarball.target = tarball -tarball.commands = git archive --format=tar --prefix=AppCSXCAD-$$VERSION/ HEAD | bzip2 > AppCSXCAD-$${VERSION}.tar.bz2 - -QMAKE_EXTRA_TARGETS += tarball - - -# -# INSTALL -#