Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kdesdk4
kdesdk4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdesdk4.spec of Package kdesdk4
# # spec file for package kdesdk4 # # Copyright (c) 2011 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: kdesdk4 %if %suse_version > 1110 BuildRequires: antlr antlr-devel %endif # for libiberty (used by kmtrace for cp_demangle) BuildRequires: binutils-devel License: GPLv2+ Group: System/GUI/KDE Summary: KDE SDK Package Url: http://www.kde.org/ Version: 4.6.0 Release: 4.<RELEASE2> BuildRequires: db-devel flex kdebase4-workspace-devel >= %version libkonq-devel strigi BuildRequires: hunspell-devel libkdepimlibs4-devel libqca2-devel oxygen-icon-theme subversion-devel Source0: kdesdk-%version.tar.bz2 Patch: 4_6_BRANCH.diff Patch2: desktop-files.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Requires(post): shared-mime-info Requires(postun): shared-mime-info Suggests: kdesdk4-scripts Suggests: cervisia Suggests: kate Suggests: kde4-l10n-devel Suggests: kuiviewer Suggests: kcachegrind Suggests: kde4-kapptemplate Suggests: kio_svn Suggests: kmtrace Suggests: kstartperf Suggests: kdesdk4-kdeaccounts Suggests: umbrello Suggests: kpartloader Suggests: kompare Suggests: lokalize Suggests: okteta %description This package suggests the packages, built from the kdesdk module. %prep %setup -q -n kdesdk-%version %patch %patch2 %build %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif %cmake_kde4 -d build %make_jobs %install cd build %makeinstall %if 0 cp /usr/share/icons/oxygen/128x128/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ cp /usr/share/icons/oxygen/16x16/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/oxygen/22x22/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/ cp /usr/share/icons/oxygen/32x32/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ cp /usr/share/icons/oxygen/48x48/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ cp /usr/share/icons/oxygen/64x64/apps/kate.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ %endif %create_subdir_filelist -d cervisia %create_subdir_filelist -d kapptemplate %create_subdir_filelist -d kate -v kate.devel %create_subdir_filelist -d kcachegrind %create_subdir_filelist -d kdeaccounts-plugin %create_subdir_filelist -d kioslave %create_subdir_filelist -d kmtrace -v kmtrace.devel %create_subdir_filelist -d kstartperf %create_subdir_filelist -d kuiviewer %create_subdir_filelist -d scripts %create_subdir_filelist -d umbrello %create_subdir_filelist -d kpartloader %create_subdir_filelist -d kompare %create_subdir_filelist -d poxml %create_subdir_filelist -d dolphin-plugins/svn %create_subdir_filelist -d dolphin-plugins/git %create_subdir_filelist -d okteta -v okteta.devel %create_subdir_filelist -d lokalize cd .. cat filelists/git filelists/svn > filelists/dolphin-plugins sed -ri s,.*/usr/share/man/man1/cervisia.1.*,, filelists/cervisia sed -ri s,.*%_libdir/libktrace.so.*,, filelists/kmtrace %create_exclude_filelist %suse_update_desktop_file kuiviewer Development GUIDesigner %suse_update_desktop_file umbrello Development Design %suse_update_desktop_file -r kompare Utility TextEditor %suse_update_desktop_file cervisia Development RevisionControl %suse_update_desktop_file kcachegrind Development Profiling %suse_update_desktop_file kate TextEditor %suse_update_desktop_file kapptemplate %suse_update_desktop_file okteta Utility Editor %suse_update_desktop_file -r lokalize Development Translation # fix conflict with kdesdk3 rm $RPM_BUILD_ROOT/usr/share/man/man1/cervisia.1 %kde_post_install %post /sbin/ldconfig /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %postun /sbin/ldconfig /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %clean rm -rf $RPM_BUILD_ROOT rm -rf filelists %package scripts License: GPLv2+ Group: System/GUI/KDE Summary: Scripts for KDE Development %kde4_runtime_requires %description scripts This package contains the scripts for KDE development which are contained in the kdesdk module. %files scripts -f filelists/scripts %defattr(-,root,root) %doc COPYING COPYING.DOC README %doc %lang(en) %_kde4_htmldir/en/kdesrc-build %package -n kde4-l10n-devel License: GPLv2+ Group: System/GUI/KDE Summary: KDE SDK Package %kde4_runtime_requires %description -n kde4-l10n-devel This package suggests the packages, built from the kdesdk module. %files -n kde4-l10n-devel -f filelists/poxml %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n lokalize License: GPLv2+ Group: System/GUI/KDE Summary: KDE Translation Editor # Requires strigila_po.so (bnc#410716) Requires: kdesdk4 %kde4_runtime_requires Requires: libqt4_sql_backend python-kde4 Provides: kde4-lokalize = 4.3.0 Obsoletes: kde4-lokalize < 4.3.0 %description -n lokalize This package contains lokalize, an editor for translations %files -n lokalize -f filelists/lokalize %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n dolphin-plugins License: GPLv2+ Group: System/GUI/KDE Summary: version control plugins for dolphin %kde4_runtime_requires %description -n dolphin-plugins Dolphin file manager specific version control plugins that: - Show the version state of a file by an emblem + color - Provide a context menu with version control specific actions %files -n dolphin-plugins -f filelists/dolphin-plugins %package -n okteta License: GPLv2+ Group: Development/Tools/Other Summary: Hex Editor Provides: kde4-okteta = 4.0.81 Obsoletes: kde4-okteta <= 4.0.81 Requires(post): shared-mime-info Requires(postun): shared-mime-info %kde4_runtime_requires %description -n okteta Okteta is a hex editor for the KDE desktop. %post -n okteta /sbin/ldconfig /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %postun -n okteta /sbin/ldconfig /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : %files -n okteta -f filelists/okteta %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/oktetapart %package -n okteta-devel License: GPLv2+ Group: Development/Tools/Other Summary: Hex Editor Requires: okteta %description -n okteta-devel Okteta is a hex editor for the KDE desktop. %files -n okteta-devel -f filelists/okteta.devel %defattr(-,root,root) %{_includedir}/KDE/Kasten %{_includedir}/KDE/Okteta %{_includedir}/kasten %{_includedir}/okteta %package -n cervisia License: GPLv2+ Group: Development/Tools/Version Control Summary: CVS Frontend %kde4_runtime_requires Provides: kde4-cervisia = 4.3.0 Obsoletes: kde4-cervisia < 4.3.0 %description -n cervisia Cervisia is a to work with and browse in CVS repositories. %files -n cervisia -f filelists/cervisia %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/cervisiapart %package -n kate-devel License: GPLv2+ Group: Productivity/Editors/Other Summary: Advanced Text Editor Development Headers Requires: kate Provides: kde4-kate-devel = 4.3.0 Obsoletes: kde4-kate-devel < 4.3.0 Requires: libkde4-devel %description -n kate-devel Files needed for development of Kate plugins. %files -n kate-devel -f filelists/kate.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/kate %dir /usr/include/ktexteditor_codesnippets_core %package -n kate License: GPLv2+ Group: Productivity/Editors/Other Summary: Advanced Text Editor %kde4_runtime_requires Provides: kdebase3:/opt/kde3/bin/kate Provides: kde4-kate = 4.3.0 Obsoletes: kde4-kate < 4.3.0 Suggests: ctags %description -n kate Kate is an advanced text editor for KDE. %post -n kate -p /sbin/ldconfig %postun -n kate -p /sbin/ldconfig %files -n kate -f filelists/kate %defattr(-,root,root) %doc COPYING COPYING.DOC README %config %_kde_config_dir/katefiletemplates.knsrc %{_kde4_appsdir}/ktexteditor_snippets/ %dir %_kde4_appsdir/katexmltools %package -n kuiviewer License: GPLv2+ Group: Development/Tools/Other Summary: UI Files Viewer %kde4_runtime_requires Provides: kde4-kuiviewer = 4.3.0 Obsoletes: kde4-kuiviewer < 4.3.0 %description -n kuiviewer Displays Qt Designer UI files %files -n kuiviewer -f filelists/kuiviewer %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/kuiviewerpart %package -n kcachegrind License: GPLv2+ Group: Development/Tools/Other Summary: Frontend for Cachegrind %kde4_runtime_requires Provides: kde4-kcachegrind = 4.3.0 Obsoletes: kde4-kcachegrind < 4.3.0 %description -n kcachegrind KCachegrind is a frontend for cachegrind. %files -n kcachegrind -f filelists/kcachegrind %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kde4-kapptemplate License: GPLv2+ Group: System/GUI/KDE Summary: Template for KDE Application Development %kde4_runtime_requires %description -n kde4-kapptemplate This package contains templates to start the development of a new KDE application/part/plugin. %files -n kde4-kapptemplate -f filelists/kapptemplate %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/kdevappwizard %dir %_kde4_appsdir/kdevappwizard/templates %dir %_kde4_appsdir/kdevappwizard/template_previews %package -n kio_svn License: GPLv2+ Group: System/GUI/KDE Summary: KDE KIO-Slave for SVN %kde4_runtime_requires Provides: kde4-kio_svn = 4.3.0 Obsoletes: kde4-kio_svn < 4.3.0 %description -n kio_svn This KDE KIO-Slave allows to browse SVN repositories in file managers. %files -n kio_svn -f filelists/kioslave %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/kio_perldoc %package -n kmtrace License: GPLv2+ Group: Development/Tools/Other Summary: Memory Allocation Debugging Tool %kde4_runtime_requires Provides: kde4-kmtrace = 4.3.0 Obsoletes: kde4-kmtrace < 4.3.0 %description -n kmtrace This is a KDE tool to assist with malloc debugging using glibc's "mtrace" functionality. %files -n kmtrace -f filelists/kmtrace %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kmtrace-devel License: GPLv2+ Group: Development/Tools/Other Summary: Memory Allocation Debugging Tool Requires: kmtrace %description -n kmtrace-devel Development files for kmtrace, a KDE tool to assist with malloc debugging using glibc's "mtrace" functionality. %files -n kmtrace-devel -f filelists/kmtrace.devel %defattr(-,root,root) %package -n libktrace4 License: GPLv2+ Group: Development/Tools/Other Summary: Library for kmtrace %description -n libktrace4 Library for kmtrace, a KDE tool to assist with malloc debugging using glibc's "mtrace" functionality. %post -n libktrace4 -p /sbin/ldconfig %postun -n libktrace4 -p /sbin/ldconfig %files -n libktrace4 %defattr(-,root,root) %_kde4_libdir/libktrace.so.* %package -n kstartperf License: GPLv2+ Group: Development/Tools/Other Summary: KDE Benchmarking Tool %kde4_runtime_requires Provides: kde4-kstartperf = 4.3.0 Obsoletes: kde4-kstartperf < 4.3.0 %description -n kstartperf Startup time measurement tool for KDE applications %files -n kstartperf -f filelists/kstartperf %defattr(-,root,root) %doc COPYING COPYING.DOC README %package kdeaccounts License: GPLv2+ Group: System/GUI/KDE Summary: KAddressBook Plugins for Developer Database %kde4_runtime_requires %kde4_pimlibs_requires Requires: kdepim4-runtime %description kdeaccounts This package contains a plugin for KAddressBook to include KDE SVN accounts. %files kdeaccounts -f filelists/kdeaccounts-plugin %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n umbrello License: GPLv2+ Group: Development/Tools/Other Summary: UML Modeller %kde4_runtime_requires Provides: kde4-umbrello = 4.3.0 Obsoletes: kde4-umbrello < 4.3.0 %description -n umbrello Umbrello is a UML modelling application. %files -n umbrello -f filelists/umbrello %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kpartloader License: GPLv2 ; GPLv2+ Group: System/GUI/KDE Summary: KDE SDK Package %kde4_runtime_requires Provides: kde4-kpartloader = 4.3.0 Obsoletes: kde4-kpartloader < 4.3.0 %description -n kpartloader This package suggests the packages, built from the kdesdk module. %files -n kpartloader -f filelists/kpartloader %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kompare License: GPLv2+ Group: Development/Tools/Other Summary: File Comparator %kde4_runtime_requires Provides: kde4-kompare = 4.3.0 Obsoletes: kde4-kompare < 4.3.0 %description -n kompare Tool to visualize changes between two versions of a file. %post -n kompare -p /sbin/ldconfig %postun -n kompare -p /sbin/ldconfig %files -n kompare -f filelists/kompare %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/kompare %files -f filelists/exclude %defattr(-,root,root) %doc COPYING COPYING.DOC README %_kde4_libdir/strigi/strigila_diff.so /usr/include/kprofilemethod.h %_kde4_libdir/strigi/strigila_po.so %_kde4_libdir/strigi/strigita_ts.so /usr/share/strigi/fieldproperties/strigi_translation.fieldproperties %_kde4_libdir/kde4/fileviewgitplugin.so %_kde4_libdir/kde4/fileviewsvnplugin.so %_kde4_sharedir/config.kcfg/fileviewsvnpluginsettings.kcfg %_kde4_servicesdir/fileviewgitplugin.desktop %_kde4_servicesdir/fileviewsvnplugin.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