File rsp-session.spec of Package rsp-session

#
# spec file for package rsp-session
#
# Copyright (c) 2025 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/
#
Name:           rsp-session
Version:        2025.09.1
Release:        0
Summary:        RStudio Server Pro session components
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        RSTUDIO IDE SERVER PROFESSIONAL
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"  
Url:            https://s3.amazonaws.com/rstudio-ide-build/session/opensuse/ 
Source:         %{name}-opensuse15-%{version}-401.pro2-x86_64.tar.gz 
Source1:	rsp-session-rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReq:        no
AutoProv:       no
autoreqprov:    no

%description
RStudio Server Pro session components

%prep
%setup -q -n %{name}-opensuse15-%{version}-401.pro2-x86_64
%build


%install
export NO_BRP_STALE_LINK_ERROR=yes
mkdir -p %{buildroot}/usr/lib/rstudio-server
cp -R . %{buildroot}/usr/lib/rstudio-server


%post
%postun

%files
%defattr(-,root,root)
%dir /usr/lib/rstudio-server
/usr/lib/rstudio-server/*
openSUSE Build Service is sponsored by