2014-01-04 22:02:03 +00:00
|
|
|
#
|
|
|
|
# spec file for package qsstv
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
Name: qsstv
|
|
|
|
Summary: Qt-based slow-scan TV and fax
|
2014-01-04 22:02:03 +00:00
|
|
|
Version: 8.1.12
|
2012-12-16 20:53:10 +00:00
|
|
|
Release: 0
|
|
|
|
License: GPL-3.0
|
|
|
|
Group: Productivity/Hamradio/Other
|
|
|
|
Url: http://users.telenet.be/on4qz/qsstv/
|
2014-01-04 22:02:03 +00:00
|
|
|
Source: http://users.telenet.be/on4qz/qsstv/downloads/%{name}_%{version}.tar.gz
|
2012-12-16 20:53:10 +00:00
|
|
|
Source1: qsstv.desktop
|
|
|
|
Source2: qsstv.1
|
|
|
|
BuildRequires: fftw3-devel
|
2014-01-04 22:02:03 +00:00
|
|
|
BuildRequires: libjasper-devel
|
2012-12-16 20:53:10 +00:00
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: hamlib-devel
|
|
|
|
BuildRequires: libqwt5-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRoot: %{_tmppath}/build-root-%{name}
|
2007-06-22 06:21:50 +00:00
|
|
|
|
|
|
|
%description
|
2012-12-16 20:53:10 +00:00
|
|
|
Qsstv is a program for receiving slow-scan television and fax. These are
|
|
|
|
modes used by hamradio operators. Qsstv uses a soundcard to send and
|
|
|
|
receive images.
|
2007-06-22 06:21:50 +00:00
|
|
|
|
|
|
|
%prep
|
2012-12-16 20:53:10 +00:00
|
|
|
%setup -q -n %{name}_%{version}
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2014-01-04 22:02:03 +00:00
|
|
|
# Correct documentation directory
|
|
|
|
#sed -i 's|/usr/share/doc/$$TARGET|/usr/share/doc/packages/$$TARGET|g' %{name}_8.pro
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
%build
|
2014-01-04 22:02:03 +00:00
|
|
|
qmake -makefile %{name}_8.pro PREFIX=%{_prefix} QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags"
|
2012-12-16 20:53:10 +00:00
|
|
|
%__make %{?_smp_mflags}
|
2007-06-22 06:21:50 +00:00
|
|
|
|
|
|
|
%install
|
2014-01-04 22:02:03 +00:00
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp -f %{name} %{buildroot}%{_bindir}/%{name}
|
2012-12-16 20:53:10 +00:00
|
|
|
# Remove redundant documentation files
|
2014-01-04 22:02:03 +00:00
|
|
|
#%fdupes -s src/documentation/html/*
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
# Make suse_update_desktop_file be able to find the qsstv icon
|
|
|
|
cp src/icons/%{name}.png %_sourcedir
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
# Install man page borrowed from Debian
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
install -pm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
%suse_update_desktop_file -i %{name}
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2012-12-16 20:53:10 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2014-01-04 22:02:03 +00:00
|
|
|
%doc COPYING
|
2012-12-16 20:53:10 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
2007-06-22 06:21:50 +00:00
|
|
|
|
2008-10-04 14:29:55 +00:00
|
|
|
%changelog
|