phpstorm/phpstorm.spec

176 lines
6.0 KiB
RPMSpec

%define pkgver %(echo %version | cut -d_ -f1)
%define dirver %(echo %version | cut -d_ -f2)
Name: phpstorm
Version: 2024.2.1
Release: 1mamba
Summary: Lightweight and Smart PHP IDE
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.jetbrains.com/phpstorm/
Source: https://download.jetbrains.com/webide/PhpStorm-%{pkgver}.tar.gz
Source1: jetbrains-phpstorm.desktop
License: Custom
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
Lightweight and Smart PHP IDE.
%package jre
Group: System/Libraries
Summary: JBR (JetBrains Runtime) for PHPStorm - a patched JRE
%description jre
JBR (JetBrains Runtime) for PHPStorm - a patched JRE.
%debug_package
%define _build_id_links none
%global __requires_exclude_from ^%{_datadir}/phpstorm/.*$
%global __provides_exclude_from ^%{_datadir}/phpstorm/.*$
%prep
%setup -q -c -a0
mv PhpStorm-*/* .
rmdir PhpStorm-*
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}{%{_datadir}/phpstorm,%{_bindir}}
cp -a * %{buildroot}%{_datadir}/phpstorm/
ln -s %{_datadir}/phpstorm/bin/webstorm.sh %{buildroot}%{_bindir}/phpstorm
install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/jetbrains-phpstorm.desktop
install -D -m644 bin/phpstorm.svg %{buildroot}%{_datadir}/pixmaps/phpstorm.svg
rm -f %{buildroot}%{_datadir}/phpstorm/Install-Linux-tar.txt
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/phpstorm
%{_datadir}/applications/jetbrains-phpstorm.desktop
%{_datadir}/pixmaps/phpstorm.svg
%dir %{_datadir}/phpstorm
%{_datadir}/phpstorm/build.txt
%{_datadir}/phpstorm/product-info.json
%dir %{_datadir}/phpstorm/bin
%{_datadir}/phpstorm/bin/*
%dir %{_datadir}/phpstorm/help
%{_datadir}/phpstorm/help/*.pdf
%dir %{_datadir}/phpstorm/lib
%{_datadir}/phpstorm/lib/*
%dir %{_datadir}/phpstorm/license
%{_datadir}/phpstorm/license/*
%dir %{_datadir}/phpstorm/plugins
%{_datadir}/phpstorm/plugins/*
%files jre
%defattr(-,root,root)
%dir %{_datadir}/phpstorm/jbr
%{_datadir}/phpstorm/jbr/*
%dir %{_datadir}/phpstorm/modules
%{_datadir}/phpstorm/modules/module-descriptors.jar
%changelog
* Sat Aug 31 2024 Automatic Build System <autodist@openmamba.org> 2024.2.1-1mamba
- automatic version update by autodist
* Sat Aug 24 2024 Automatic Build System <autodist@openmamba.org> 2024.2.0.1-1mamba
- automatic version update by autodist
* Mon Aug 12 2024 Automatic Build System <autodist@openmamba.org> 2024.2-1mamba
- automatic version update by autodist
* Mon Aug 12 2024 Automatic Build System <autodist@openmamba.org> 2024.1.6-1mamba
- automatic version update by autodist
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 2024.1.5-1mamba
- automatic version update by autodist
* Mon Jun 24 2024 Automatic Build System <autodist@openmamba.org> 2024.1.4-1mamba
- automatic version update by autodist
* Tue Jun 11 2024 Automatic Build System <autodist@openmamba.org> 2024.1.3-1mamba
- automatic version update by autodist
* Wed May 29 2024 Automatic Build System <autodist@openmamba.org> 2024.1.2-1mamba
- automatic version update by autodist
* Wed Apr 24 2024 Automatic Build System <autodist@openmamba.org> 2024.1.1-1mamba
- automatic version update by autodist
* Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 2024.1-1mamba
- automatic version update by autodist
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 2023.3.6-1mamba
- automatic version update by autodist
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 2023.3.5-1mamba
- automatic version update by autodist
* Wed Feb 14 2024 Automatic Build System <autodist@openmamba.org> 2023.3.4-1mamba
- automatic version update by autodist
* Fri Jan 26 2024 Automatic Build System <autodist@openmamba.org> 2023.3.3-1mamba
- automatic version update by autodist
* Fri Dec 22 2023 Automatic Build System <autodist@mambasoft.it> 2023.3.2-1mamba
- automatic version update by autodist
* Wed Dec 13 2023 Automatic Build System <autodist@mambasoft.it> 2023.3.1-1mamba
- automatic version update by autodist
* Sat Dec 09 2023 Automatic Build System <autodist@mambasoft.it> 2023.3-1mamba
- automatic version update by autodist
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 2023.2.4-1mamba
- automatic version update by autodist
* Tue Oct 17 2023 Automatic Build System <autodist@mambasoft.it> 2023.2.3-1mamba
- automatic version update by autodist
* Wed Sep 20 2023 Automatic Build System <autodist@mambasoft.it> 2023.2.2-1mamba
- automatic version update by autodist
* Tue Aug 29 2023 Automatic Build System <autodist@mambasoft.it> 2023.2.1-1mamba
- automatic version update by autodist
* Sat Aug 05 2023 Automatic Build System <autodist@mambasoft.it> 2023.2-1mamba
- automatic version update by autodist
* Tue Jul 18 2023 Automatic Build System <autodist@mambasoft.it> 2023.1.4-1mamba
- automatic version update by autodist
* Sat Jun 24 2023 Automatic Build System <autodist@mambasoft.it> 2023.1.3-1mamba
- automatic version update by autodist
* Thu May 18 2023 Automatic Build System <autodist@mambasoft.it> 2023.1.2-1mamba
- automatic version update by autodist
* Wed May 03 2023 Automatic Build System <autodist@mambasoft.it> 2023.1.1-1mamba
- automatic version update by autodist
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 2023.1-1mamba
- automatic version update by autodist
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 2022.3.3-1mamba
- automatic version update by autodist
* Wed Feb 01 2023 Automatic Build System <autodist@mambasoft.it> 2022.3.2-1mamba
- automatic version update by autodist
* Sun Jan 15 2023 Automatic Build System <autodist@mambasoft.it> 2022.3.1-1mamba
- automatic version update by autodist
* Fri Sep 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2022.2.1_222.3739.61-1mamba
- package created using the webbuild interface