packages: automoc4/automoc4.spec - added URL and real descriptions - pass Q...

qboosh qboosh at pld-linux.org
Sun Nov 14 10:02:06 CET 2010


Author: qboosh                       Date: Sun Nov 14 09:02:06 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added URL and real descriptions
- pass QT_QMAKE_EXECUTABLE to find proper qmake
- release 2

---- Files affected:
packages/automoc4:
   automoc4.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/automoc4/automoc4.spec
diff -u packages/automoc4/automoc4.spec:1.11 packages/automoc4/automoc4.spec:1.12
--- packages/automoc4/automoc4.spec:1.11	Wed Feb  3 10:33:50 2010
+++ packages/automoc4/automoc4.spec	Sun Nov 14 10:01:58 2010
@@ -2,15 +2,16 @@
 
 %define		qtver	4.4.1
 
-Summary:	automoc4
-Summary(pl.UTF-8):	automoc4
+Summary:	Automoc4 - automatically adding Qt moc files rules for CMake
+Summary(pl.UTF-8):	Automoc4 - automatyczne dodawanie reguł dla plików Qt moc do CMake
 Name:		automoc4
 Version:	0.9.88
-Release:	1
-License:	GPL v2
-Group:		X11/Applications
-Source0:	ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Release:	2
+License:	BSD
+Group:		Development/Tools
+Source0:	ftp://ftp.kde.org/pub/kde/stable/automoc4/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5:	91bf517cb940109180ecd07bc90c69ec
+URL:		http://techbase.kde.org/Development/Tools/Automoc4
 BuildRequires:	QtCore-devel >= %{qtver}
 BuildRequires:	cmake >= 2.6.1-2
 BuildRequires:	qt4-build >= %{qtver}
@@ -20,10 +21,13 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-automoc4.
+automoc4 is a tool to add rules for generating Qt moc files
+automatically to projects that use CMake as the buildsystem.
 
 %description -l pl.UTF-8
-automoc4.
+automoc4 to narzędzie dodające automatycznie reguły do tworzenia
+plików Qt moc do projektów wykorzystujących CMake jako swojego
+systemu budowania.
 
 %prep
 %setup -q
@@ -31,12 +35,15 @@
 %build
 install -d build
 cd build
-%cmake \
+%cmake .. \
+	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+	-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DCMAKE_VERBOSE_MAKEFILE=ON \
 %if "%{_lib}" != "lib"
 	-DLIB_SUFFIX=64 \
 %endif
-	../
+	-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
 
 %{__make}
 
@@ -65,6 +72,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/11/14 09:01:58  qboosh
+- added URL and real descriptions
+- pass QT_QMAKE_EXECUTABLE to find proper qmake
+- release 2
+
 Revision 1.11  2010/02/03 09:33:50  shadzik
 - unify qtver macro
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/automoc4/automoc4.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list