Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
kdepim4
kdepim4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdepim4.spec of Package kdepim4
# # spec file for package kdepim4 # # 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: kdepim4 BuildRequires: cyrus-sasl-devel libqca2-devel BuildRequires: boost-devel gpgme-devel libkdepimlibs4-devel BuildRequires: libsoprano-devel soprano soprano-backend-redland BuildRequires: fdupes libassuan-devel oxygen-icon-theme-large License: LGPLv2.1+ Group: System/GUI/KDE Summary: Base package of kdepim Url: http://www.kde.org Version: 4.4.10 Release: 1 Source0: kdepim-%version.tar.bz2 Patch: 4_4_BRANCH.diff Patch1: akregator-useragent.diff Patch4: desktop-files.diff Patch7: knode-kontact-default.diff Patch8: assuan2.diff Patch9: ktimetracker_bnc651155.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Suggests: akregator Suggests: kaddressbook Suggests: blogilo Suggests: kmail Suggests: knode Suggests: knotes Suggests: kontact Suggests: korganizer Suggests: ktimetracker Suggests: kdepim4-wizards Suggests: kalarm Suggests: libkdepim4 %description This package contains the core files of the kdepim module. %prep %setup -q -n kdepim-%version %patch %patch1 %patch4 %patch7 %patch8 %patch9 %build %ifarch ppc64 RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif %cmake_kde4 -d build %make_jobs %install cd build %makeinstall mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps cp /usr/share/icons/oxygen/128x128/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ cp /usr/share/icons/oxygen/16x16/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/oxygen/22x22/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/ cp /usr/share/icons/oxygen/32x32/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ cp /usr/share/icons/oxygen/48x48/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ cp /usr/share/icons/oxygen/64x64/apps/internet-mail.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ cp /usr/share/icons/oxygen/128x128/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ cp /usr/share/icons/oxygen/16x16/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/oxygen/22x22/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/ cp /usr/share/icons/oxygen/32x32/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ cp /usr/share/icons/oxygen/48x48/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ cp /usr/share/icons/oxygen/64x64/apps/office-calendar.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ cp /usr/share/icons/oxygen/128x128/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ cp /usr/share/icons/oxygen/16x16/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ cp /usr/share/icons/oxygen/22x22/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/22x22/apps/ cp /usr/share/icons/oxygen/32x32/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ cp /usr/share/icons/oxygen/48x48/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ cp /usr/share/icons/oxygen/64x64/apps/office-address-book.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ %create_subdir_filelist -d ktimetracker %create_subdir_filelist -d korganizer -v devel %create_subdir_filelist -d kalarm -v devel %create_subdir_filelist -d kmail -v devel %create_subdir_filelist -d kmailcvt -f kmail %create_subdir_filelist -d knode -v devel %create_subdir_filelist -d kjots -v devel %create_subdir_filelist -d kontact -v devel %create_subdir_filelist -d wizards %create_subdir_filelist -d akregator -v devel %create_subdir_filelist -d knotes -v devel %create_subdir_filelist -d blogilo -v devel %create_subdir_filelist -d kaddressbook -v devel %create_subdir_filelist -d plugins/kaddressbook -f kaddressbook -v devel %create_subdir_filelist -d libkdepim -v libkdepim.devel #assuan is too old on 10.3 so no kleopatra %if %suse_version > 1030 %create_subdir_filelist -d kleopatra/libkleopatraclient -f libkdepim -v libkdepim.devel %endif cd .. #remove kontact plugins' desktop files that are in subpackages from the kontact list akregatorplugins="/usr/%_lib/kde4/kontact_akregatorplugin.so /usr/share/kde4/services/kontact/akregatorplugin.desktop" korganizerplugins="/usr/%_lib/kde4/kontact_journalplugin.so /usr/%_lib/kde4/kontact_korganizerplugin.so /usr/%_lib/kde4/kontact_todoplugin.so /usr/share/kde4/services/kontact/korganizerplugin.desktop /usr/share/kde4/services/kontact/journalplugin.desktop /usr/share/kde4/services/kontact/todoplugin.desktop" kaddressbookplugin="/usr/%_lib/kde4/kontact_kaddressbookplugin.so /usr/share/kde4/services/kontact/kaddressbookplugin.desktop" kmailplugin="/usr/%_lib/kde4/kontact_kmailplugin.so /usr/share/kde4/services/kontact/kmailplugin.desktop" knodeplugin="/usr/%_lib/kde4/kontact_knodeplugin.so /usr/share/kde4/services/kontact/knodeplugin.desktop" knotesplugin="/usr/%_lib/kde4/kontact_knotesplugin.so /usr/share/kde4/services/kontact/knotesplugin.desktop" kjotsplugin="/usr/%_lib/kde4/kontact_kjotsplugin.so /usr/share/kde4/services/kontact/kjots_plugin.desktop" ktimetrackerplugin="/usr/%_lib/kde4/kontact_ktimetrackerplugin.so /usr/share/kde4/services/kontact/ktimetracker_plugin.desktop" for i in $akregatorplugins $korganizerplugins $kaddressbookplugin $kmailplugin $knodeplugin $knotesplugin $kjotsplugin $ktimetrackerplugin do sed -ri s,$i,, filelists/kontact done for i in $akregatorplugins do echo $i >> filelists/akregator done for i in $korganizerplugins do echo $i >> filelists/korganizer done for i in $kaddressbookplugin do echo $i >> filelists/kaddressbook done sed -ri s,.*/usr/%_lib/libkabcommon.so.*,, filelists/kaddressbook for i in $kmailplugin do echo $i >> filelists/kmail done for i in $knodeplugin do echo $i >> filelists/knode done for i in $knotesplugin do echo $i >> filelists/knotes done for i in $kjotsplugin do echo $i >> filelists/kjots done for i in $ktimetrackerplugin do echo $i >> filelists/ktimetracker done grep "/usr/lib" filelists/libkdepim | grep "/kde4/" >filelists/libkdepim.devel cat filelists/libkdepim.devel | while read line; do echo "%exclude $line";done >>filelists/devel grep "/usr/lib" filelists/libkdepim | grep -v "/kde4/" >filelists/libkdepim.libs cat filelists/libkdepim.libs | while read line; do echo "%exclude $line";done >>filelists/libkdepim %create_exclude_filelist %suse_update_desktop_file korganizer Office Calendar %suse_update_desktop_file kalarm Utility TimeUtility %suse_update_desktop_file ktimetracker Utility TimeUtility %suse_update_desktop_file kaddressbook Office ContactManagement %suse_update_desktop_file knotes Utility DesktopUtility %suse_update_desktop_file KMail Network Email %suse_update_desktop_file KNode Network News %suse_update_desktop_file -r Kontact Office Core-Office %suse_update_desktop_file groupwarewizard Utility DesktopSettings %suse_update_desktop_file -r akregator Network RSS-News %suse_update_desktop_file Kjots Utility TimeUtility %suse_update_desktop_file -r blogilo Utility WebUtility %kde_post_install %fdupes -s $RPM_BUILD_ROOT %kde_post_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT rm -rf filelists %package -n akregator License: LGPLv2.1+ Group: Productivity/Networking/News/Utilities Summary: RSS Feed Reader Requires: libkdepim4 = %version %kde4_runtime_requires %kde4_pimlibs_requires Provides: kde4-akregator = 4.3.0 Obsoletes: kde4-akregator < 4.3.0 Provides: kdepim3:/opt/kde3/bin/akregator %description -n akregator A KDE Feed Aggregator %post -n akregator -p /sbin/ldconfig %postun -n akregator -p /sbin/ldconfig %files -n akregator -f filelists/akregator %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n blogilo License: LGPLv2.1+ Group: Productivity/Editors/Other Summary: KDE Blog Editor Requires: libkdepim4 = %version %kde4_runtime_requires %kde4_pimlibs_requires Provides: bilbo = 1.0 Obsoletes: bilbo <= 1.0 %description -n blogilo A KDE Blog Editor %post -n blogilo -p /sbin/ldconfig %postun -n blogilo -p /sbin/ldconfig %files -n blogilo -f filelists/blogilo %defattr(-,root,root) %package -n kaddressbook License: LGPLv2.1+ Group: Productivity/Networking/Email/Utilities Summary: Address Manager Requires: libkdepim4 = %version %kde4_akonadi_requires %kde4_runtime_requires %kde4_pimlibs_requires Requires: kdepim4-runtime Provides: kde4-kaddressbook = 4.3.0 Obsoletes: kde4-kaddressbook < 4.3.0 Provides: kdepim3:/opt/kde3/bin/kaddressbook %description -n kaddressbook The KDE Address Book %post -n kaddressbook -p /sbin/ldconfig %postun -n kaddressbook -p /sbin/ldconfig %files -n kaddressbook -f filelists/kaddressbook %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %_kde4_libdir/akonadi %package -n kmail License: LGPLv2.1+ Group: Productivity/Networking/Email/Clients Summary: Mail Client Requires: libkdepim4 = %version Requires: akonadi-runtime %kde4_runtime_requires %kde4_pimlibs_requires Requires: kdepim4-runtime Provides: kde4-kmail = 4.3.0 Obsoletes: kde4-kmail < 4.3.0 Provides: kdepim3:/opt/kde3/bin/kmail Recommends: spamassassin %description -n kmail KMail is the mail client of KDE. %post -n kmail -p /sbin/ldconfig %postun -n kmail -p /sbin/ldconfig %files -n kmail -f filelists/kmail %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %config %_kde_config_dir/kmail.antispamrc %config %_kde_config_dir/kmail.antivirusrc %_kde4_iconsdir/hicolor/*/apps/internet-mail.* %_kde4_appsdir/kmail/pics/* %_kde4_modulesdir/kmail_bodypartformatter_text_*.so %_kde4_appsdir/kmail/plugins/bodypartformatter %package -n knode License: LGPLv2.1+ Group: Productivity/Networking/News/Clients Summary: News Reader Requires: libkdepim4 = %version %kde4_runtime_requires %kde4_pimlibs_requires Requires: kdepim4-runtime Provides: kde4-knode = 4.3.0 Obsoletes: kde4-knode < 4.3.0 Provides: kdepim3:/opt/kde3/bin/knode %description -n knode KNode is a usenet news reader for KDE. %post -n knode -p /sbin/ldconfig %postun -n knode -p /sbin/ldconfig %files -n knode -f filelists/knode %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %_kde4_appsdir/knode/pics/* %package -n knotes License: LGPLv2.1+ Group: Productivity/Other Summary: Popup Notes Requires: libkdepim4 = %version %kde4_runtime_requires %kde4_pimlibs_requires Provides: kde4-knotes = 4.3.0 Obsoletes: kde4-knotes < 4.3.0 Provides: kdepim3:/opt/kde3/bin/knotes %description -n knotes KNotes is a note taking application for KDE. %post -n knotes -p /sbin/ldconfig %postun -n knotes -p /sbin/ldconfig %files -n knotes -f filelists/knotes %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %exclude %_kde4_appsdir/knotes/knotes_part.rc %package -n kontact License: LGPLv2.1+ Group: Productivity/Other Summary: Personal Information Manager Requires: libkdepim4 = %version %kde4_runtime_requires Requires: kdepim4-runtime Provides: kde4-kontact = 4.3.0 Obsoletes: kde4-kontact < 4.3.0 Provides: kdepim3 = 3.5.1 Obsoletes: kdepim3 <= 3.5.1 %description -n kontact Kontact combines the individual applications KMail, KAddressBook and KOrganizer under one GUI. %post -n kontact -p /sbin/ldconfig %postun -n kontact -p /sbin/ldconfig %files -n kontact -f filelists/kontact %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n korganizer License: LGPLv2.1+ Group: Productivity/Office/Organizers Summary: Personal Organizer Requires: libkdepim4 = %version %kde4_runtime_requires %kde4_pimlibs_requires Requires: kdepim4-runtime Provides: kde4-korganizer = 4.3.0 Obsoletes: kde4-korganizer < 4.3.0 Provides: kdepim3:/opt/kde3/bin/korganizer %description -n korganizer KOrganizer is a calendar application for KDE. %post -n korganizer -p /sbin/ldconfig %postun -n korganizer -p /sbin/ldconfig %files -n korganizer -f filelists/korganizer %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %config %_kde_config_dir/korganizer.knsrc %_kde4_iconsdir/hicolor/*/apps/office-calendar.* %package -n ktimetracker License: LGPLv2.1+ Group: Productivity/Other Summary: Personal Time Tracker Requires: libkdepim4 = %version Provides: kde4-ktimetracker = 4.3.0 Obsoletes: kde4-ktimetracker < 4.3.0 %kde4_runtime_requires %kde4_pimlibs_requires %description -n ktimetracker KTimeTracker tracks time spent on various tasks. %post -n ktimetracker -p /sbin/ldconfig %postun -n ktimetracker -p /sbin/ldconfig %files -n ktimetracker -f filelists/ktimetracker %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n kjots License: GPLv2+ Group: Productivity/Other Summary: Note Taker Requires: libkdepim4 = %version Provides: kde4-kjots = 4.3.0 Obsoletes: kde4-kjots < 4.3.0 %kde4_runtime_requires %kde4_pimlibs_requires %description -n kjots KDE Note Taking Utility %post -n kjots -p /sbin/ldconfig %postun -n kjots -p /sbin/ldconfig %files -n kjots -f filelists/kjots %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package wizards License: LGPLv2.1+ Group: System/GUI/KDE Summary: KDE Personal Information Management Wizards %kde4_runtime_requires Provides: kdepim3:/opt/kde3/bin/egroupwarewizard %description wizards This package contains wizards to setup groupware accounts in Kontact. %post wizards -p /sbin/ldconfig %postun wizards -p /sbin/ldconfig %files wizards -f filelists/wizards %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n kalarm License: LGPLv2.1+ Group: Productivity/Other Summary: Personal Alarm Scheduler Requires: libkdepim4 = %version Provides: kde4-kalarm = 4.3.0 Obsoletes: kde4-kalarm < 4.3.0 %kde4_runtime_requires %kde4_pimlibs_requires %description -n kalarm Personal alarm message, command and email scheduler for KDE %post -n kalarm -p /sbin/ldconfig %postun -n kalarm -p /sbin/ldconfig %files -n kalarm -f filelists/kalarm %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n libkdepim4 License: LGPLv2.1+ Group: System/GUI/KDE Summary: KDE PIM Libraries %requires_eq akonadi %requires_ge libqt4-x11 %description -n libkdepim4 This package contains the basic packages for KDE PIM applications. %post -n libkdepim4 -p /sbin/ldconfig %postun -n libkdepim4 -p /sbin/ldconfig %files -n libkdepim4 -f filelists/libkdepim.libs %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package -n libkdepim4-devel License: LGPLv2.1+ Group: System/GUI/KDE Summary: KDE PIM Libraries Requires: libkdepim4 = %version Requires: libkdepimlibs4-devel %description -n libkdepim4-devel This package contains the basic packages for KDE PIM applications. %files -n libkdepim4-devel -f filelists/libkdepim.devel %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %package devel License: LGPLv2.1+ Group: System/GUI/KDE Summary: KDE Personal Information Management Base Package: Build Environment Requires: libkdepim4-devel korganizer = %version kontact = %version knode = %version kmail = %version Requires: kdepim4 = %version kalarm = %version Requires: kaddressbook = %version Requires: akregator = %version %description devel This packages contains development files of the kdepim module. %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files devel -f filelists/devel %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %_kde4_libdir/*.so %files -f filelists/exclude %defattr(-,root,root) %doc COPYING COPYING.LIB COPYING.DOC README %_kde4_bindir/* %_kde4_libdir/*.so.* %exclude %_kde4_modulesdir/kmail_bodypartformatter_text_*.so %_kde4_modulesdir/* %dir %_kde4_libdir/strigi %_kde4_libdir/strigi/strigiea_*.so %_kde4_applicationsdir/* /usr/share/dbus-1/interfaces/* %_kde4_iconsdir/oxygen %_kde4_sharedir/apps %_kde4_sharedir/config.kcfg %_kde4_sharedir/services %doc %lang(en) %_kde4_htmldir/en/kleopatra %config %_kde_config_dir/libkleopatrarc %_kde4_iconsdir/hicolor/*/apps/office-address-book.* %exclude %_kde4_appsdir/kmail/pics/* %exclude %_kde4_appsdir/kmail/plugins/bodypartformatter %exclude %_kde4_appsdir/knode/pics/* %doc %lang(en) %_kde4_htmldir/en/kontact-admin %doc %lang(en) %_kde4_htmldir/en/kabcclient %doc %lang(en) %_kde4_htmldir/en/konsolekalendar %doc %lang(en) %_kde4_htmldir/en/kioslave/news %doc %lang(en) %_kde4_htmldir/en/kwatchgnupg %_kde4_mandir/man1/kabcclient.1.gz %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