]> git.pld-linux.org Git - packages/autoq3d.git/blobdiff - autoq3d.spec
- pl, more cleaning
[packages/autoq3d.git] / autoq3d.spec
index 30f37611e6f0f3f5aeac020b049ab72fef09444b..690b7e14c4e40f0f6ea8c0c98b30e8fa3cc03129 100644 (file)
@@ -1,5 +1,5 @@
 Summary:       autoq3d - complete 3D modeling application for computing aided drafting in three dimensions
-Summary(pl):   autoq3d
+Summary(pl):   autoq3d - pe³na aplikacja CAD do modelowania 3D
 Name:          AutoQ3D
 Version:       1.20
 Release:       0.1
@@ -9,24 +9,25 @@ Source0:      http://dl.sourceforge.net/autoq3d/%{name}-v%{version}sourceLinux.zip
 # Source0-md5: cccd22e1c068651c8ad7c0831acd2aba
 #Patch0:       %{name}-DESTDIR.patch
 URL:           http://autoq3d.ecuadra.com/
-BuildRequires: QtGui-devel
 BuildRequires: Mesa-libGL-devel
+BuildRequires: QtGui-devel
 BuildRequires: QtOpenGL-devel
 BuildRequires: qt4-build
-#BuildRequires:        libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 autoq3d - complete 3D modeling application for computing aided
 drafting in three dimensions.
 
 %description -l pl
+autoq3d to pe³na aplikacja CAD do modelowania 3D.
 
 %prep
 %setup -q -n %{name}
 
 %build
 QTDIR=/usr; export QTDIR
-/usr/bin/qmake -o Makefile AutoQ3D.pro
+qt4-qmake -o Makefile AutoQ3D.pro
 
 %{__make} \
        CFLAGS="%{rpmcflags}" \
@@ -34,9 +35,6 @@ QTDIR=/usr; export QTDIR
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -49,18 +47,6 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p /sbin/ldconfig
 %endif
 
-%if %{with initscript}
-%post init
-/sbin/chkconfig --add %{name}
-%service %{name} restart
-
-%preun init
-if [ "$1" = "0" ]; then
-       %service -q %{name} stop
-       /sbin/chkconfig --del %{name}
-fi
-%endif
-
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
@@ -72,11 +58,3 @@ fi
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %endif
-
-# initscript and its config
-%if %{with initscript}
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
-%endif
-
-#%{_examplesdir}/%{name}-%{version}
This page took 0.047834 seconds and 4 git commands to generate.