File kopete-anyremote.spec of Package kopete-anyremote

# norootforbuild

%define _prefix	/opt/kde3
%define rversion 0.4
%define rrelease 1.1
%define releasesuffix OS103DSB

Name:		kopete-anyremote
Version:	%{rversion}
Release:	%{rrelease}%{releasesuffix}
%if %suse_version < 1020
Distribution:	SUSE Linux %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%else
Distribution:	openSUSE %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%endif
Summary:	anyRemote Plugin for Kopete
Source:		%{name}-%{rversion}.tar.gz
URL:		http://anyremote.sourceforge.net
Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
Group:		Productivity/Other
License:	GPLv2
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:	autoconf automake libtool libstdc++-devel gcc-c++
BuildRequires: 	kdelibs3-devel kdebase3-devel kdenetwork3-devel kdenetwork3-InstantMessenger
Requires:	kdenetwork3-InstantMessenger, kdebluetooth, anyremote >= 3.5

%description
This Kopete plugin allows to use bluettoth cell phone as remote control for
Kopete. 
It is possible to connect/disconnect, read/send messages and saw status changes.


Authors:
--------
     M.Fedotov <anyremote@mail.ru>


%if %suse_version >= 930
%debug_package
%endif
%prep
%setup -q -n "%{name}-%{version}"
%{?suse_update_config:%{suse_update_config -f}}

%build
%configure --with-qt-libraries=/usr/lib/qt3/%_lib --libdir=%{_prefix}/%_lib

%install
%makeinstall

find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list

%if %suse_version < 930
%__strip "%{buildroot}%{_bindir}"/*
%endif

%clean
%__rm -rf "%{buildroot}"

%files -f master.list
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README

%changelog
* Wed Nov 7 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.4
- initial release
openSUSE Build Service is sponsored by