File pidgin-save-conv-order.spec of Package pidgin-save-conv-order

#
# spec file for package pidgin-save-conv-order
#
# Copyright (c) 2017 SUSE LINUX 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/
#


%define plugname save-conv-order
Name:           pidgin-save-conv-order
Version:        1.1
Release:        0
Summary:        Pidgin plugin that saves and restores the order of chats and IMs
License:        GPL-2.0
Group:          Productivity/Networking/Instant Messenger
Url:            https://github.com/kgraefe/pidgin-save-conv-order
Source:         https://github.com/kgraefe/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  intltool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(pidgin)

%description
This plugin saves the order of chats and IMs and restores it
the next time you open a conversation.

%package -n pidgin-plugin-%{plugname}
Summary:        Pidgin plugin that saves and restores the order of chats and IMs
Group:          Productivity/Networking/Instant Messenger
Recommends:     pidgin-plugin-%{plugname}-lang
Enhances:       pidgin

%description -n pidgin-plugin-%{plugname}
This plugin saves the order of chats and IMs and restores it
the next time you open a conversation.

%lang_package -n pidgin-plugin-%{plugname}

%prep
%setup -q

%build
%configure --disable-static
make %{?_smp_mflags} V=1

%install
%make_install
%find_lang %{name}

%files -n pidgin-plugin-%{plugname}
%defattr(-,root,root)
%doc AUTHORS.md CHANGES.md COPYING README.md
%{_libdir}/pidgin
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.metainfo.xml

%files -n pidgin-plugin-%{plugname}-lang -f %{name}.lang
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by