LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File dream.spec of Package dream (Project hamradio)

#
# spec file for package dream
#
 
Name:           dream
Version:        2.1.1
Release:        0
Summary:        Digital Radio Mondiale (DRM) software receiver
License:        GPL-2.0
Group:          Productivity/Hamradio/Other
Url:            http://drm.sourceforge.net/
Source:         http://downloads.sourceforge.net/project/drm/%{name}/%{version}/%{name}-%{version}-svn808.tar.gz
Source1:        dream.png
Patch0:         dream-2.1.1-opensuse-config-diffs.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  alsa-devel
BuildRequires:  fftw-devel
BuildRequires:  gcc-c++
BuildRequires:  gpsd-devel
BuildRequires:  hamlib-devel
BuildRequires:  libQtWebKit-devel
BuildRequires:  libopus-devel
BuildRequires:  libpcap-devel
BuildRequires:  libsndfile-devel
BuildRequires:  portaudio-devel
BuildRequires:  qt-devel
BuildRequires:  qwt-devel
BuildRequires:  speex-devel
BuildRequires:  update-desktop-files

%description
Digital Radio Mondiale (DRM) is the digital radio standard for
the long, medium and short wave ranges.

Dream is an open source software implementation of a DRM receiver.

%prep
%setup -q -n %{name}
%patch0 -p1

%build
qmake
make %{?_smp_mflags}

%install
make INSTALL_ROOT=%{buildroot} install

%suse_update_desktop_file -c dream Dream 'DRM software receiver' dream dream 'Network;HamRadio'

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README 
%{_bindir}/dream
%{_mandir}/man1/dream.1.gz
%{_datadir}/pixmaps/dream.png
%{_datadir}/applications/dream.desktop

%changelog