]> git.pld-linux.org Git - packages/phpstorm.git/blame - phpstorm.spec
- add desktop file
[packages/phpstorm.git] / phpstorm.spec
CommitLineData
265003bd
ER
1Summary: Lightweight and Smart PHP IDE
2Name: phpstorm
3Version: 2.0
425880c4 4Release: 0.2
265003bd
ER
5License: ?
6Group: Development/Tools
7Source0: http://download.jetbrains.com/webide/PhpStorm-%{version}.tar.gz
8# NoSource0-md5: a772dcf0c01231e814817309faf327a3
9NoSource: 0
8c2db59b 10Patch0: pld.patch
265003bd
ER
11URL: http://www.jetbrains.com/phpstorm/
12BuildRequires: unzip
13Requires: jdk >= 1.6
8c2db59b 14Requires: which
265003bd
ER
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _appdir %{_libdir}/%{name}
18
19%description
20PhpStorm is a lightweight and smart PHP IDE focused on developer
21productivity that deeply understands your code, provides smart code
22completion, quick navigation and on-the-fly error checking. It is
23always ready to help you shape your code, run unit-tests or provide
24visual debugging.
25
26Note: PhpStorm includes all the functionality of WebStorm (HTML/CSS
27Editor, JavaScript Editor) and adds full-fledged support for PHP.
28
29%prep
30%setup -qn PhpStorm-103.99
31%ifarch %{ix86}
32rm bin/fsnotifier64
33rm bin/libbreakgen64.so
34rm bin/libyjpagent64.so
35%endif
36%ifarch %{x8664}
37mv -f bin/fsnotifier{64,}
38mv -f bin/libbreakgen{64,}.so
39mv -f bin/libyjpagent{64,}.so
40%endif
8c2db59b 41%patch0 -p1
265003bd
ER
42chmod a+rx bin/*.so bin/fsnotifier
43mv bin/webide.png .
44
45%install
46rm -rf $RPM_BUILD_ROOT
47install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_pixmapsdir},%{_desktopdir}}
425880c4 48cp -a bin help lib license plugins $RPM_BUILD_ROOT%{_appdir}
265003bd 49cp -p webide.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
425880c4 50ln -s %{_appdir}/bin/PhpStorm.sh $RPM_BUILD_ROOT%{_bindir}/phpstorm
265003bd
ER
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
425880c4 57%attr(755,root,root) %{_bindir}/%{name}
265003bd
ER
58%dir %{_appdir}
59%{_appdir}/help
60%{_appdir}/lib
425880c4 61%{_appdir}/license
265003bd
ER
62%{_appdir}/plugins
63%dir %{_appdir}/bin
265003bd
ER
64%{_appdir}/bin/PhpStorm.vmoptions
65%{_appdir}/bin/idea.properties
66%{_appdir}/bin/log.xml
425880c4 67%attr(755,root,root) %{_appdir}/bin/PhpStorm.sh
265003bd
ER
68%attr(755,root,root) %{_appdir}/bin/fsnotifier
69%attr(755,root,root) %{_appdir}/bin/libbreakgen.so
70%attr(755,root,root) %{_appdir}/bin/libyjpagent.so
71%{_pixmapsdir}/%{name}.png
This page took 0.067463 seconds and 4 git commands to generate.