[gqrx] Initial import (#1006104)

Josh Bressers bressers at fedoraproject.org
Fri Feb 21 21:06:42 UTC 2014


commit 537994cc848a9119eb0098bfd50837ccfa140f77
Author: bress <josh at bress.net>
Date:   Fri Feb 21 15:07:07 2014 -0600

    Initial import (#1006104)

 .gitignore        |    1 +
 gqrx-package.diff |   36 +++++++++++++++++++++++++++++++++++
 gqrx.spec         |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 4 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..43733c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gqrx-2.2.0-src.tar.gz
diff --git a/gqrx-package.diff b/gqrx-package.diff
new file mode 100644
index 0000000..566fcb5
--- /dev/null
+++ b/gqrx-package.diff
@@ -0,0 +1,36 @@
+diff -urNp gqrx-2.2.0-orig/gqrx.desktop gqrx-2.2.0/gqrx.desktop
+--- gqrx-2.2.0-orig/gqrx.desktop	1969-12-31 18:00:00.000000000 -0600
++++ gqrx-2.2.0/gqrx.desktop	2014-02-08 20:03:05.020707944 -0600
+@@ -0,0 +1,9 @@
++[Desktop Entry]
++Name=gqrx
++GenericName=gqrx
++Comment=Gqrx software defined radio receiver
++Exec=gqrx
++Icon=/usr/share/gqrx/scope.svg
++Terminal=false
++Type=Application
++Categories=Science;
+diff -urNp gqrx-2.2.0-orig/gqrx.pro gqrx-2.2.0/gqrx.pro
+--- gqrx-2.2.0-orig/gqrx.pro	2013-08-08 14:52:05.000000000 -0500
++++ gqrx-2.2.0/gqrx.pro	2014-02-08 20:03:33.152674870 -0600
+@@ -45,8 +45,18 @@ isEmpty(PREFIX) {
+     PREFIX=/usr/local
+ }
+ 
++icon.path = $$PREFIX/share/gqrx
++icon.files += icons/scope.svg
++
++docs.path = $$PREFIX/share/doc/gqrx
++docs.files += COPYING
++docs.files += README.md
++docs.files += news.txt
++
+ target.path  = $$PREFIX/bin
+-INSTALLS    += target 
++INSTALLS    += target
++INSTALLS    += icon
++INSTALLS    += docs
+ 
+ #CONFIG += debug
+ 
diff --git a/gqrx.spec b/gqrx.spec
new file mode 100644
index 0000000..c175176
--- /dev/null
+++ b/gqrx.spec
@@ -0,0 +1,54 @@
+Name:           gqrx
+Version:        2.2.0
+Release:        4%{?dist}
+Summary:        Software defined radio receiver powered by GNU Radio and Qt
+
+License:        GPLv3+ and GPLv2+ and BSD
+URL:            http://gqrx.dk/
+Source0:        %{name}-%{version}-src.tar.gz
+
+Patch0:         gqrx-package.diff
+
+BuildRequires:  gnuradio-devel qt-devel pulseaudio-libs-devel git
+BuildRequires:  gr-osmosdr-devel boost-devel desktop-file-utils
+
+%description
+Gqrx is a software defined radio receiver powered by the GNU Radio SDR
+framework and the Qt graphical toolkit.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .package
+
+%build
+%qmake_qt4 PREFIX=%{_prefix}
+make INSTALL_ROOT=%{buildroot} %{?_smp_mflags}
+
+
+%install
+%make_install INSTALL_ROOT=%{buildroot}
+desktop-file-install                                    \
+--dir=${RPM_BUILD_ROOT}%{_datadir}/applications gqrx.desktop
+
+
+%files
+%{_bindir}/*
+%{_datadir}/applications/gqrx.desktop
+%{_datadir}/gqrx/scope.svg
+%doc %{_pkgdocdir}
+
+
+
+%changelog
+* Thu Feb 20 2014 Josh Bressers <bressers at redhat.com> 2.2.0-4
+- Fix the License field
+
+* Sat Feb 08 2014 Josh Bressers <bressers at redhat.com> 2.2.0-3
+- Fix some issues noted in bug 1006104
+
+* Fri Feb 07 2014 Josh Bressers <bressers at redhat.com> 2.2.0-2
+- Package version 2.2.0
+
+* Mon Sep 9 2013 Josh Bressers <bressers at redhat.com> 2.1_git_298_g0e78-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..5a1d4db 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ff771b9c31ee17f704859398362b8cc0  gqrx-2.2.0-src.tar.gz


More information about the scm-commits mailing list