packages: qpxtool/qpxtool.spec, qpxtool/qpxtool-0.6.1-libata.txt (REMOVED), ...

gotar gotar at pld-linux.org
Thu Aug 26 02:05:14 CEST 2010


Author: gotar                        Date: Thu Aug 26 00:05:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- upgraded to Qt4-based 0.7.1_002

---- Files affected:
packages/qpxtool:
   qpxtool.spec (1.4 -> 1.5) , qpxtool-0.6.1-libata.txt (1.1 -> NONE)  (REMOVED), qpxtool-llh.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/qpxtool/qpxtool.spec
diff -u packages/qpxtool/qpxtool.spec:1.4 packages/qpxtool/qpxtool.spec:1.5
--- packages/qpxtool/qpxtool.spec:1.4	Tue Jun 16 18:40:41 2009
+++ packages/qpxtool/qpxtool.spec	Thu Aug 26 02:05:08 2010
@@ -1,22 +1,23 @@
 # $Revision$, $Date$
 #
 # TODO:
+#	- separate GUI from CLI and libs
 #	- devel subpackage if useful some day
 #
 Summary:	CD/DVD quality checker
 Summary(pl.UTF-8):	Tester jakości płyt CD/DVD
 Name:		qpxtool
-Version:	0.6.1
+Version:	0.7.1_002
 Release:	1
 License:	GPL v2
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/qpxtool/%{name}-%{version}.tar.bz2
-# Source0-md5:	4fa7ce8aa9c13aa2db0a8b5224acb906
-Patch0:		%{name}-llh.patch
-Patch1:		%{name}-0.6.1-libata.txt
+Source0:	http://downloads.sourceforge.net/qpxtool/%{name}-%{version}.tar.bz2
+# Source0-md5:	755321a0196b16d06857550aac74ff50
 URL:		http://qpxtool.sourceforge.net/
-BuildRequires:	qmake
-BuildRequires:	qt-devel
+BuildRequires:	QtGui-devel
+BuildRequires:	QtNetwork-devel
+BuildRequires:	qt4-linguist
+BuildRequires:	qt4-qmake
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,24 +34,20 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p0
+sed -e 's|lrelease|lrelease-qt4|' -i configure
 
 %build
-export QTDIR="%{_prefix}"
-export QMAKESPEC="linux-g++"
-%{__make} \
-	CFLAGS="%{rpmcflags}"
+./configure \
+	--prefix="%{_prefix}" \
+	%{?debug:enable-debug}
+export CXXFLAGS="%{rpmcflags}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	PREFIX="%{_prefix}" \
-	LIBDIR="%{_libdir}" \
-	MANDIR="%{_mandir}" \
-	QTDIR="%{_prefix}"
+%{__make} -j1 install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,10 +57,20 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README TODO slack-desc
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_mandir}/man8/*.8*
+%doc AUTHORS ChangeLog README SupportedDevices TODO slack-desc
+%attr(755,root,root) %{_bindir}/[cfqr]*
+%attr(755,root,root) %{_libdir}/libq*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libq*.so.0
+%attr(755,root,root) %{_libdir}/%{name}
+%attr(755,root,root) %{_sbindir}/pxfw
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/locale
+%lang(de) %{_datadir}/%{name}/locale/%{name}.de_DE.qm
+%lang(ru) %{_datadir}/%{name}/locale/%{name}.ru_RU.qm
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_mandir}/man1/[cfqr]*.1*
+%{_mandir}/man8/pxfw.8*
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -71,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/08/26 00:05:08  gotar
+- upgraded to Qt4-based 0.7.1_002
+
 Revision 1.4  2009/06/16 16:40:41  gotar
 - pass LIBDIR for x86_64
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qpxtool/qpxtool.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list