123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- %define akonadi_version 1.8.0
- Name: kdepim-runtime
- Summary: KDE PIM Runtime Environment
- Summary(ja): KDE PIM ランタイム環境
- Version: 4.9.1
- Release: 1%{?_dist_release}
- License: GPLv2
- Group: Applications/Productivity
- URL: http://www.kde.org/
- Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: akonadi-devel >= %{akonadi_version}
- BuildRequires: desktop-file-utils
- BuildRequires: kdepimlibs-devel >= %{version}
- BuildRequires: kdelibs4-devel >= %{version}
- BuildRequires: libkgapi-devel
- BuildRequires: libboost-devel
- BuildRequires: libxml2-devel
- BuildRequires: libxslt-devel
- BuildRequires: openssl-devel
- BuildRequires: qjson-devel
- BuildRequires: shared-desktop-ontologies-devel >= 0.6.51
- BuildRequires: shared-mime-info >= 0.30
- BuildRequires: soprano-devel
- BuildRequires: strigi-devel
- BuildRequires: zlib-devel
- Requires: %{name}-libs = %{version}-%{release}
- %description
- %{summary}
- %package libs
- Summary: %{name} runtime libraries
- Summary(ja): %{name} ランタイムライブラリ
- Group: System Environment/Libraries
- License: LGPLv2
- #Requires: %{name} = %{version}-%{release}
- Requires: akonadi >= %{akonadi_version}
- %description libs
- %{summary}.
- %package devel
- Summary: Development files for %{name}
- Summary(ja): %{name} の開発用ファイル
- Group: Development/Libraries
- License: LGPLv2
- Requires: %{name}-libs = %{version}-%{release}
- Requires: kdepimlibs-devel >= %{version}
- %description devel
- %{summary}.
- Install %{name}-devel if you want to write or compile %{name} plugins.
- %prep
- %setup -q
- %build
- mkdir -p %{_target_platform}
- pushd %{_target_platform}
- %cmake \
- -DCMAKE_BUILD_TYPE=release \
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
- -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
- -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
- ..
- 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
- # dropt locale files
- rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
- find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
- %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 ||:
- %posttrans
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
- update-mime-database %{_datadir}/mime >& /dev/null ||:
- update-desktop-database -q &> /dev/null ||:
- %postun
- if [ $1 -eq 0 ] ; then
- update-mime-database %{_datadir}/mime &> /dev/null ||:
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /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,-)
- %doc COPYING
- %{_bindir}/*
- %{_libdir}/kde4/*.so
- %{_libdir}/kde4/imports/org/kde/*
- %{_datadir}/autostart/*
- %{_datadir}/akonadi/agents/*
- %{_datadir}/applications/kde4/*
- %{_datadir}/config/*rc
- %{_datadir}/dbus-1/interfaces/*.xml
- %{_datadir}/kde4/services/*
- %{_datadir}/kde4/servicetypes/*
- %{_datadir}/mime/packages/*
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/kde4/apps/*
- %{_datadir}/ontology/kde/aneo.*
- %files libs
- %defattr(-,root,root,-)
- %doc COPYING.LIB
- %{_libdir}/libakonadi-filestore.so.*
- %{_libdir}/libakonadi-xml.so.*
- %{_libdir}/libkdepim-copy.so.*
- %{_libdir}/libkdepim-runtime-dms-copy.so
- %{_libdir}/libkmindexreader.so.*
- %{_libdir}/libmaildir.so.*
- %files devel
- %defattr(-,root,root,-)
- %doc COPYING.LIB
- %{_libdir}/libakonadi-filestore.so
- %{_libdir}/libakonadi-xml.so
- %{_libdir}/libkdepim-copy.so
- %{_libdir}/libkmindexreader.so
- %{_libdir}/libmaildir.so
- %changelog
- * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.1-1
- - new upstream release
- * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.0-1
- - new upstream release
- - add BuildRequires: libkgapi-devel
- * Fri Aug 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.7.0-1
- - new upstream release
- * Sat Jul 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-2
- - dropt locale files
- * Mon Jun 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-1
- - new upstream release
- * Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.11.1-1
- - new upstream release
- - included COPYING[.LIB]
- * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.10-1
- - new upstream release
- * Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.6-1
- - new upstream release
- * Mon Sep 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-2
- - rebuilt for VineSeed
- - fixed changelog
- * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-1
- - new upstream release
- * Sat Jun 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.4-1
- - new upstream release
- * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-1
- - new upstream release
- * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.2-1
- - new upstream release
- * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.1-1
- - new upstream release
- * Tue Mar 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1
- - new upstream release
- - built with new toolchain
- * Mon Nov 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
- - new upstream release
- * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-1
- - new upstream release
- * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.1-1
- - new upstream release
- - used %%cmake macro
- * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.0-2
- - Initial build for Vine Linux
- * Thu Jul 30 2009 Than Ngo <than@redhat.com> - 4.3.0-1
- - 4.3.0
- * Wed Jul 22 2009 Than Ngo <than@redhat.com> - 4.2.98-1
- - 4.3rc3
- * Sat Jul 11 2009 Than Ngo <than@redhat.com> - 4.2.96-1
- - 4.3rc2
- * Thu Jul 02 2009 Rex Dieter <rdieter@fedoraproject.org> 4.2.95-3
- - -devel: Requires: kdepimlibs-devel
- - Req: akonadi >= 1.1.95
- * Mon Jun 29 2009 Than Ngo <than@redhat.com> - 4.2.95-2
- - cleanup
- * Fri Jun 26 2009 Than Ngo <than@redhat.com> - 4.2.95-1
- - first try
|