]> git.pld-linux.org Git - SPECS.git/blob - vec2web.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / vec2web.spec
1 Summary:        Vector to web graphics converter
2 Summary(pl.UTF-8):      Konwerter grafiki wektorowej do bitmapowej
3 Name:           vec2web
4 Version:        2.0.4.7
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Graphics
8 #Source0-download: http://www.ribbonsoft.com/vec2web_downloads.html
9 Source0:        http://www.ribbonsoft.com/archives/vec2web/%{name}-%{version}-1.src.tar.gz
10 # Source0-md5:  7823c32dc991adfc80b6801b59e7dc8d
11 URL:            http://www.ribbonsoft.com/vec2web.html
12 BuildRequires:  qmake
13 BuildRequires:  qt-devel >= 3
14 BuildRequires:  sed >= 4.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 vec2web is a small tool to convert vector drawings (currently DXF)
19 to graphics which can be used on the web (currently PNG). However,
20 vec2web can also convert DXF drawings to PS (PostScript) and WBMP
21 (wireless bitmap) or display them in an X11 or Windows window.
22
23 %description -l pl.UTF-8
24 vec2web to małe narzędzie do konwersji rysunków wektorowych (obecnie
25 DXF) do grafiki nadającej się do użycia na stronach WWW (obecnie PNG).
26 vec2web potrafi także konwersjować rysunki DXF do formatu PS
27 (PostScript) i WBMP (wireless bitmap) oraz wyświetlać je w oknie X11
28 lub Windows.
29
30 %prep
31 %setup -q -n %{name}-%{version}-1.src
32
33 sed -i -e 's/ debug / release /' vec2web/src/vec2web.pro
34
35 %build
36 cd dxflib
37 %configure
38 %{__make} \
39         CXX="%{__cc}"
40 cd ../qcadlib
41 %{__make} prepare
42 cd src
43 qmake qcadlib.pro \
44         QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
45 %{__make} \
46         QTDIR=/usr
47 cd ../../vec2web/src
48 qmake vec2web.pro \
49         QMAKE_LINK="%{__cxx}" \
50         QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
51         QMAKE_LFLAGS_RELEASE="%{rpmldflags}" \
52         QMAKE_RPATH=
53 %{__make} \
54         QTDIR=/usr
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 install -D vec2web/vec2web $RPM_BUILD_ROOT%{_bindir}/vec2web
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc vec2web/{AUTHORS,CHANGES,FAQ,README}
67 %attr(755,root,root) %{_bindir}/vec2web
This page took 0.223119 seconds and 3 git commands to generate.