2016-08-23 18:29:51 +02:00
|
|
|
#
|
|
|
|
# spec file for package bitlbee-facebook
|
|
|
|
#
|
2021-02-11 13:58:06 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-08-23 18:29:51 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-02-11 13:58:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-08-23 18:29:51 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-02-11 13:58:06 +01:00
|
|
|
%define from_checkout 1
|
2016-08-23 18:29:51 +02:00
|
|
|
Name: bitlbee-facebook
|
2021-02-11 13:58:06 +01:00
|
|
|
Version: 1.2.1+git.1611145185.49ea312
|
2016-08-23 18:29:51 +02:00
|
|
|
Release: 0
|
2017-09-16 14:18:21 +02:00
|
|
|
Summary: The Facebook protocol plugin for bitlbee
|
2021-02-11 13:58:06 +01:00
|
|
|
License: GPL-2.0-only
|
2016-08-23 18:29:51 +02:00
|
|
|
Group: Productivity/Networking/IRC
|
2021-02-11 13:58:06 +01:00
|
|
|
URL: https://github.com/bitlbee/bitlbee-facebook
|
|
|
|
%if 0%{?from_checkout}
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
%else
|
2016-08-23 18:29:51 +02:00
|
|
|
Source: https://github.com/bitlbee/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2021-02-11 13:58:06 +01:00
|
|
|
%endif
|
2016-08-23 18:29:51 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(bitlbee)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Facebook protocol plugin for bitlbee. This plugin uses the Facebook Mobile API.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2021-02-11 13:58:06 +01:00
|
|
|
%if 0%{?from_checkout}
|
|
|
|
./autogen.sh
|
|
|
|
%endif
|
2016-08-23 18:29:51 +02:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
2021-02-11 13:58:06 +01:00
|
|
|
|
2016-08-23 18:29:51 +02:00
|
|
|
%install
|
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
|
|
rm %{buildroot}%{_libdir}/bitlbee/facebook.la
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc ChangeLog README COPYING
|
|
|
|
%dir %{_libdir}/bitlbee
|
|
|
|
%{_libdir}/bitlbee/facebook.so
|
|
|
|
|
|
|
|
%changelog
|