SPECS: autoq3d.spec - pl, more cleaning

qboosh qboosh at pld-linux.org
Wed Apr 26 20:35:29 CEST 2006


Author: qboosh                       Date: Wed Apr 26 18:35:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, more cleaning

---- Files affected:
SPECS:
   autoq3d.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/autoq3d.spec
diff -u SPECS/autoq3d.spec:1.5 SPECS/autoq3d.spec:1.6
--- SPECS/autoq3d.spec:1.5	Mon Apr 24 15:46:34 2006
+++ SPECS/autoq3d.spec	Wed Apr 26 20:35:23 2006
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 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
@@ -10,24 +10,25 @@
 # 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}" \
@@ -35,9 +36,6 @@
 
 %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
@@ -50,18 +48,6 @@
 %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
@@ -74,20 +60,15 @@
 %{_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}
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/04/26 18:35:23  qboosh
+- pl, more cleaning
+
 Revision 1.5  2006/04/24 13:46:34  spider
 - litle cleaning, extended summary and description
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/autoq3d.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list