File pidgin-guifications.spec of Package pidgin-guifications
#
# spec file for package pidgin-guifications (Version 2.16)
#
# Copyright (c) 2009 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: pidgin-guifications
Version: 2.16
Release: 2
Summary: Pidgin plugin to display "toaster" popups
Url: http://plugins.guifications.org/
Group: Productivity/Networking/Instant Messenger
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libpurple-devel
BuildRequires: pidgin-devel
Requires: pidgin
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%description
Guifications is a Pidgin plugin that displays "toaster" popups in a
user-defined corner of the screen, similar to features that have been
added to the official MSN Messenger (now called Windows Live
Messenger), Yahoo! Messenger and AOL Instant Messenger clients. It's
highly configurable, easy to use, and has theme support. It really is
the end-all, be-all toaster pop-up plugin for Pidgin!
%lang_package
%prep
%setup -q
%build
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
# Change no to nb_NO
mv %{buildroot}%{_datadir}/locale/no %{buildroot}%{_datadir}/locale/nb_NO
%find_lang guifications
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir}/pidgin/guifications.so
%{_datadir}/pixmaps/pidgin/guifications
%files lang -f guifications.lang
%changelog