Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
qthid40
qthid40.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qthid40.spec of Package qthid40
# # spec file for package qthid # # Copyright (c) 2013 Wojciech Kazubski, wk@ire.pw.edu.pl # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #norootforbuild %define gname qthid Name: qthid40 Version: 4.0 Release: 3.1 Summary: Controller application for Funcube Dongle Pro License: GPL-3.0+ %if 0%{?suse_version} Group: Productivity/Hamradio/Other %endif %if 0%{?fedora} Group: Applications/Engineering %endif URL: http://www.oz9aec.net/index.php/funcube-dongle/qthid-fcd-controller Source: http://downloads.sourceforge.net/project/qthid/%{version}/%{gname}-%{version}-source.tar.gz Source1: %{gname}.desktop BuildRoot: %{_tmppath}/build-%{gname}-%{version} BuildRequires: ImageMagick BuildRequires: libudev-devel %if 0%{?suse_version} BuildRequires: libqt4-devel BuildRequires: update-desktop-files hicolor-icon-theme %endif %if 0%{?fedora} BuildRequires: qt-devel > 4 BuildRequires: gcc-c++ BuildRequires: desktop-file-utils %if 0%{?fedora} >= 24 BuildRequires: ghostscript-core %endif %endif Requires: funcube-udev-rules Conflicts: qthid %description Qthid is simple cross platform controller application for the Funcube Dongle Pro software defined radio receivers. It is written using the HID API library and the Qt GUI toolkit. It is a fork and evolution of the qthid002.zip package by Howard Long, G6LVB, available on the Funcube Dongle download page. %prep %setup -q -n %{gname}-%{version}-source %build %if 0%{?suse_version} qmake %endif %if 0%{?fedora} qmake-qt4 %endif make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} cp qthid %{buildroot}%{_bindir} #create desktop file %if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/applications cp %{SOURCE1} %{buildroot}%{_datadir}/applications %suse_update_desktop_file %{gname} %endif %if 0%{?fedora} desktop-file-install \ --vendor= \ --dir %{buildroot}%{_datadir}/applications \ --add-category Qt \ %{SOURCE1} %endif #create icon cd images convert %{gname}.ico %{gname}.png mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/24x24/apps mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps cp %{gname}-0.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{gname}.png cp %{gname}-1.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{gname}.png cp %{gname}-2.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{gname}.png cp %{gname}-3.png %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/%{gname}.png cp %{gname}-4.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{gname}.png cd .. %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS.txt LICENSE.txt NEWS.txt README.txt %{_bindir}/%{gname} %{_datadir}/applications/%{gname}.desktop %{_datadir}/icons/hicolor/*x*/apps/%{gname}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor