From c20753d7591318a42ce8cb6923ff7da625504569 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:13:39 +0100 Subject: [PATCH] package created using the webbuild interface [release 2022.2.1-1mamba;Fri Sep 02 2022] --- README.md | 2 + jetbrains-webstorm.desktop | 10 +++++ webstorm.spec | 79 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 jetbrains-webstorm.desktop create mode 100644 webstorm.spec diff --git a/README.md b/README.md index 26852e0..7143588 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # webstorm +JavaScript IDE and HTML editor. + diff --git a/jetbrains-webstorm.desktop b/jetbrains-webstorm.desktop new file mode 100644 index 0000000..c7af063 --- /dev/null +++ b/jetbrains-webstorm.desktop @@ -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 diff --git a/webstorm.spec b/webstorm.spec new file mode 100644 index 0000000..52bf886 --- /dev/null +++ b/webstorm.spec @@ -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 +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 2022.2.1-1mamba +- package created using the webbuild interface