package created using the webbuild interface [release 3.4.0-1mamba;Sat Jul 16 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:48:14 +01:00
parent 673426c5bc
commit f6bc63bed7
2 changed files with 66 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# discord-rpc # discord-rpc
A library for interfacing your game with a locally running Discord desktop client.

64
discord-rpc.spec Normal file
View File

@ -0,0 +1,64 @@
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