From 78e5fddf68f437489d013ab9e2d80c9445b7bca0 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 26 Apr 2006 18:35:23 +0000 Subject: [PATCH] - pl, more cleaning Changed files: autoq3d.spec -> 1.6 --- autoq3d.spec | 32 +++++--------------------------- 1 file changed, 5 insertions(+), 27 deletions(-) diff --git a/autoq3d.spec b/autoq3d.spec index 30f3761..690b7e1 100644 --- a/autoq3d.spec +++ b/autoq3d.spec @@ -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} -- 2.43.0