File qtpcr.spec of Package qtpcr

#
# spec file for package qtpcr (Version 1.1.3)
#
# Copyright (c) 2008 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/
#



Name:           qtpcr
BuildRequires:  libdrm-devel libjpeg-devel qt3-devel update-desktop-files
License:        LGPL v2.1 or later
Group:          Productivity/Hamradio/Other
AutoReqProv:    on
Version:        1.1.3
Release:        796
Summary:        Linux software that controls PCR-1000
Source:         qtpcr-1.1.3.tar.gz
Source1:        qtpcr.desktop
Patch:          qtpcr-1.1.3.dif
Url:            http://www.qtpcr.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
QtPCR is a software running under Linux and the X Window System. It
controls scanner radio PCR-1000 from Icom. Providing most features such
as BandScope, SignalStrength, and Dial, QtPCR is easy to use and has a
nifty GUI.



Authors:
--------
    Teepanis Chachiyo

%prep
%setup -q -n %{name}-%{version}
%patch

%build
./configure
cd src
make LIBS="-lqt-mt -L/usr/lib/qt3/%_lib" CXXFLAGS="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin/
install -m 755 src/qtpcr $RPM_BUILD_ROOT/usr/bin/
%suse_update_desktop_file -i %name Network HamRadio

%files
%defattr(-,root,root)
%doc COPYING ChangeLog README TECHNICAL TODO USUAGE.html
/usr/share/applications/*.desktop
/usr/bin/qtpcr

%changelog
* Mon Aug 25 2008 meissner@suse.de
- use rpm_opt_flags
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Aug 15 2003 adrian@suse.de
- add desktop file
* Fri May 16 2003 coolo@suse.de
- use BuildRoot
* Wed Jan 22 2003 ro@suse.de
- removed qt from requires
* Wed Nov 13 2002 ro@suse.de
- use qt3-devel-packages in neededforbuild
* Fri May 31 2002 ro@suse.de
- fix build on lib64 platforms
* Mon Feb 18 2002 jreuter@suse.de
- new version 1.1.3, uses QT3 now
- added missing freetype2-devel in neededforbuild
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Fri Oct 26 2001 ro@suse.de
- removed qtext from neededforbuild
* Tue Jul 10 2001 cschmit@suse.de
- dependencies fixes
* Mon Jul 09 2001 cschmit@suse.de
- initial release (version 1.1.1)
openSUSE Build Service is sponsored by