File kde3-kopete-antispam.spec of Package kde3-kopete-antispam

#
# spec file for package kde3-kopete-antispam (Version 0.5)
#
# Copyright (c) 2009, 2010 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

%define _prefix /opt/kde3

Name:           kde3-kopete-antispam
Version:        0.5
Release:        0
License:        GPL-2.0
Summary:        Kopete Antispam Plugin
URL:            http://kopeteantispam.sourceforge.net
Group:          Productivity/Networking/Instant Messenger
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM kde3-kopete-antispam-0.5-autoconf.patch lazy.kent.suse@gmail.com
# -- fix autoconf macro
Patch0:         kde3-kopete-antispam-0.5-autoconf.patch
BuildRequires:  kdelibs3-devel
BuildRequires:  kdenetwork3-devel
BuildRequires:  kdenetwork3-InstantMessenger
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Kopete Antispam Plugin helps to protect kopete messenger from various spammers
by using simple question/answer scheme: potential spammers receive a simple
question, and they are ignored until they answer question.



Authors:
--------
    Alexey Noskov <alexey.noskov@gmail.com>

%prep
%setup -q -n kopete-antispam-kde3-%{version}
%patch -P 0
. /etc/opt/kde3/common_options
update_admin --no-unsermake

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
%{__make} %{?_smp_mflags}

%install
. /etc/opt/kde3/common_options
%{makeinstall}
kde_post_install

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

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README
%{_libdir}/kde3/*.so
%{_datadir}/config.kcfg/kopeteantispamconfig.kcfg
%{_datadir}/services/kopeteantispam.desktop
%{_datadir}/services/kconfiguredialog/kopeteantispamconfig.desktop
%attr(0644,root,root) %{_libdir}/kde3/*.la

%changelog

# kate: space-indent on; indent-width 4;
openSUSE Build Service is sponsored by