File kradio.spec of Package kradio

#
# spec file for package kradio (Version 1.0beta3b_20060920)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           kradio
BuildRequires:  flac-devel kdelibs3-devel libsndfile-devel lirc
License:        GPL v2 or later
Group:          Hardware/Radio
Summary:        Comfortable V4L and V4L2 Radio Application for KDE
Version:        1.0beta3b_20060920
Release:        104
Url:            http://kradio.sourceforge.net
Source0:        kradio-snapshot-2006-09-20.tar.bz2
# update the patch on every release
Patch0:         kradio.diff
Patch1:         kradio-x86-64.patch
Patch2:         kradio-gcc43.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
KRadio is a comfortable radio application for KDE with support for V4L
and V4L2 radio card drivers.

KRadio currently provides:

* V4L and V4L2 radio support

* Remote control support (LIRC)

* Alarms and sleep countdown

* Several GUI controls (Docking Menu, Station Quickbar, Radio
   Display)

* Timeshifter capability

* Recording capabilities (mp3, ogg/vorbis, wav, etc.)

* Extendable plug-in architecture

This package also includes a growing collection of station preset files
for many cities around the world contributed by KRadio users.



Authors:
--------
    Ernst Martin Witte <witte@kawo1.rwth-aachen.de>
    Marcus Camen <mcamen@mcamen.de>
    Klas Kalass <klas.kalass@gmx.de>
    Frank Schwanz <schwanz@fh-brandenburg.de>
    Zsolt Rizsanyi <rizsanyi@myrealbox.com>

%clean
rm -rf ${RPM_BUILD_ROOT}

%prep
%setup -q -n kradio-snapshot_2006_09_20
%patch0
%patch1 -p1
%patch2
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --without-gl
make

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%if %suse_version < 1010
%suse_update_desktop_file %name AudioVideo Tuner
%else
%suse_update_desktop_file -G "Radio Tuner" %name AudioVideo Tuner
%endif
%find_lang %name

%files -f %name.lang
%defattr(-,root,root)
/opt/kde3/bin/*
/opt/kde3/share/appl*/*/*.desktop
/opt/kde3/share/icons/*
/opt/kde3/%_lib/kradio
/opt/kde3/share/apps/kradio
%changelog
* Tue Oct 23 2007 - stbinner@suse.de
- fix build with gcc 4.3
* Fri May 11 2007 - ssommer@suse.de
- fix plugin loading on x86_64 (#217971)
* Tue Oct 31 2006 - coolo@suse.de
- update kradio to the latest snapshot after getting advise
  from author
* Tue May 30 2006 - adrian@suse.de
- fix build for < 10.1
* Wed Feb 15 2006 - stbinner@suse.de
- add GenericName to .desktop file
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 24 2005 - stbinner@suse.de
- fix wrong include hints for Qt 3.3.5 compilation
* Thu Oct 06 2005 - stbinner@suse.de
- added flac and flac-devel to neededforbuild (required by the new
  libsndfile)
* Tue Aug 30 2005 - dmueller@suse.de
- update to 1.0beta3b to make it work with ALSA
* Sat Aug 13 2005 - dmueller@suse.de
- update 1.0beta2 which fixes plugin loading and incorporates
  all previous patches (fixes #102926).
* Sat Jul 30 2005 - dmueller@suse.de
- update 1.0beta1
* Thu Feb 17 2005 - adrian@suse.de
- menu entry moved to xdg dir
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Wed Sep 03 2003 - adrian@suse.de
- add AudioVideo Category
* Tue Jul 29 2003 - adrian@suse.de
- add Categories
* Sat Jun 14 2003 - coolo@suse.de
- package directories
* Fri May 23 2003 - coolo@suse.de
- reverting adrian's nonsense
* Fri May 23 2003 - adrian@suse.de
- let it build again
* Fri May 02 2003 - adrian@suse.de
- update to version 0.2.7a
* Sun Mar 09 2003 - adrian@suse.de
- fix .desktop file entries
* Fri Nov 08 2002 - coolo@suse.de
- the new kradio maintainer suggests to use CVS for KDE3
  users. Still not many enhancements to the 0.1.2 version
  as far as I can see
* Fri May 24 2002 - adrian@suse.de
- use update_admin
* Tue Nov 13 2001 - ro@suse.de
- fix for automake 1.5
* Fri Nov 09 2001 - adrian@suse.de
- use kde2-devel-packages
* Mon Aug 13 2001 - ro@suse.de
- changed neededforbuild <sp_libs> to <sp-devel>
* Fri Aug 10 2001 - adrian@suse.de
- autoconf 2.52 fixes
* Thu Jun 21 2001 - adrian@suse.de
- make it autoconf 2.50 ready
- disable documentation until kde 2.2
* Thu May 10 2001 - adrian@suse.de
- fix wrong Type in desktop file
* Sun Apr 08 2001 - adrian@suse.de
- New version 0.1.2
* Sat Apr 07 2001 - kukuk@suse.de
- Fix neededforbuild
* Mon Mar 19 2001 - adrian@suse.de
- Spec file created from kradio-0.1.tar.bz2 by autospec
openSUSE Build Service is sponsored by