57 lines
1.6 KiB
RPMSpec
57 lines
1.6 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.1487713838.0f0485e
|
||
|
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
|
||
|
|
||
|
%changelog
|