package created using the webbuild interface [release 2022.2.1-1mamba;Fri Sep 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:13:39 +01:00
parent 4ca7dddd80
commit c20753d759
3 changed files with 91 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# webstorm
JavaScript IDE and HTML editor.

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=WebStorm
Icon=webstorm
Exec="/usr/share/webstorm/bin/webstorm.sh" %f
Comment=The smartest JavaScript IDE
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-webstorm

79
webstorm.spec Normal file
View File

@ -0,0 +1,79 @@
Name: webstorm
Version: 2022.2.1
Release: 1mamba
Summary: JavaScript IDE and HTML editor
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.jetbrains.com/webstorm/
Source: https://download.jetbrains.com/webstorm/WebStorm-%{version}.tar.gz
Source1: jetbrains-webstorm.desktop
License: Custom
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: java-runtime
%description
JavaScript IDE and HTML editor.
%package jre
Group: System/Libraries
Summary: JBR (JetBrains Runtime) for WebStorm - a patched JRE
%description jre
JBR (JetBrains Runtime) for WebStorm - a patched JRE.
%debug_package
%global __requires_exclude_from ^%{_datadir}/webstorm/.*$
%global __provides_exclude_from ^%{_datadir}/webstorm/.*$
%prep
%setup -q -n WebStorm-222.3739.57
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}{%{_datadir}/webstorm,%{_bindir}}
cp -a * %{buildroot}%{_datadir}/webstorm/
ln -s %{_datadir}/webstorm/bin/webstorm.sh %{buildroot}%{_bindir}/webstorm
install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jetbrains-webstorm.desktop
install -D -m644 bin/webstorm.svg %{buildroot}%{_datadir}/pixmaps/webstorm.svg
rm -f %{buildroot}%{_datadir}/webstorm/Install-Linux-tar.txt
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/webstorm
%{_datadir}/applications/jetbrains-webstorm.desktop
%{_datadir}/pixmaps/webstorm.svg
%dir %{_datadir}/webstorm
%{_datadir}/webstorm/build.txt
%{_datadir}/webstorm/product-info.json
%dir %{_datadir}/webstorm/bin
%{_datadir}/webstorm/bin/*
%dir %{_datadir}/webstorm/help
%{_datadir}/webstorm/help/*.pdf
%dir %{_datadir}/webstorm/lib
%{_datadir}/webstorm/lib/*
%dir %{_datadir}/webstorm/license
%{_datadir}/webstorm/license/*
%dir %{_datadir}/webstorm/plugins
%{_datadir}/webstorm/plugins/*
%files jre
%defattr(-,root,root)
%dir %{_datadir}/webstorm/jbr
%{_datadir}/webstorm/jbr/*
%changelog
* Fri Sep 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2022.2.1-1mamba
- package created using the webbuild interface