File kdevelop4.spec of Package kdevelop4
#
# spec file for package kdevelop4
#
# Copyright (c) 2012 SUSE LINUX Products 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
Version: 4.4.1
Release: 0
Summary: Integrated Development Environment for the X Window System, Qt, KDE, and GNOME
License: GPL-3.0+
Group: Development/Tools/IDE
Url: http://www.kdevelop.org
Source0: kdevelop-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: kdebase4-workspace-devel
BuildRequires: libkdevplatform-devel >= 1.4.1
BuildRequires: okteta-devel
BuildRequires: valgrind-devel
Requires: %{name}-lang = %{version}
Requires: kate
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): shared-mime-info
Requires(postun): shared-mime-info
%kde4_runtime_requires
%description
An integrated development environment (IDE) that allows you to write
programs for the X Window System, the Qt library, or KDE. It includes a
documentation browser, a source code editor with syntax highlighting, a
GUI for the compiler, and much more.
%lang_package
%prep
%setup -q -n kdevelop-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%make_install
%fdupes -s %{buildroot}
%kde_post_install
cd ..
%find_lang kdevcmake %{name}.lang
%find_lang kdevcmakebuilder %{name}.lang
%find_lang kdevcpp %{name}.lang
%find_lang kdevcustommake %{name}.lang
%find_lang kdevelop %{name}.lang
%find_lang kdevformatters %{name}.lang
%find_lang kdevgdb %{name}.lang
%find_lang kdevmakebuilder %{name}.lang
%find_lang kdevqthelp %{name}.lang
%find_lang kdevokteta %{name}.lang
%find_lang kdevmanpage %{name}.lang
%find_lang kdevelopsessions %{name}.lang
%find_lang plasma_runner_kdevelopsessions %{name}.lang
%post
/sbin/ldconfig
/usr/bin/update-mime-database %{_kde4_datadir}/mime &> /dev/null || :
%postun
/sbin/ldconfig
/usr/bin/update-mime-database %{_kde4_datadir}/mime &> /dev/null || :
%clean
rm -rf %{buildroot}
%package devel
Summary: Integrated Development Environment: Build Environment
License: GPL-2.0+
Group: Development/Tools/IDE
Requires: kdevelop4 = %{version}
%description devel
An integrated development environment (IDE) that allows you to write
programs for the X Window System, the Qt library, or KDE. It includes a
documentation browser, a source code editor with syntax highlighting, a
GUI for the compiler, and much more.
%package doc
Summary: KDE Integrated Development Environment: Documentation
License: GPL-2.0+
Group: Development/Tools/IDE
Requires: kdevelop4 = %{version}
%description doc
An integrated development environment (IDE) that allows you to write
programs for the X Window System, the Qt library, or KDE. It includes a
documentation browser, a source code editor with syntax highlighting, a
GUI for the compiler, and much more.
%files lang -f %{name}.lang
%defattr(-,root,root)
%exclude %{_kde4_htmldir}/en/kdevelop/
%files devel
%defattr(-,root,root)
%{_kde4_appsdir}/cmake/modules/FindKDevelop.cmake
%{_kde4_includedir}/kdevelop/
%files doc
%defattr(-,root,root,-)
%doc %lang(en) %{_kde4_htmldir}/en/kdevelop/
%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB
%{_kde4_applicationsdir}/kdevelop.desktop
%{_kde4_applicationsdir}/kdevelop_ps.desktop
%{_kde4_appsdir}/kdevappwizard
%{_kde4_appsdir}/kdevcmakebuilder
%{_kde4_appsdir}/kdevcmakemanager
%{_kde4_appsdir}/kdevcppsupport
%{_kde4_appsdir}/kdevcustommakemanager
%{_kde4_appsdir}/kdevelop
%{_kde4_appsdir}/kdevgdb
%{_kde4_appsdir}/kdevokteta
%dir %{_kde4_appsdir}/plasma
%dir %{_kde4_appsdir}/plasma/plasmoids
%{_kde4_appsdir}/plasma/plasmoids/kdevelopsessions
%{_kde4_appsdir}/plasma/services/org.kde.plasma.dataengine.kdevelopsessions.operations
%{_kde4_bindir}/kdevelop
%{_kde4_bindir}/kdevelop!
%config %{_kde_config_dir}/kdeveloprc
%config %{_kde_config_dir}/kdevelop-qthelp.knsrc
%{_kde4_datadir}/mime/packages/kdevelop.xml
%{_kde4_iconsdir}/*
%{_kde4_libdir}/libkdev4cmakecommon.so
%{_kde4_libdir}/libkdev4cppduchain.so
%{_kde4_libdir}/libkdev4cppparser.so
%{_kde4_libdir}/libkdev4cpprpp.so
%{_kde4_modulesdir}/kcm_kdev_makebuilder.so
%{_kde4_modulesdir}/kcm_kdevcmake_settings.so
%{_kde4_modulesdir}/kdevastyle.so
%{_kde4_modulesdir}/kdevcmakebuilder.so
%{_kde4_modulesdir}/kdevcmakedocumentation.so
%{_kde4_modulesdir}/kdevcmakemanager.so
%{_kde4_modulesdir}/kdevcpplanguagesupport.so
%{_kde4_modulesdir}/kdevcustommakemanager.so
%{_kde4_modulesdir}/kdevcustomscript.so
%{_kde4_modulesdir}/kdevgdb.so
%{_kde4_modulesdir}/kdevkdeprovider.so
%{_kde4_modulesdir}/kdevmakebuilder.so
%{_kde4_modulesdir}/kdevmanpage.so
%{_kde4_modulesdir}/kdevokteta.so
%{_kde4_modulesdir}/kdevqthelp.so
%{_kde4_modulesdir}/kdevqthelp_config.so
%{_kde4_modulesdir}/krunner_kdevelopsessions.so
%{_kde4_modulesdir}/plasma_engine_kdevelopsessions.so
%{_kde4_servicesdir}/kcm_kdev*
%{_kde4_servicesdir}/kdev*
%{_kde4_servicesdir}/plasma-applet-kdevelopsessions.desktop
%{_kde4_servicesdir}/plasma-dataengine-kdevelopsessions.desktop
%changelog