]>
Commit | Line | Data |
---|---|---|
1 | Summary: autoq3d - complete 3D modeling application for computing aided drafting in three dimensions | |
2 | Summary(pl.UTF-8): autoq3d - pełna aplikacja CAD do modelowania 3D | |
3 | Name: AutoQ3D | |
4 | Version: 1.20 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://dl.sourceforge.net/autoq3d/%{name}-v%{version}sourceLinux.zip | |
9 | # Source0-md5: cccd22e1c068651c8ad7c0831acd2aba | |
10 | #Patch0: %{name}-DESTDIR.patch | |
11 | URL: http://autoq3d.ecuadra.com/ | |
12 | BuildRequires: Mesa-libGL-devel | |
13 | BuildRequires: QtGui-devel | |
14 | BuildRequires: QtOpenGL-devel | |
15 | BuildRequires: qt4-build | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | autoq3d - complete 3D modeling application for computing aided | |
20 | drafting in three dimensions. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | autoq3d to pełna aplikacja CAD do modelowania 3D. | |
24 | ||
25 | %prep | |
26 | %setup -q -n %{name} | |
27 | ||
28 | %build | |
29 | QTDIR=/usr; export QTDIR | |
30 | qt4-qmake -o Makefile AutoQ3D.pro | |
31 | ||
32 | %{__make} \ | |
33 | CFLAGS="%{rpmcflags}" \ | |
34 | LDFLAGS="%{rpmldflags}" | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %if %{with ldconfig} | |
46 | %post -p /sbin/ldconfig | |
47 | %postun -p /sbin/ldconfig | |
48 | %endif | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
53 | ||
54 | %if 0 | |
55 | # if _sysconfdir != /etc: | |
56 | #%%dir %{_sysconfdir} | |
57 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* | |
58 | %attr(755,root,root) %{_bindir}/* | |
59 | %{_datadir}/%{name} | |
60 | %endif |