File pidgin-bot-sentry.spec of Package pidgin-bot-sentry

#
# spec file for package pidgin-bot-sentry (Version 1.3.0)
#
# 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/
#

# norootforbuild


Name:           pidgin-bot-sentry
%define _name bot-sentry
Version:        1.3.0
Release:        2
License:        GPL v2 or later
Group:          Productivity/Networking/Instant Messenger
Summary:        Pidgin Plug-in to Prevent Instant Message Spam
Url:            http://sourceforge.net/projects/pidgin-bs/
Source:         %{_name}-%{version}.tar.bz2
Patch:          pidgin-bs-no.patch
# Existed before 10.3:
Obsoletes:      gaim-bs
# Existed between 10.2 and 10.3 in Build Service:
Provides:       pidgin-bs
Obsoletes:      pidgin-bs
Requires:       licenses
Requires:       %{name}-lang = %{version}
BuildRequires:  fdupes intltool libpurple-devel licenses
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Bot Sentry is a Pidgin (libpurple) plug-in to prevent Instant Message
(IM) spam. It allows you to ignore IMs unless the sender is in your
Buddy List or Allow List, or the sender correctly answers a question
you have predefined.



Authors:
--------
    David Everly <deckrider@users.sourceforge.net>

%lang_package
%prep
%setup -q -n %{_name}-%{version}
%patch
mv -i po/no.po po/nb.po

%build
%if %suse_version >= 1030
autoreconf -f -i
%endif
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING
rm $RPM_BUILD_ROOT/%{_libdir}/*/*.la
%find_lang %{_name}
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/purple-2/*.so

%files lang -f %{_name}.lang

%changelog
* Mon Sep 15 2008 sbrabec@suse.cz
- Removed superfluous --libdir.
* Thu Sep 04 2008 sbrabec@suse.cz
- Updated to version 1.3.0:
  * smart handling of auth requests.
  * partial disabling of challenge by keeping setup blank
  * translation updates
  * UI improvements
  * better support for the latest pidgin
* Wed Oct 24 2007 sbrabec@suse.cz
- Do not call (too old) autoconf in older SuSE versions.
* Tue Aug 07 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Thu Jul 26 2007 sbrabec@suse.cz
- Package renamed to pidgin-bot-sentry (bot-sentry in upstream).
- Updated to version 1.1.0:
  * adds support for enabling/disabling for individual accounts
  * bug fixes, improvements and translation updates
* Mon May 28 2007 sbrabec@suse.cz
- Package renamed to pidgin-bs and updated to version 1.0.0:
  * Support for pidgin.
  * Automatically change any conflicting settings found in the
  Psychic plugin.
* Tue Dec 26 2006 maw@suse.de
- Move to /usr.
* Mon Sep 04 2006 sbrabec@suse.cz
- New SuSE package, version 0.10.0 (#183858).
openSUSE Build Service is sponsored by