forked from pool/bitlbee-discord
58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package bitlbee-discord
|
|
#
|
|
# Copyright (c) 2018 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 github_user sm00th
|
|
%define short_name discord
|
|
Name: bitlbee-%{short_name}
|
|
Version: 0.4.1
|
|
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}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(bitlbee)
|
|
|
|
%description
|
|
Bitlbee plugin for Discord.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_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
|