[packages/gqrx] - rel 1

arekm arekm at pld-linux.org
Sat Jan 11 13:30:42 CET 2014


commit 195207e166bda96e5d22dc5245eac7b99ae2e8b0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Jan 11 13:30:40 2014 +0100

    - rel 1

 gqrx.spec | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)
---
diff --git a/gqrx.spec b/gqrx.spec
index 344a116..9f26a68 100644
--- a/gqrx.spec
+++ b/gqrx.spec
@@ -1,17 +1,21 @@
 Summary:	Software defined radio receiver powered by GNU Radio and Qt
 Name:		gqrx
 Version:	2.2.0
-Release:	0.1
+Release:	1
 License:	GPL v3+
-Group:		X11/Applications/Engineering
+Group:		Applications/Engineering
 URL:		http://gqrx.dk/
 Source0:	http://downloads.sourceforge.net/gqrx/%{name}-%{version}-src.tar.gz
 # Source0-md5:	ff771b9c31ee17f704859398362b8cc0
+BuildRequires:	QtCore-devel
+BuildRequires:	QtGui-devel
+BuildRequires:	QtSvg-devel
 BuildRequires:	boost-devel
 BuildRequires:	gnuradio-devel >= 3.7
 BuildRequires:	gr-osmosdr-devel
 BuildRequires:	pulseaudio-devel
-BuildRequires:	qt-devel
+BuildRequires:	qt4-qmake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Gqrx is a software defined radio receiver powered by the GNU Radio SDR
@@ -21,15 +25,17 @@ framework and the Qt graphical toolkit.
 %setup -q
 
 %build
-qmake-qt4 gqrx.pro
-
-%{__make} \
-	INSTALL_ROOT=$RPM_BUILD_ROOT
+install -d build
+cd build
+qmake-qt4 \
+	PREFIX=%{_prefix} \
+	../gqrx.pro
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
 %clean
@@ -37,4 +43,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{_bindir}/*
+%doc README.md
+%attr(755,root,root) %{_bindir}/gqrx
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gqrx.git/commitdiff/195207e166bda96e5d22dc5245eac7b99ae2e8b0



More information about the pld-cvs-commit mailing list