[6725] | 1 | %define akonadi_version 1.8.0 |
---|
[521] | 2 | |
---|
| 3 | Name: kdepim-runtime |
---|
| 4 | Summary: KDE PIM Runtime Environment |
---|
[1786] | 5 | Summary(ja): KDE PIM ランタイム環境 |
---|
[6797] | 6 | Version: 4.9.1 |
---|
[4662] | 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | |
---|
[4662] | 9 | License: GPLv2 |
---|
[1894] | 10 | Group: Applications/Productivity |
---|
[521] | 11 | URL: http://www.kde.org/ |
---|
[1786] | 12 | |
---|
[6725] | 13 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
[521] | 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildRequires: akonadi-devel >= %{akonadi_version} |
---|
| 17 | BuildRequires: desktop-file-utils |
---|
| 18 | BuildRequires: kdepimlibs-devel >= %{version} |
---|
[560] | 19 | BuildRequires: kdelibs4-devel >= %{version} |
---|
[6725] | 20 | BuildRequires: libkgapi-devel |
---|
[1894] | 21 | BuildRequires: libboost-devel |
---|
| 22 | BuildRequires: libxml2-devel |
---|
| 23 | BuildRequires: libxslt-devel |
---|
| 24 | BuildRequires: openssl-devel |
---|
[6725] | 25 | BuildRequires: qjson-devel |
---|
[4662] | 26 | BuildRequires: shared-desktop-ontologies-devel >= 0.6.51 |
---|
| 27 | BuildRequires: shared-mime-info >= 0.30 |
---|
[1894] | 28 | BuildRequires: soprano-devel |
---|
| 29 | BuildRequires: strigi-devel |
---|
[521] | 30 | BuildRequires: zlib-devel |
---|
| 31 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | %{summary} |
---|
| 35 | |
---|
| 36 | %package libs |
---|
| 37 | Summary: %{name} runtime libraries |
---|
[1894] | 38 | Summary(ja): %{name} ランタイムライブラリ |
---|
[521] | 39 | Group: System Environment/Libraries |
---|
[3929] | 40 | License: LGPLv2 |
---|
[1786] | 41 | #Requires: %{name} = %{version}-%{release} |
---|
[521] | 42 | Requires: akonadi >= %{akonadi_version} |
---|
| 43 | |
---|
| 44 | %description libs |
---|
| 45 | %{summary}. |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %package devel |
---|
| 49 | Summary: Development files for %{name} |
---|
[3929] | 50 | Summary(ja): %{name} の開発用ファイル |
---|
[521] | 51 | Group: Development/Libraries |
---|
[3929] | 52 | License: LGPLv2 |
---|
[521] | 53 | Requires: %{name}-libs = %{version}-%{release} |
---|
| 54 | Requires: kdepimlibs-devel >= %{version} |
---|
| 55 | |
---|
| 56 | %description devel |
---|
| 57 | %{summary}. |
---|
| 58 | Install %{name}-devel if you want to write or compile %{name} plugins. |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %prep |
---|
| 62 | %setup -q |
---|
| 63 | |
---|
| 64 | %build |
---|
| 65 | mkdir -p %{_target_platform} |
---|
| 66 | pushd %{_target_platform} |
---|
| 67 | %cmake \ |
---|
| 68 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 69 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 70 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 71 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 72 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 73 | .. |
---|
| 74 | popd |
---|
| 75 | |
---|
| 76 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %install |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 83 | |
---|
| 84 | # make symlinks relative |
---|
| 85 | mkdir -p $RPM_BUILD_ROOT%{_docdir}/HTML/en/common |
---|
| 86 | pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en |
---|
| 87 | for i in *; do |
---|
| 88 | if [ -d $i -a -L $i/common ]; then |
---|
| 89 | rm -f $i/common |
---|
| 90 | ln -nfs ../common $i |
---|
| 91 | fi |
---|
| 92 | done |
---|
| 93 | popd |
---|
| 94 | |
---|
[4247] | 95 | # dropt locale files |
---|
| 96 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
---|
| 97 | |
---|
[6725] | 98 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 99 | |
---|
[521] | 100 | %check |
---|
| 101 | for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do |
---|
| 102 | desktop-file-validate $f |
---|
| 103 | done |
---|
| 104 | |
---|
| 105 | %post |
---|
| 106 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 107 | |
---|
| 108 | %posttrans |
---|
| 109 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 110 | update-mime-database %{_datadir}/mime >& /dev/null ||: |
---|
| 111 | update-desktop-database -q &> /dev/null ||: |
---|
| 112 | |
---|
| 113 | %postun |
---|
| 114 | if [ $1 -eq 0 ] ; then |
---|
| 115 | update-mime-database %{_datadir}/mime &> /dev/null ||: |
---|
| 116 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 117 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 118 | update-desktop-database -q &> /dev/null ||: |
---|
| 119 | fi |
---|
| 120 | |
---|
| 121 | %post libs -p /sbin/ldconfig |
---|
| 122 | |
---|
| 123 | %postun libs -p /sbin/ldconfig |
---|
| 124 | |
---|
| 125 | %clean |
---|
| 126 | rm -rf $RPM_BUILD_ROOT |
---|
| 127 | |
---|
| 128 | |
---|
| 129 | %files |
---|
| 130 | %defattr(-,root,root,-) |
---|
[3929] | 131 | %doc COPYING |
---|
[521] | 132 | %{_bindir}/* |
---|
| 133 | %{_libdir}/kde4/*.so |
---|
[4216] | 134 | %{_libdir}/kde4/imports/org/kde/* |
---|
[560] | 135 | %{_datadir}/autostart/* |
---|
[521] | 136 | %{_datadir}/akonadi/agents/* |
---|
| 137 | %{_datadir}/applications/kde4/* |
---|
| 138 | %{_datadir}/config/*rc |
---|
| 139 | %{_datadir}/dbus-1/interfaces/*.xml |
---|
| 140 | %{_datadir}/kde4/services/* |
---|
[4662] | 141 | %{_datadir}/kde4/servicetypes/* |
---|
[521] | 142 | %{_datadir}/mime/packages/* |
---|
| 143 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 144 | %{_datadir}/kde4/apps/* |
---|
[6725] | 145 | %{_datadir}/ontology/kde/aneo.* |
---|
[521] | 146 | |
---|
[1894] | 147 | %files libs |
---|
| 148 | %defattr(-,root,root,-) |
---|
[3929] | 149 | %doc COPYING.LIB |
---|
[6725] | 150 | %{_libdir}/libakonadi-filestore.so.* |
---|
| 151 | %{_libdir}/libakonadi-xml.so.* |
---|
| 152 | %{_libdir}/libkdepim-copy.so.* |
---|
| 153 | %{_libdir}/libkdepim-runtime-dms-copy.so |
---|
| 154 | %{_libdir}/libkmindexreader.so.* |
---|
| 155 | %{_libdir}/libmaildir.so.* |
---|
[1894] | 156 | |
---|
[521] | 157 | %files devel |
---|
| 158 | %defattr(-,root,root,-) |
---|
[3929] | 159 | %doc COPYING.LIB |
---|
[6725] | 160 | %{_libdir}/libakonadi-filestore.so |
---|
| 161 | %{_libdir}/libakonadi-xml.so |
---|
| 162 | %{_libdir}/libkdepim-copy.so |
---|
| 163 | %{_libdir}/libkmindexreader.so |
---|
| 164 | %{_libdir}/libmaildir.so |
---|
[521] | 165 | |
---|
[1894] | 166 | %changelog |
---|
[6797] | 167 | * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.1-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[6725] | 170 | * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.9.0-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - add BuildRequires: libkgapi-devel |
---|
| 173 | |
---|
[4662] | 174 | * Fri Aug 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.7.0-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[4247] | 177 | * Sat Jul 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-2 |
---|
| 178 | - dropt locale files |
---|
| 179 | |
---|
[4216] | 180 | * Mon Jun 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.0-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[3929] | 183 | * Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.11.1-1 |
---|
| 184 | - new upstream release |
---|
| 185 | - included COPYING[.LIB] |
---|
| 186 | |
---|
[2724] | 187 | * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.10-1 |
---|
| 188 | - new upstream release |
---|
| 189 | |
---|
[1894] | 190 | * Fri Sep 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.6-1 |
---|
| 191 | - new upstream release |
---|
[521] | 192 | |
---|
[1786] | 193 | * Mon Sep 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-2 |
---|
| 194 | - rebuilt for VineSeed |
---|
| 195 | - fixed changelog |
---|
| 196 | |
---|
| 197 | * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.5-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
| 200 | * Sat Jun 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.4-1 |
---|
| 201 | - new upstream release |
---|
| 202 | |
---|
[962] | 203 | * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.3-1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
[815] | 206 | * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.2-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[560] | 209 | * Sun Mar 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.1-1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
| 212 | * Tue Mar 2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.4.0-1 |
---|
| 213 | - new upstream release |
---|
| 214 | - built with new toolchain |
---|
| 215 | |
---|
[521] | 216 | * Mon Nov 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1 |
---|
| 217 | - new upstream release |
---|
| 218 | |
---|
| 219 | * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
| 222 | * Sat Sep 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.1-1 |
---|
| 223 | - new upstream release |
---|
| 224 | - used %%cmake macro |
---|
| 225 | |
---|
| 226 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.0-2 |
---|
| 227 | - Initial build for Vine Linux |
---|
| 228 | |
---|
| 229 | * Thu Jul 30 2009 Than Ngo <than@redhat.com> - 4.3.0-1 |
---|
| 230 | - 4.3.0 |
---|
| 231 | |
---|
| 232 | * Wed Jul 22 2009 Than Ngo <than@redhat.com> - 4.2.98-1 |
---|
| 233 | - 4.3rc3 |
---|
| 234 | |
---|
| 235 | * Sat Jul 11 2009 Than Ngo <than@redhat.com> - 4.2.96-1 |
---|
| 236 | - 4.3rc2 |
---|
| 237 | |
---|
| 238 | * Thu Jul 02 2009 Rex Dieter <rdieter@fedoraproject.org> 4.2.95-3 |
---|
| 239 | - -devel: Requires: kdepimlibs-devel |
---|
| 240 | - Req: akonadi >= 1.1.95 |
---|
| 241 | |
---|
| 242 | * Mon Jun 29 2009 Than Ngo <than@redhat.com> - 4.2.95-2 |
---|
| 243 | - cleanup |
---|
| 244 | |
---|
| 245 | * Fri Jun 26 2009 Than Ngo <than@redhat.com> - 4.2.95-1 |
---|
| 246 | - first try |
---|