Package camotics: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | Name: camotics Version: 1.2.0 Release: alt1 Summary: Open-Source Simulation and Computer Aided Machining - A 3-axis CNC GCode simulator License: GPLv2+ and LGPL2.1 Group: Engineering Url: https://github.com/CauldronDevelopmentLLC/CAMotics Packager: Anton Midyukov <antohami@altlinux.org> Source: %name-%version.tar # libv8-3.14-devel cannot be compiled for aarch64 ExcludeArch: aarch64 BuildRequires: gcc-c++ BuildRequires: scons BuildRequires: boost-filesystem-devel BuildRequires: boost-program_options-devel BuildRequires: boost-interprocess-devel BuildRequires: libcairo-devel BuildRequires: qt5-base-devel BuildRequires: qt5-websockets-devel BuildRequires: qt5-tools BuildRequires: bzlib-devel BuildRequires: libsqlite3-devel BuildRequires: libexpat-devel BuildRequires: libv8-3.14-devel BuildRequires: libevent-devel BuildRequires: python-module-simplejson BuildRequires: libssl-devel BuildRequires: libre2-devel BuildRequires: zlib-devel BuildRequires: ImageMagick-tools desktop-file-utils BuildRequires: chrpath Requires: %name-data = %EVR %description CAMotics is an Open-Source software which can simulate 3-axis NC machining. It is a fast, flexible and user friendly simulation software for the DIY and Open-Source community. CAMotics works on Linux, OS-X and Windows. At home manufacturing is one of the next big technology revolutions. Much like the PC was 30 years ago. There have been major advances in desktop 3D printing yet uptake of desktop CNCs has lagged depsite the availability of cheap CNC machines. One of the major reasons for this is a lack of Open-Source simulation and CAM software. CAM and NC machine simulation present some very difficult programming problems, as is evidenced by 30 years of academic papers on these topics. Whereas, 3D printing simulation and tool path generation are much easier. Such software is essential to using a CNC. Being able to simulate is a critical part of creating CNC tool paths. Programming a CNC with out a simulator is cutting with out measuring; it s both dangerous and expensive. With CAMotics you can preview the results of your cutting operation before you fire up your machine. This will save you time and money and open up a world of creative possibilities by allowing you to rapidly visualize and improve upon designs with out wasting material or breaking tools. %package data Summary: Data files for %name Group: Engineering Buildarch: noarch %description data Data files for %name %prep %setup %build export QT5DIR=%_includedir/qt5 scons -C cbang %_smp_mflags scons %_smp_mflags %install scons install install_prefix=%buildroot%prefix #Install missing data files mkdir -p %buildroot%_datadir/%name cp -r tpl_lib %buildroot%_datadir/%name #Install examples mkdir -p %buildroot%_docdir/%name cp -r examples %buildroot%_docdir/%name #Install and fixing desktop files install -pD -m644 CAMotics.desktop %buildroot%_desktopdir/CAMotics.desktop desktop-file-install --dir %buildroot%_desktopdir \ --remove-key=Encoding \ --set-icon=camotics \ --remove-category=Science \ --add-category=Development \ --add-category=Engineering \ %buildroot%_desktopdir/CAMotics.desktop #Convert and install images files for x in 16 32 48; do mkdir -p %buildroot%_iconsdir/hicolor/$x'x'$x/apps/ convert images/camotics.png -resize $x'x'$x %buildroot/%_iconsdir/hicolor/$x'x'$x/apps/camotics.png done # fix RPATH chrpath -d %buildroot%_bindir/* %files %_bindir/* %_liconsdir/* %_niconsdir/* %_miconsdir/* %_desktopdir/CAMotics.desktop %files data %_docdir/%name %_datadir/%name %changelog * Mon Apr 15 2019 Anton Midyukov <antohami@altlinux.org> 1.2.0-alt1 - New version 1.2.0 - build with qt5 * Thu Jan 03 2019 Anton Midyukov <antohami@altlinux.org> 1.1.1-alt1.4 - rebuild with libv8-3.14 * Sat Sep 15 2018 Anton Midyukov <antohami@altlinux.org> 1.1.1-alt1.3 - rebuilt with openssl-1.1 - exclusive arch %ix86 x86_64 * Thu May 31 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.1.1-alt1.2 - NMU: rebuilt with boost-1.67.0 * Fri Apr 27 2018 Anton Midyukov <antohami@altlinux.org> 1.1.1-alt1.1 - Rebuilt with boost 1.66 * Sun Jul 30 2017 Anton Midyukov <antohami@altlinux.org> 1.1.1-alt1 - New version 1.1.1 - Fix desktop categories. * Wed Feb 08 2017 Anton Midyukov <antohami@altlinux.org> 1.1.0-alt1 - New version 1.1.0 * Sun Jan 29 2017 Anton Midyukov <antohami@altlinux.org> 1.0.6-alt1.20170106.1 - Initial build for ALT Linux Sisyphus (Closes: 33041). |