%define beta 0 %define vine4 %(grep -c 4. /etc/vine-release) Name: kdepim Version: 4.4.2 Release: 1%{?_dist_release} Summary: PIM (Personal Information Manager) for KDE Summary(ja): KDE の個人情報管理(PIM)アプリケーション集 Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2 Patch0: kdepim-4.1.80-libqgpgme-link-fix.patch # http://bugzilla.redhat.com/show_bug.cgi?id=496988 Patch1: kdepim-4.3.1-kmail-saveAttachments.patch ## upstream # KDE.org patches # KDE.gr.jp patches URL: http://www.kde.org/ Group: Applications/Productivity License: GPLv2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: akonadi-devel BuildRequires: bison flex BuildRequires: libboost-devel BuildRequires: cyrus-sasl-devel BuildRequires: desktop-file-utils BuildRequires: gnokii-devel BuildRequires: gpgme-devel BuildRequires: kdepimlibs-devel >= %{version} BuildRequires: kdelibs-experimental-devel BuildRequires: libassuan-devel BuildRequires: libical-devel BuildRequires: libXpm-devel libXScrnSaver-devel # TODO: libmapi from http://www.openchange.org/ #BuildRequires: libmapi-devel BuildRequires: libxslt-devel # libmal currently not used, recheck with kdepim-4.3 BuildRequires: pilot-link-devel >= 0.12.4 BuildRequires: python-devel BuildRequires: soprano-devel BuildRequires: qca2-devel BuildRequires: zlib-devel Provides: kdepim4 = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} %description A PIM (Personal Information Manager) for KDE. What it is ---------- * kmail: email client * knode: newsreader * knotes: sticky notes for the desktop * kontact: integrated PIM management * korganizer: journal, appointments, events, todos %{?_with_pilot_link:* kpilot: HotSync® software for Palm OS® devices} %package libs Summary: %{name} runtime libraries Group: System Environment/Libraries Requires: kdelibs4 >= %{version} %description libs %{summary}. %package devel Summary: Development files for kdepim Group: Development/Libraries Provides: kdepim4-devel = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release} Requires: kdelibs4-devel %description devel Development files for %{name}. Install %{name}-devel if you want to write or compile %{name} plugins. %prep %setup -q %patch0 -p1 -b .libqgpgme-link-fix %patch1 -p0 -b .kmail-saveAttachments %build mkdir -p %{_target_platform} pushd %{_target_platform} unset QTDIR || : ; . /etc/profile.d/qt4.sh %cmake \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIB_INSTALL_DIR:PATH=%{_libdir} \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} # make symlinks relative mkdir -p $RPM_BUILD_ROOT%{_docdir}/HTML/en/common pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en for i in *; do if [ -d $i -a -L $i/common ]; then rm -f $i/common ln -nfs ../common $i fi done popd %check for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do desktop-file-validate $f done %post touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||: %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||: update-desktop-database -q &> /dev/null ||: %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||: gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||: update-desktop-database -q &> /dev/null ||: fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* #{_libdir}/libkpilot_*.so %{_libdir}/kde4/*.so %{_libdir}/strigi/*.so %{_libdir}/akonadi/* %{_datadir}/applications/kde4/*.desktop %{_datadir}/kde4/apps/akregator #{_datadir}/kde4/apps/akonadi/* %{_datadir}/kde4/apps/akonadiconsole/* %{_datadir}/kde4/apps/blogilo/* %{_datadir}/kde4/apps/kaddressbook %{_datadir}/kde4/apps/kalarm %{_datadir}/kde4/apps/kconf_update/* %{_datadir}/kde4/apps/kdepimwidgets %{_datadir}/kde4/apps/kjots %{_datadir}/kde4/apps/kleopatra %{_datadir}/kde4/apps/kmail %{_datadir}/kde4/apps/kmailcvt %{_datadir}/kde4/apps/knode %{_datadir}/kde4/apps/knotes %{_datadir}/kde4/apps/konsolekalendar %{_datadir}/kde4/apps/kontact %{_datadir}/kde4/apps/kontactsummary %{_datadir}/kde4/apps/korgac %{_datadir}/kde4/apps/korganizer #{_datadir}/kde4/apps/kpilot %{_datadir}/kde4/apps/ktimetracker %{_datadir}/kde4/apps/kwatchgnupg %{_datadir}/kde4/apps/libkdepim %{_datadir}/kde4/apps/libkleopatra %{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/autostart/* #{_datadir}/akonadi/* %{_datadir}/config/* %{_datadir}/config.kcfg/* %{_datadir}/icons/hicolor/*/*/* %{_datadir}/icons/oxygen/*/*/* %{_datadir}/kde4/services/* %{_datadir}/kde4/servicetypes/* %doc %{_docdir}/HTML/en/* %{_mandir}/man1/* %files libs %defattr(-,root,root) %{_libdir}/lib*.so.* %{_libdir}/kde4/plugins/designer/*.so %files devel %defattr(-,root,root) #{_includedir}/kde4/* %{_libdir}/lib*.so #exclude %{_libdir}/libkpilot_*.so %changelog * Mon Apr 12 2010 Ryoichi INAGAKI 4.4.2-1 - new upstream release * Sun Mar 7 2010 Ryoichi INAGAKI 4.4.1-1 - new upstream release * Sat Mar 6 2010 Ryoichi INAGAKI 4.4.0-1 - new upstream release - built with new toolchain * Sun Oct 25 2009 Ryoichi INAGAKI 4.3.2-1 - new upstream release * Sun Sep 6 2009 Ryoichi INAGAKI 4.3.1-1 - new upstream release - dropped Patch100 (merged into upstream) - used %%cmake macro * Thu Aug 20 2009 Ryoichi INAGAKI 4.3.0-1 - new upstream release * Mon May 11 2009 Ryoichi INAGAKI 3.5.8-1 - applied new versioning policy, spec in UTF-8 - added Japnaese summary * Tue Oct 16 2007 AKIYAMA Kazuhito 3.5.8-0vl2 - rebuild for VineSeed * Tue Oct 16 2007 AKIYAMA Kazuhito 3.5.8-0vl1 - new upstream release * Wed Jun 20 2007 AKIYAMA Kazuhito 3.5.7-0vl2 - rebuild for VineSeed * Wed May 23 2007 AKIYAMA Kazuhito 3.5.7-0vl1 - new upstream release - remove all patches * Mon Apr 23 2007 AKIYAMA Kazuhito 3.5.6-0vl1 - new upstream release - add Patch0, 1 , 2 and 3 * Mon Oct 23 2006 NAKAMURA Kenta 3.5.5-0vl3 - added --with-qt-libraries and --enable-libsuffix option * Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl2 - rebuild for VineSeed * Tue Oct 3 2006 AKIYAMA Kazuhito 3.5.5-0vl1 - new upstream release * Mon Sep 4 2006 AKIYAMA Kazuhito 3.5.4-0vl3 - rebuild with pilot-link-0.12.0-0vl1 * Wed Aug 2 2006 AKIYAMA Kazuhito 3.5.4-0vl2 - rebuild for VineSeed * Wed Aug 2 2006 AKIYAMA Kazuhito 3.5.4-0vl1 - new upstream release * Wed May 31 2006 AKIYAMA Kazuhito 3.5.3-0vl2 - rebuild for VineSeed * Wed May 31 2006 AKIYAMA Kazuhito 3.5.3-0vl1 - new upstream release * Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl2 - rebuild for VineSeed * Wed Mar 22 2006 AKIYAMA Kazuhito 3.5.2-0vl1 - new upstream release * Tue Jan 31 2006 AKIYAMA Kazuhito 3.5.1-0vl2 - rebuild for VineSeed * Tue Jan 31 2006 AKIYAMA Kazuhito 3.5.1-0vl1 - new upstream release - delete BuildPrereq: libmal-devel and Requires: libmal * Thu Dec 8 2005 AKIYAMA Kazuhito 3.5.0-0vl2 - rebuild for VineSeed * Mon Nov 28 2005 AKIYAMA Kazuhito 3.5.0-0vl1 - new upstream release * Mon Nov 14 2005 AKIYAMA Kazuhito 3.5.0-0vl0.rc1 - new upstream release * Mon Oct 17 2005 AKIYAMA Kazuhito 3.4.92-0vl1 - new upstream release - delete all patches - add Requires: kdeaccessibility >= %%{version} - add --enable-indexlib to configure option * Tue Sep 20 2005 AKIYAMA Kazuhito 3.4.91-0vl1 - new upstream release - remove Patch0 - add Patch0 - Patch1 * Tue Aug 2 2005 AKIYAMA Kazuhito 3.4.2-0vl2 - rebuild for VineSeed * Tue Aug 2 2005 AKIYAMA Kazuhito 3.4.2-0vl1 - new upstream release - remove Patch0 - add BuildPrereq: gpgme-devel >= 0.4.5 - add Patch0 (http://bugs.kde.org/show_bug.cgi?id=109003) * Mon Jul 4 2005 AKIYAMA Kazuhito 3.4.1-0vl2 - rebuild for VineSeed - add --disable-rpath to configure option * Mon Jun 6 2005 AKIYAMA Kazuhito 3.4.1-0vl1 - new upstream release (delete old patch and add new security patch) - use %%{?_smp_mflags} for make option * Thu Mar 17 2005 AKIYAMA Kazuhito 3.4.0-0vl2 - rebuild for VineSeed * Wed Mar 16 2005 AKIYAMA Kazuhito 3.4.0-0vl1 - new upstream release - add patch0 * Fri Mar 4 2005 AKIYAMA Kazuhito 3.4.0-0vl0.rc1 - new upstream release (3.4.0-rc1) * Tue Feb 8 2005 AKIYAMA Kazuhito 3.3.92-0vl1 - new upstream release * Wed Feb 2 2005 AKIYAMA Kazuhito 3.3.91-0vl1 - new upstream release * Sat Jan 1 2005 AKIYAMA Kazuhito 3.3.2-0vl2 - rebuild for VineSeed * Sat Jan 1 2005 AKIYAMA Kazuhito 3.3.2-0vl1 - new upstream release * Sun Oct 17 2004 AKIYAMA Kazuhito 3.3.1-0vl1 - source upgrade - update %%files - all sub-packages are integrated into main package (exclude devel) * Tue Aug 10 2004 AKIYAMA Kazuhito 3.2.3-0vl2 - rebuild with qt32 * Tue Jun 15 2004 AKIYAMA Kazuhito 3.2.3-0vl1 - source upgrade - remove lines about vine26 * Sat May 1 2004 AKIYAMA Kazuhito 3.2.2-0vl1 - source upgrade - update %%files * Sat Mar 20 2004 AKIYAMA Kazuhito 3.2.1-0vl1 - source upgrade - update %%description - add Obsoletes: kdenetwork < 3.2.0 * Sat Jan 17 2004 AKIYAMA Kazuhito 3.1.5-0vl2 - rebuild for VineSeedPlus * Sun Jan 11 2004 AKIYAMA Kazuhito 3.1.5-0vl1 - source upgrade - build for VinePlus/2.6 - (VinePlus/2.6) BuildPrereq: autoconf258 - remove Patch * Sun Dec 28 2003 AKIYAMA Kazuhito 3.1.4-0vl3 - build for VineSeed with new toolchain and qt-3.2.3 - add configure option --with-xinerama --enable-final * Sun Nov 2 2003 AKIYAMA Kazuhito 3.1.4-0.26vl2 - rebuild with qt-3.2.1-0.26vl3 * Sun Oct 19 2003 AKIYAMA Kazuhito 3.1.4-0vl2 - rebuild with qt-3.2.1-0vl3 * Sat Sep 20 2003 AKIYAMA Kazuhito 3.1.4-0vl1 - build with gcc-3.2.3 * Thu Sep 18 2003 AKIYAMA Kazuhito 3.1.4-0.26vl1 - source upgrade - BuildPrereq: qt-devel >= 3.2.1 arts-devel >= 1:1.1.4 * Sat Aug 2 2003 AKIYAMA Kazuhito 3.1.3-0.26vl1 - rebuild for Vine2.6 * Mon Jul 21 2003 AKIYAMA Kazuhito 3.1.3-0vl1 - source upgrade - change spec to build with gcc295 - change make option for SMP and add script - add BuildPrereq: libmal-devel - add Requires: libmal for pilot * Sat May 10 2003 AKIYAMA Kazuhito 3.1.2-0vl1 - source upgrade - remove Patch800 (included in this source) - built with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus) * Sat Apr 5 2003 AKIYAMA Kazuhito 3.1.1-0vl1 - source upgrade - change spec to build both VineSeed and Vine2.5/2.6 - revised description and files section - remove source900 - add patch0 (http://bugs.kde.org/show_bug.cgi?id=55541) - add patch800 (Kdeveloper:02753) * Sat Oct 19 2002 AKIYAMA Kazuhito 3.0.4-0vl2 - objprelink2 support only ix86 (add %%ifarch %%{ix86} ... ) * Sun Oct 13 2002 AKIYAMA Kazuhito 3.0.4-0vl1 - source upgrade * Wed Oct 9 2002 AKIYAMA Kazuhito 3.0.3-0vl2 - rebuild with qt-3.0.5-0vl1 - BuildPrereq: autoconf253 objprelink2 * Wed Sep 18 2002 AKIYAMA Kazuhito 3.0.3-0vl1 - source upgrade * Sun Jul 14 2002 AKIYAMA Kazuhito 3.0.2-0vl1 - source upgrade - add BuildPrereq: autoconf252 automake15 * Thu Jul 4 2002 AKIYAMA Kazuhito 3.0.1-1vl1 - merged with rawhide 3.0.1-1 - change %%doc %%{_docdir}/HTML -> %%doc %%{_datadir}/doc/HTML - add Requires: for each package - There is Vine's previous changes, hacked for Vine -- Sun Mar 17 2002 AKIYAMA Kazuhito 2.2.2-1vl1 - build for VineSeed - delete Epoch - objprelink (i386 only) * Tue Jun 25 2002 Than Ngo 3.0.1-1 - 3.0.1 - fixed bug #67303 * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Tue Apr 16 2002 Bernhard Rosenkraenzer 3.0.0-3 - Rename libraries * Wed Apr 10 2002 Bernhard Rosenkraenzer 3.0.0-2 - Fix #61901 * Fri Mar 29 2002 Than Ngo 3.0.0-1 - final * Tue Jan 22 2002 Bernhard Rosenkraenzer 3.0.0-0.cvs20020122.1 - Update - Fix build on ia64 * Thu Jul 26 2001 Bernhard Rosenkraenzer 2.2-0.cvs20010726.1 - Update, fixes korganizer (#50006) * Sun May 13 2001 Bernhard Rosenkraenzer - Update to get rid of abbrowser (moved to kdebase) * Thu Feb 22 2001 Than Ngo - add missing ldconfig in %post anf %postun again - clean up specfile * Wed Feb 21 2001 Than Ngo - 2.1-respin - fix dangling symlink - remove excludearch ia64, some hacks to build on ia64 * Tue Feb 20 2001 Bernhard Rosenkraenzer - 2.1 * Mon Feb 5 2001 Bernhard Rosenkraenzer - Update * Tue Jan 22 2001 Bernhard Rosenkraenzer - Update * Wed Dec 20 2000 Bernhard Rosenkraenzer - Update to CVS - Enable building kpilot - Obsolete kpilot - Don't exclude ia64, use -O0 on ia64 - Disable building kpilot on ia64 (compiler breakage) * Mon Oct 23 2000 Bernhard Rosenkraenzer - 2.0 final * Wed Oct 4 2000 Bernhard Rosenkraenzer - 2.0 * Sun Oct 1 2000 Bernhard Rosenkraenzer - new CVS - fix installation of fonts * Sat Sep 23 2000 Bernhard Rosenkraenzer - new CVS snapshot - fix up spec file * Wed Aug 23 2000 Bernhard Rosenkraenzer - get rid of the 3d-screensavers package - now that qt-GL is part of qt, there's no need to keep them separate to avoid the dependency. * Mon Aug 21 2000 Than Ngo - fix gnome-session so that KDE2 can be started from gdm - pam/kde2 instead pam/kde to avoid problem with KDE1 - don't requires qt-GL, It's now in qt * Sun Aug 20 2000 Than Ngo - fix dependency problem with KDE1 so that KDE1 and KDE2 can be installed at the same time - add missing ldconfig in %post anf %postun - fix for reading config files in /etc/X11/xdm, add Xsession to requires * Tue Aug 8 2000 Bernhard Rosenkraenzer - Fix keytable in konsole (Bug #15682) * Sun Aug 6 2000 Bernhard Rosenkraenzer - rebuild, now that kdelibs2 works on alpha - use the same ugly hack to get kdebase to compile - remove ksysguard on alpha (even more compiler problems) * Fri Aug 4 2000 Bernhard Rosenkraenzer - new snapshot (fixed libGL detection in CVS) * Wed Aug 2 2000 Bernhard Rosenkraenzer - move to /usr/lib/kde2 - new snapshot * Sun Jul 23 2000 Nalin Dahyabhai - fix the --xdmdir arg to be correct (oops) * Fri Jul 21 2000 Nalin Dahyabhai - move kdm config files from /usr/config to /etc/X11 by forcing xdmdir * Fri Jul 21 2000 Bernhard Rosenkraenzer - new snapshot - some fixes to spec file * Tue Jul 18 2000 Than Ngo - rebuilt against glibc-2.1.92-14, gcc-2.96-40 * Sun Jul 16 2000 Than Ngo - use new snapshot - disable Motif * Tue Jul 11 2000 Bernhard Rosenkraenzer - use gcc 2.96 - new snapshot * Sun Jul 2 2000 Bernhard Rosenkraenzer - Epoch 3 - Update to current - Use egcs++ * Fri Jun 30 2000 Bernhard Rosenkraenzer - Update (I put the fixes directly to CVS rather than collecting them in the spec) * Fri Jun 23 2000 Bernhard Rosenkraenzer - remove man2html; we get that from man - new snapshot * Tue Jun 20 2000 Bernhard Rosenkraenzer - new snapshot - ExcludeArch ia64 for now - remove gnome .desktop file, we get it from gnome-core now. * Wed Apr 5 2000 Bernhard Rosenkraenzer - remove dependency on xpm (now in XFree86) * Sat Mar 18 2000 Bernhard Rosenkraenzer - new snapshot - move it to /usr, where it belongs * Sat Dec 25 1999 Bernhard Rosenkraenzer - Build the OpenGL screensavers, and move them to a separate package - Improve the spec file (BuildPrereqs etc.) * Thu Dec 16 1999 Bernhard Rosenkraenzer - remove patch #3 (obsoleted by kwin) * Sun Oct 24 1999 Bernhard Rosenkraenzer - 2.0 CVS snapshot - fix compilation * Thu Sep 23 1999 Preston Brown - clean up files in /tmp from startkde - mark doc files as such * Tue Sep 21 1999 Preston Brown - start autorun if present in startkde - check for configured soundcard before running sound services * Mon Sep 20 1999 Preston Brown - made kdelnks display Name property if they are of type Link * Thu Sep 16 1999 Preston Brown - moved png handling here (from kdelibs) - changed low color icon directory name to locolor * Tue Sep 14 1999 Preston Brown - added optional session management to logout dialog - include GNOME menus * Mon Sep 13 1999 Preston Brown - added link to /etc/X11/applnk, .directory file - included lowcolor icon sub-package - enable .desktop file access * Fri Sep 10 1999 Preston Brown - customized startkde script to set up user environment if not present. - mention kthememgr in description. * Wed Sep 08 1999 Preston Brown - upgraded to 1.1.2 release - kvt is back - kde icon included - linux console fonts included * Thu Jul 15 1999 Preston Brown - PAM console logout problem solved. * Mon Jul 12 1999 Preston Brown - now includes screensaver password security fix * Fri Jun 11 1999 Preston Brown - snapshot, includes kde 1.1.1 + fixes - kvt removed for security reasons. It is a steaming pile of... * Mon Apr 19 1999 Preston Brown - last snapshot before release * Fri Apr 16 1999 Preston Brown - today's snapshot makes kfm a bit nicer and some other fixes - moved default rc files to kdesupport * Thu Apr 15 1999 Preston Brown - SUID bit removed from konsole_grantpty -- not needed w/glibc 2.1 * Wed Apr 14 1999 Preston Brown - built with today's snapshot -- had to rebuild to fix pam problems. * Tue Apr 13 1999 Preston Brown - new snapshot fixes mimetype video/x-flic problem * Mon Apr 12 1999 Preston Brown - latest stable snapshot * Fri Apr 09 1999 Preston Brown - removed bell.xpm (used to be in fvwm2-icons, don't want installer to see - this previous connection and autoselect kdebase for upgrade). * Tue Mar 23 1999 Preston Brown - moved gdm patch * Mon Mar 22 1999 Preston Brown - added gdm session control file * Fri Mar 19 1999 Preston Brown - added pam-console stuff to kde pam file * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Mon Feb 07 1999 Preston Brown - upgraded to KDE 1.1 final. * Tue Jan 19 1999 Preston Brown - updated macros for RPM 3.0, removed red hat logo. * Tue Jan 05 1999 Preston Brown - re-merged from Duncan Haldane's stuff