65 lines
1.8 KiB
RPMSpec
65 lines
1.8 KiB
RPMSpec
|
Name: discord-rpc
|
||
|
Version: 3.4.0
|
||
|
Release: 1mamba
|
||
|
Summary: A library for interfacing your game with a locally running Discord desktop client
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/discord/discord-rpc
|
||
|
Source: https://github.com/discord/discord-rpc.git/v%{version}/discord-rpc-%{version}.tar.bz2
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
A library for interfacing your game with a locally running Discord desktop client.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
A library for interfacing your game with a locally running Discord desktop client.
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/discord_register.h
|
||
|
%{_includedir}/discord_rpc.h
|
||
|
%{_libdir}/libdiscord-rpc.so
|
||
|
%doc LICENSE README.md
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jul 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
|
||
|
- package created using the webbuild interface
|