2024-01-05 19:07:14 +01:00
|
|
|
%define _pkgname code-bin
|
|
|
|
Name: visual-studio-code-bin
|
2024-09-18 15:40:57 +02:00
|
|
|
Version: 1.93.1
|
2024-01-05 19:07:14 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Visual Studio Code: a lightweight but powerful source code editor which runs on your desktop (official binary distribution)
|
|
|
|
Group: Graphical Desktop/Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://code.visualstudio.com/
|
|
|
|
Source0: code_x64_%{version}.tar.gz
|
|
|
|
Source1: code_arm64_%{version}.tar.gz
|
|
|
|
Source2: visual-studio-code-bin-autoupdate
|
|
|
|
Source3: visual-studio-code-bin.desktop
|
|
|
|
Source4: visual-studio-code-url-handler.desktop
|
|
|
|
Source5: visual-studio-code-workspace.xml
|
|
|
|
Source6: visual-studio-code-bin.sh
|
|
|
|
License: Distributable
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libmesa-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
BuildRequires: libxkbfile-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: code-bin
|
|
|
|
Obsoletes: code-bin <= 1.81.1
|
|
|
|
|
|
|
|
%description
|
|
|
|
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET).
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%global __requires_exclude ^libffmpeg.so.*$
|
|
|
|
%global __provides_exclude_from ^%{_datadir}/%{name}/.*$
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
tar xf %{SOURCE0}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
tar xf %{SOURCE1}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
mv VSCode-linux-*/* .
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -D -m644 resources/app/resources/linux/code.png %{buildroot}%{_datadir}/icons/%{_pkgname}.png
|
|
|
|
install -D -m644 %{SOURCE3} %{buildroot}%{_datadir}/applications/%{_pkgname}.desktop
|
|
|
|
install -D -m644 %{SOURCE4} %{buildroot}%{_datadir}/applications/%{_pkgname}-url-handler.desktop
|
|
|
|
install -D -m644 %{SOURCE5} %{buildroot}%{_datadir}/mime/packages/%{_pkgname}-workspace.xml
|
|
|
|
install -D -m644 resources/completions/bash/code %{buildroot}%{_datadir}/bash-completion/completions/code
|
|
|
|
install -D -m644 resources/completions/zsh/_code %{buildroot}%{_datadir}/zsh/site-functions/_code
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_datadir}/%{_pkgname}
|
|
|
|
cp -r * %{buildroot}%{_datadir}/%{_pkgname}
|
|
|
|
|
|
|
|
# Launcher
|
|
|
|
install -D -m755 %{SOURCE6} %{buildroot}%{_bindir}/code
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/code
|
|
|
|
%{_datadir}/applications/%{_pkgname}-url-handler.desktop
|
|
|
|
%{_datadir}/applications/%{_pkgname}.desktop
|
|
|
|
%{_datadir}/mime/packages/%{_pkgname}-workspace.xml
|
|
|
|
%dir %{_datadir}/%{_pkgname}
|
|
|
|
%dir %{_datadir}/%{_pkgname}/bin
|
|
|
|
%{_datadir}/%{_pkgname}/bin/code*
|
|
|
|
%{_datadir}/%{_pkgname}/chrome*
|
|
|
|
%{_datadir}/%{_pkgname}/code
|
|
|
|
%{_datadir}/%{_pkgname}/icudtl.dat
|
|
|
|
%{_datadir}/%{_pkgname}/lib*.so*
|
|
|
|
%{_datadir}/%{_pkgname}/resources.pak
|
|
|
|
%dir %{_datadir}/%{_pkgname}/locales
|
|
|
|
%{_datadir}/%{_pkgname}/locales/*
|
|
|
|
%dir %{_datadir}/%{_pkgname}/resources
|
|
|
|
%{_datadir}/%{_pkgname}/resources/*
|
|
|
|
%{_datadir}/%{_pkgname}/snapshot_blob.bin
|
|
|
|
%{_datadir}/%{_pkgname}/v8_context_snapshot.bin
|
|
|
|
%{_datadir}/%{_pkgname}/vk_swiftshader_icd.json
|
|
|
|
%{_datadir}/%{_pkgname}/LICENSES.chromium.html
|
|
|
|
%{_datadir}/bash-completion/completions/code
|
|
|
|
%{_datadir}/zsh/site-functions/_code
|
|
|
|
%{_datadir}/icons/%{_pkgname}.png
|
|
|
|
%doc resources/app/LICENSE.rtf
|
|
|
|
|
|
|
|
%changelog
|
2024-09-18 15:40:57 +02:00
|
|
|
* Wed Sep 18 2024 Automatic Build System <autodist@mambasoft.it> 1.93.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-20 23:30:28 +02:00
|
|
|
* Tue Aug 20 2024 Automatic Build System <autodist@mambasoft.it> 1.92.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-12 11:22:22 +02:00
|
|
|
* Thu Jul 11 2024 Automatic Build System <autodist@mambasoft.it> 1.91.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-27 18:50:10 +02:00
|
|
|
* Thu Jun 27 2024 Automatic Build System <autodist@mambasoft.it> 1.90.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-02 22:02:17 +02:00
|
|
|
* Sun Jun 02 2024 Automatic Build System <autodist@mambasoft.it> 1.89.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-19 09:17:43 +02:00
|
|
|
* Thu Apr 18 2024 Automatic Build System <autodist@mambasoft.it> 1.88.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-25 20:05:17 +01:00
|
|
|
* Mon Mar 25 2024 Automatic Build System <autodist@mambasoft.it> 1.87.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-17 21:46:12 +01:00
|
|
|
* Sat Feb 17 2024 Automatic Build System <autodist@openmamba.org> 1.86.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:07:39 +01:00
|
|
|
* Fri Dec 29 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.85.1-1mamba
|
|
|
|
- update to 1.85.1
|
|
|
|
|
2024-01-05 19:07:33 +01:00
|
|
|
* Fri Nov 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.84.2-1mamba
|
|
|
|
- update to 1.84.2
|
|
|
|
|
2024-01-05 19:07:26 +01:00
|
|
|
* Tue Oct 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.83.1-1mamba
|
|
|
|
- update to 1.83.1
|
|
|
|
|
2024-01-05 19:07:14 +01:00
|
|
|
* Mon Sep 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.82.2-1mamba
|
|
|
|
- update to 1.82.2
|
|
|
|
|
|
|
|
* Wed Aug 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.81.1-1mamba
|
|
|
|
- update to 1.81.1
|
|
|
|
|
|
|
|
* Fri Jun 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.79.0-1mamba
|
|
|
|
- update to 1.79.0
|
|
|
|
|
|
|
|
* Fri May 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.78.0-1mamba
|
|
|
|
- update to 1.78.0
|
|
|
|
|
|
|
|
* Tue Jan 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.74.3-1mamba
|
|
|
|
- update to 1.74.3
|
|
|
|
|
|
|
|
* Thu Sep 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.71.0-1mamba
|
|
|
|
- package created using the webbuild interface
|