]> git.pld-linux.org Git - packages/autoq3d.git/blame - autoq3d.spec
- litle cleaning, extended summary and description
[packages/autoq3d.git] / autoq3d.spec
CommitLineData
2107c340 1Summary: autoq3d - complete 3D modeling application for computing aided drafting in three dimensions
d96e2b0f 2Summary(pl): autoq3d
3Name: AutoQ3D
4Version: 1.20
5Release: 0.1
6License: GPL
7Group: Applications
8Source0: http://dl.sourceforge.net/autoq3d/%{name}-v%{version}sourceLinux.zip
9# Source0-md5: cccd22e1c068651c8ad7c0831acd2aba
2107c340 10#Patch0: %{name}-DESTDIR.patch
2f6f6883 11URL: http://autoq3d.ecuadra.com/
12BuildRequires: QtGui-devel
13BuildRequires: Mesa-libGL-devel
005d941d 14BuildRequires: QtOpenGL-devel
15BuildRequires: qt4-build
d96e2b0f 16#BuildRequires: libtool
d96e2b0f 17
18%description
2107c340 19autoq3d - complete 3D modeling application for computing aided
20drafting in three dimensions.
d96e2b0f 21
22%description -l pl
23
d96e2b0f 24%prep
25%setup -q -n %{name}
d96e2b0f 26
27%build
60e53529 28QTDIR=/usr; export QTDIR
2f6f6883 29/usr/bin/qmake -o Makefile AutoQ3D.pro
30
31%{__make} \
32 CFLAGS="%{rpmcflags}" \
33 LDFLAGS="%{rpmldflags}"
d96e2b0f 34
35%install
36rm -rf $RPM_BUILD_ROOT
37# create directories if necessary
38#install -d $RPM_BUILD_ROOT
39#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
d96e2b0f 47%if %{with ldconfig}
48%post -p /sbin/ldconfig
49%postun -p /sbin/ldconfig
50%endif
51
52%if %{with initscript}
53%post init
54/sbin/chkconfig --add %{name}
55%service %{name} restart
56
57%preun init
58if [ "$1" = "0" ]; then
59 %service -q %{name} stop
60 /sbin/chkconfig --del %{name}
61fi
62%endif
63
64%files
65%defattr(644,root,root,755)
66%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
67
68%if 0
69# if _sysconfdir != /etc:
70#%%dir %{_sysconfdir}
71%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
72%attr(755,root,root) %{_bindir}/*
73%{_datadir}/%{name}
74%endif
75
76# initscript and its config
77%if %{with initscript}
78%attr(754,root,root) /etc/rc.d/init.d/%{name}
79%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
80%endif
81
82#%{_examplesdir}/%{name}-%{version}
This page took 0.122533 seconds and 4 git commands to generate.