Debian Codegraph @

robocut.spec

raw
1 # norootforbuild
2
3 Name: robocut
4 Group: Productivity/Graphics/Other
5 Version: 1.0.10
6 Release: 1
7 License: GPL-3.0+
8 Summary: A program to cut SVG with CC220-20 and Silhouette SD/Cameo
9 Autoreqprov: on
10 # http://custom.ultramini.net/robocut-compatible-with-silhouette-cameo/
11 URL: https://github.com/nosliwneb/robocut
12 Source0: robocut-%{version}_1c019e7fad.zip
13 Source1: opensuse_chameleon_silhouette_x6.svg
14 BuildRoot:%{_tmppath}/%{name}-%{version}-build
15 BuildRequires: libqt4-devel libusb-1_0-devel unzip
16 # sudo apt-get install libqt4-dev libusb-1.0-0-dev git-core
17
18 %description
19 Robocut is a simple graphical program to allow you to cut graphics with a
20 Graphtec Craft Robo 2 Vinyl Cutter model CC220-20 and Sihouette SD, among other devices.
21
22 It can read SVG files produced by Inkscape, but it should also work with other
23 SVG files. Unlike the official programs, Robocut can run on Linux and probably
24 Mac OS X.
25
26 Inside the “examples” folder there is also a registration marks template fully
27 functional (yes, the Silhouette Cameo is able to recognize registration marks
28 also under Robocut, just put the page with the arrow pointing toward the
29 plotter and align the sheet with the top left corner of the cutting mat).
30
31 Authors
32
33 Tim Hutt, Markus Schulz
34
35 %prep
36 %setup -n %{name}-master
37
38 # opensuse_chameleon_silhouette_x6.svg
39 cp %{SOURCE1} .
40
41 %build
42 qmake
43 make
44
45 %install
46 install -D robocut $RPM_BUILD_ROOT/usr/bin/robocut
47 install -m 0644 -D images/robocut.xpm $RPM_BUILD_ROOT/usr/share/pixmaps/robocut.xpm
48 install -d $RPM_BUILD_ROOT/usr/share/robocut/examples
49 install -m 0644 *.svg examples/* $RPM_BUILD_ROOT/usr/share/robocut/examples
50 install -m 0644 -D manfile.txt $RPM_BUILD_ROOT/usr/share/man/man1/robocut.1
51
52 # cleanup
53
54 %files
55 %defattr(-,root,root)
56 %doc readme.txt changelog
57
58 %_bindir/*
59 %_datadir/pixmaps/*
60 %dir %_datadir/robocut
61 %_datadir/robocut/*
62 %_mandir/man1/*
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %changelog