]> git.pld-linux.org Git - packages/openscad.git/commitdiff
- rel 1; good enough auto/th/openscad-2015.03.1-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 14 Jun 2015 21:44:25 +0000 (23:44 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 14 Jun 2015 21:44:25 +0000 (23:44 +0200)
openscad.spec

index 1e8029cd1915387baccb882e6731e9f84e02fa3e..0797bc13c38b1de589fead78dcf4c60ba2d16d15 100644 (file)
@@ -1,12 +1,15 @@
 #
 # Conditional build:
 %bcond_with    tests           # build with tests
+%bcond_with    qt5
+
+%define        qtver   %{?with_qt5:5}%{!?with_qt5:4}
 
 %define        upversion 2015.03-1
 Summary:       The Programmers Solid 3D CAD Modeller
 Name:          openscad
 Version:       2015.03.1
-Release:       0.1
+Release:       1
 # COPYING contains a linking exception for CGAL
 # Appdata file is CC0
 # Examples are CC0
@@ -36,8 +39,8 @@ BuildRequires:        opencsg-devel >= 1.3.2
 BuildRequires: polyclipping-devel >= 6.1.3
 BuildRequires: procps
 BuildRequires: python
-BuildRequires: qscintilla2-devel
-BuildRequires: qt4-build >= 4.4
+BuildRequires: qscintilla2-qt%{qtver}-devel
+BuildRequires: qt%{qtver}-build >= 4.4
 BuildRequires: xorg-xserver-Xvfb
 Requires:      font(liberationmono)
 Requires:      font(liberationsans)
@@ -139,7 +142,7 @@ expect some API changes, however many things are already working.
 rm -r src/polyclipping
 
 %build
-qmake-qt4 \
+qmake-qt%{qtver} \
        PREFIX=%{_prefix}
 %{__make}
 
This page took 0.117527 seconds and 4 git commands to generate.