Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski:test
qvna
qvna.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qvna.spec of Package qvna
# # spec file for package qvna # # Copyright (c) 2016 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 Name: qvna Version: 0.9.3 Release: 1 Summary: VNA software HiQSDR License: GPL-3.0+ %if 0%{?suse_version} Group: Productivity/Hamradio/Other %endif %if 0%{?fedora} Group: Applications/Engineering %endif URL: http://dl2stg.de/stefan/hiqsdr/%{name}.html Source0: http://dl2stg.de/stefan/hiqsdr/files/%{name}-%{version}.tgz Source1: %{name}.desktop BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ImageMagick %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 %endif %description QVNA is a simple vector network analyser (VNA)-Software. %prep %setup -q #patch0 -p 1 %build %if 0%{?suse_version} qmake %{name}.pro %endif %if 0%{?fedora} qmake-qt4 %{name}.pro %endif make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_bindir} cp %{name} %{buildroot}%{_bindir} #install desktop file %if 0%{?suse_version} mkdir -p %{buildroot}%{_datadir}/applications cp %{SOURCE1} %{buildroot}%{_datadir}/applications %suse_update_desktop_file -r %{name} Internet HamRadio %endif %if 0%{?fedora} desktop-file-install \ --vendor= \ --dir %{buildroot}%{_datadir}/applications \ --add-category Qt \ %{SOURCE1} %endif #install icon convert qvna48.ico %{name}.png mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps cp %{name}.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS COPYING VERSION %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*x*/apps/%{name}.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