14e649a10e
* Filed upstream issue to tag version bumps in the future so that we can hopefully stop packaging random Git commits, or at least use them for PARENT_TAG - Update to version 0.4.1+0.g3e435b0: * Allow getting backlog of private messages * Fix use-after-free on OPCODE_RECONNECT/INVALID_SESSION OBS-URL: https://build.opensuse.org/package/show/server:irc/bitlbee-discord?expand=0&rev=3
58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package bitlbee-discord
|
|
#
|
|
# Copyright (c) 2017 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/
|
|
#
|
|
|
|
%define github_user sm00th
|
|
%define short_name discord
|
|
Name: bitlbee-%{short_name}
|
|
Version: 0.4.1+0.g3e435b0
|
|
Release: 0
|
|
Summary: Bitlbee plugin for Discord
|
|
License: GPL-2.0
|
|
Group: Productivity/Networking/IRC
|
|
Url: https://github.com/%{github_user}/%{name}
|
|
Source: https://github.com/%{github_user}/%{name}/%{name}-%{version}.tar.xz
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(bitlbee)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Bitlbee plugin for Discord.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
rm %{buildroot}%{_libdir}/bitlbee/%{short_name}.la
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README
|
|
%dir %{_libdir}/bitlbee
|
|
%{_libdir}/bitlbee/%{short_name}.so
|
|
%{_datadir}/bitlbee/%{short_name}-help.txt
|
|
|
|
%changelog
|