Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
kdevelop4-plugins
kdevelop4-plugins.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdevelop4-plugins.spec of Package kdevelop4-plugins
# # spec file for package kdevelop4-plugins # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: kdevelop4-plugins Version: 1.7.3 Release: 0 %define kdevelop_version 4.7.3 Summary: Additional plugins for KDevelop4 Integrated Development Environment License: GPL-2.0+ Group: Development/Tools/IDE Url: http://www.kdevelop.org Source0: http://download.kde.org/stable/kdevelop/%{kdevelop_version}/src/kdevelop-php-%{version}.tar.bz2 Source1: http://download.kde.org/stable/kdevelop/%{kdevelop_version}/src/kdevelop-php-docs-%{version}.tar.bz2 Source2: missing-translations.tar.xz Patch0: add-php-docs.diff # SLE12 doesn't have kdebase4-workspace[-devel] %if 0%{?suse_version} != 1315 || 0%{?is_opensuse} BuildRequires: kdebase4-workspace-devel %else BuildRequires: libkde4-devel %endif BuildRequires: kdevelop4-devel BuildRequires: kdevelop4-pg-qt BuildRequires: libkde4-devel BuildRequires: libkdevplatform4-devel >= 1.7.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %description Additional plugins for KDevelop4 Integrated Development Environment * PHP Language support, documentation, debugging (xdebug) %prep %setup -q -n kdevelop-php-%{version} -a 1 %patch0 -p1 %if 0%{?suse_version} <= 1320 && !0%{?is_opensuse} # fix build with older cmake versions (i.e. on 13.2 and below) by # readding "cmake_policy(SET CMP0002 OLD)" to po/CMakeLists.txt # (was in there before but has been removed in 1.7.3) sed -i -e "1s/^/cmake_policy(SET CMP0002 OLD)\n/" po/CMakeLists.txt %endif # add the translation files that are missing in 1.7.3 tar xJf %{S:2} %build %cmake_kde4 -d build %make_jobs %install cd build %make_install %kde_post_install cd .. %find_lang kdevphp kdevphp.lang %find_lang kdevphpdocs kdevphpdocs.lang %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %package php Summary: PHP Plugin for Kdevelop4 Integrated Development Environment Group: Development/Tools/IDE Requires: kdevelop4 %kde4_runtime_requires %description php PHP Plugin for Kdevelop4 Integrated Development Environment This plugin enables support for the following features for developing web applications in PHP using Kdevelop4. * PHP built-in functions, classes, constants, superglobals * user-defined functions, classes, constants, superglobals, variables, etc. * proper code completion for objects which respects access modifiers (private, public, protected) and differentiates between static/non-static members and methods * code completion for overridable and implementable functions inside classes * hints in the argument list of function- and method class * sane code completion after keywords such as "extends, implements, catch(), new, throw" and some more I think %package php-doc Summary: PHP Documentation for Kdevelop4 Integrated Development Environment Group: Development/Tools/IDE Requires: kdevelop4-plugins-php = %{version} %kde4_runtime_requires %description php-doc PHP Plugin documentation for Kdevelop4 Integrated Development Environment %files php -f kdevphp.lang %defattr(-,root,root) %{_kde4_modulesdir}/kdevphplanguagesupport.so %{_kde4_modulesdir}/kdevphpunitprovider.so %{_libdir}/libkdev4phpcompletion.so %{_libdir}/libkdev4phpduchain.so %{_libdir}/libkdev4phpparser.so %_kde_share_dir/apps/kdevappwizard/templates/simple_phpapp.tar.bz2 %{_kde4_servicesdir}/kdevphpsupport.desktop %{_kde4_servicesdir}/kdevphpunitprovider.desktop %_kde4_appsdir/kdevphpsupport/ %files php-doc -f kdevphpdocs.lang %defattr(-,root,root) %{_libdir}/kde4/kdevphpdocs.so %{_libdir}/kde4/kdevphpdocs_config.so %_kde_share_dir/config.kcfg/phpdocssettings.kcfg %_kde_share_dir/services/kdevphpdocs.desktop %_kde_share_dir/services/kdevphpdocs_config.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor