]>
Commit | Line | Data |
---|---|---|
76a2e470 | 1 | # |
465d9a7c | 2 | # Conditional build: |
76a2e470 | 3 | # |
06fe3611 | 4 | %define qtver 4.6.2 |
1407e147 | 5 | %define _state stable |
805357fc | 6 | %define orgname kdepimlibs |
b415cfb4 | 7 | |
76a2e470 JB |
8 | Summary: Personal Information Management (PIM) libraries for KDE |
9 | Summary(pl.UTF-8): Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE | |
3985f3d1 | 10 | Name: kde4-kdepimlibs |
0ef0cbe9 | 11 | Version: 4.4.4 |
162835b7 | 12 | Release: 1 |
465d9a7c RT |
13 | License: GPL |
14 | Group: X11/Applications | |
4fb4fc81 | 15 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 |
0ef0cbe9 | 16 | # Source0-md5: e92bc0f16a919d7ea9e9c4ae47418fde |
89cbf7a4 | 17 | Patch100: %{name}-branch.diff |
9aa55fb0 | 18 | BuildRequires: Qt3Support-devel >= %{qtver} |
d7a0eb54 | 19 | BuildRequires: QtCore-devel >= %{qtver} |
20 | BuildRequires: QtDBus-devel >= %{qtver} | |
21 | BuildRequires: QtGui-devel >= %{qtver} | |
22 | BuildRequires: QtSvg-devel >= %{qtver} | |
3917ea05 | 23 | BuildRequires: QtTest-devel >= %{qtver} |
b415cfb4 | 24 | BuildRequires: QtXml-devel >= %{qtver} |
123cad3b | 25 | BuildRequires: akonadi-devel >= 1.3.1 |
9aa55fb0 | 26 | BuildRequires: automoc4 >= 0.9.88 |
1d2e36d6 | 27 | BuildRequires: boost-devel >= 1.35.0 |
123cad3b | 28 | BuildRequires: cmake >= 2.8.0 |
465d9a7c | 29 | BuildRequires: cyrus-sasl-devel |
d7f41546 | 30 | BuildRequires: gpgme-devel >= 1:1.2.0 |
6ef0fbce | 31 | BuildRequires: kde4-kdelibs-devel >= %{version} |
b415cfb4 | 32 | BuildRequires: libical-devel >= 0.43 |
a4fb386a | 33 | BuildRequires: openldap-devel |
465d9a7c RT |
34 | BuildRequires: openssl-devel |
35 | BuildRequires: pcre-devel | |
d7a0eb54 | 36 | BuildRequires: qt4-build >= %{qtver} |
d7a0eb54 | 37 | BuildRequires: qt4-qmake >= %{qtver} |
74bc8b78 | 38 | BuildRequires: rpmbuild(macros) >= 1.293 |
465d9a7c RT |
39 | BuildRequires: zlib-devel |
40 | BuildConflicts: indexlib | |
41 | BuildConflicts: kdepim-kontact-libs | |
42 | BuildConflicts: kdepim-libkmailprivate | |
9aa55fb0 | 43 | Requires(post,postun): /sbin/ldconfig |
b415cfb4 | 44 | Requires: %{name} = %{version}-%{release} |
d7f41546 | 45 | Requires: gpgme >= 1:1.2.0 |
3985f3d1 | 46 | Obsoletes: kdepimlibs4 |
c4690781 | 47 | Conflicts: kdelibs |
3985f3d1 | 48 | Conflicts: kdepimlibs4 |
465d9a7c RT |
49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
50 | ||
465d9a7c | 51 | %description |
76a2e470 JB |
52 | kdepimlibs is a collection of Personal Information Management (PIM) |
53 | libraries for the K Desktop Environment (KDE). | |
465d9a7c RT |
54 | |
55 | %description -l pl.UTF-8 | |
76a2e470 | 56 | kdepimlibs to zestaw bibliotek PIM dla K Desktop Environment (KDE). |
465d9a7c RT |
57 | |
58 | %package devel | |
76a2e470 JB |
59 | Summary: Development files for KDE PIM libraries |
60 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek KDE PIM | |
465d9a7c | 61 | Group: X11/Development/Libraries |
310b49d7 | 62 | Requires: %{name} = %{version}-%{release} |
3a292712 | 63 | Requires: kde4-kdelibs-devel >= %{version} |
465d9a7c RT |
64 | |
65 | %description devel | |
66 | This package contains header files needed if you wish to build | |
76a2e470 | 67 | applications based on kdepimlibs. |
465d9a7c RT |
68 | |
69 | %description devel -l pl.UTF-8 | |
70 | Pakiet ten zawiera pliki nagłówkowe potrzebne do budowy aplikacji | |
76a2e470 | 71 | opartych na kdepimlibs. |
465d9a7c RT |
72 | |
73 | %prep | |
74 | %setup -q -n %{orgname}-%{version} | |
b4fad9f1 | 75 | #%patch100 -p0 |
465d9a7c RT |
76 | |
77 | %build | |
97ea6728 | 78 | install -d build |
465d9a7c RT |
79 | cd build |
80 | %cmake \ | |
81 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
b415cfb4 | 82 | -DLIB_INSTALL_DIR=%{_libdir} \ |
d93ee9a1 | 83 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ |
b8423925 | 84 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
a4df2387 | 85 | %if "%{_lib}" == "lib64" |
86 | -DLIB_SUFFIX=64 \ | |
87 | %endif | |
465d9a7c RT |
88 | ../ |
89 | ||
90 | %{__make} | |
91 | ||
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %{__make} -C build/ install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT \ | |
97 | kde_htmldir=%{_kdedocdir} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
805357fc JB |
102 | %post -p /sbin/ldconfig |
103 | %postun -p /sbin/ldconfig | |
465d9a7c RT |
104 | |
105 | %files | |
106 | %defattr(644,root,root,755) | |
123cad3b | 107 | %attr(755,root,root) %{_libdir}/libakonadi-kcal.so.4.*.* |
108 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kcal.so.4 | |
465d9a7c | 109 | %attr(755,root,root) %{_libdir}/libkabc.so.4.*.* |
805357fc | 110 | %attr(755,root,root) %ghost %{_libdir}/libkabc.so.4 |
465d9a7c | 111 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4.*.* |
805357fc | 112 | %attr(755,root,root) %ghost %{_libdir}/libkabc_file_core.so.4 |
465d9a7c | 113 | %attr(755,root,root) %{_libdir}/libkcal.so.4.*.* |
805357fc | 114 | %attr(755,root,root) %ghost %{_libdir}/libkcal.so.4 |
465d9a7c | 115 | %attr(755,root,root) %{_libdir}/libkldap.so.4.*.* |
805357fc | 116 | %attr(755,root,root) %ghost %{_libdir}/libkldap.so.4 |
123cad3b | 117 | %attr(755,root,root) %{_libdir}/libkontactinterface.so.4.*.* |
118 | %attr(755,root,root) %ghost %{_libdir}/libkontactinterface.so.4 | |
465d9a7c | 119 | %attr(755,root,root) %{_libdir}/libkresources.so.4.*.* |
805357fc | 120 | %attr(755,root,root) %ghost %{_libdir}/libkresources.so.4 |
465d9a7c | 121 | %attr(755,root,root) %{_libdir}/libktnef.so.4.*.* |
805357fc | 122 | %attr(755,root,root) %ghost %{_libdir}/libktnef.so.4 |
465d9a7c | 123 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4.*.* |
805357fc | 124 | %attr(755,root,root) %ghost %{_libdir}/libkxmlrpcclient.so.4 |
e18e743d | 125 | %attr(755,root,root) %{_libdir}/libgpgme++-pthread.so.2.*.* |
9aa55fb0 | 126 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++-pthread.so.2 |
e18e743d | 127 | %attr(755,root,root) %{_libdir}/libgpgme++.so.2.*.* |
9aa55fb0 | 128 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++.so.2 |
465d9a7c | 129 | %attr(755,root,root) %{_libdir}/libkblog.so.4.*.* |
805357fc | 130 | %attr(755,root,root) %ghost %{_libdir}/libkblog.so.4 |
465d9a7c | 131 | %attr(755,root,root) %{_libdir}/libkimap.so.4.*.* |
805357fc | 132 | %attr(755,root,root) %ghost %{_libdir}/libkimap.so.4 |
465d9a7c | 133 | %attr(755,root,root) %{_libdir}/libkmime.so.4.*.* |
805357fc | 134 | %attr(755,root,root) %ghost %{_libdir}/libkmime.so.4 |
465d9a7c | 135 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4.*.* |
805357fc | 136 | %attr(755,root,root) %ghost %{_libdir}/libkpimidentities.so.4 |
465d9a7c | 137 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4.*.* |
805357fc | 138 | %attr(755,root,root) %ghost %{_libdir}/libkpimutils.so.4 |
465d9a7c | 139 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4.*.* |
805357fc | 140 | %attr(755,root,root) %ghost %{_libdir}/libmailtransport.so.4 |
465d9a7c | 141 | %attr(755,root,root) %{_libdir}/libqgpgme.so.1.*.* |
9aa55fb0 | 142 | %attr(755,root,root) %ghost %{_libdir}/libqgpgme.so.1 |
e18e743d | 143 | %attr(755,root,root) %{_libdir}/libgpgme++-pth.so.2.*.* |
9aa55fb0 | 144 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++-pth.so.2 |
805357fc | 145 | %attr(755,root,root) %ghost %{_libdir}/libsyndication.so.4 |
9aa55fb0 | 146 | %attr(755,root,root) %{_libdir}/libsyndication.so.4.*.* |
123cad3b | 147 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-contact.so.4 |
148 | %attr(755,root,root) %{_libdir}/libakonadi-contact.so.4.*.* | |
01d426f1 | 149 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kde.so.4 |
150 | %attr(755,root,root) %{_libdir}/libakonadi-kde.so.4.*.* | |
151 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kmime.so.4 | |
152 | %attr(755,root,root) %{_libdir}/libakonadi-kmime.so.4.*.* | |
9aa55fb0 | 153 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kabc.so.4 |
154 | %attr(755,root,root) %{_libdir}/libakonadi-kabc.so.4.*.* | |
b415cfb4 | 155 | %attr(755,root,root) %ghost %{_libdir}/libkholidays.so.4 |
156 | %attr(755,root,root) %{_libdir}/libkholidays.so.4.*.* | |
157 | %attr(755,root,root) %ghost %{_libdir}/libkpimtextedit.so.4 | |
158 | %attr(755,root,root) %{_libdir}/libkpimtextedit.so.4.*.* | |
159 | %attr(755,root,root) %ghost %{_libdir}/libmicroblog.so.4 | |
160 | %attr(755,root,root) %{_libdir}/libmicroblog.so.4.*.* | |
465d9a7c RT |
161 | |
162 | %attr(755,root,root) %{_libdir}/kde4/kabc_directory.so | |
163 | %attr(755,root,root) %{_libdir}/kde4/kabc_file.so | |
164 | %attr(755,root,root) %{_libdir}/kde4/kabc_ldapkio.so | |
165 | %attr(755,root,root) %{_libdir}/kde4/kabc_net.so | |
166 | %attr(755,root,root) %{_libdir}/kde4/kabcformat_binary.so | |
167 | %attr(755,root,root) %{_libdir}/kde4/kcal_local.so | |
168 | %attr(755,root,root) %{_libdir}/kde4/kcal_localdir.so | |
123cad3b | 169 | %attr(755,root,root) %{_libdir}/kde4/kcm_akonadicontact_actions.so |
465d9a7c RT |
170 | %attr(755,root,root) %{_libdir}/kde4/kcm_kresources.so |
171 | %attr(755,root,root) %{_libdir}/kde4/kcm_mailtransport.so | |
172 | %attr(755,root,root) %{_libdir}/kde4/kio_imap4.so | |
173 | %attr(755,root,root) %{_libdir}/kde4/kio_ldap.so | |
174 | %attr(755,root,root) %{_libdir}/kde4/kio_mbox.so | |
175 | %attr(755,root,root) %{_libdir}/kde4/kio_nntp.so | |
176 | %attr(755,root,root) %{_libdir}/kde4/kio_pop3.so | |
177 | %attr(755,root,root) %{_libdir}/kde4/kio_sieve.so | |
178 | %attr(755,root,root) %{_libdir}/kde4/kio_smtp.so | |
27d9e33b | 179 | |
465d9a7c | 180 | %dir %{_datadir}/apps/kabc |
14335097 | 181 | %{_datadir}/apps/kabc/*countrytransl.map |
465d9a7c | 182 | %dir %{_datadir}/apps/kabc/formats |
14335097 | 183 | %{_datadir}/apps/kabc/formats/*binary.desktop |
123cad3b | 184 | %dir %{_datadir}/apps/akonadi |
185 | %{_datadir}/apps/akonadi/contact | |
01d426f1 | 186 | %dir %{_datadir}/apps/akonadi-kde |
187 | %{_datadir}/apps/akonadi-kde/kcfg2dbus.xsl | |
465d9a7c RT |
188 | |
189 | %{_datadir}/apps/kconf_update/mailtransports.upd | |
190 | %{_datadir}/apps/kconf_update/migrate-transports.pl | |
b415cfb4 | 191 | %{_datadir}/apps/libkholidays |
465d9a7c RT |
192 | |
193 | %{_datadir}/config.kcfg/mailtransport.kcfg | |
123cad3b | 194 | %{_datadir}/config.kcfg/recentcontactscollections.kcfg |
195 | %{_datadir}/config.kcfg/specialmailcollections.kcfg | |
465d9a7c RT |
196 | |
197 | %{_datadir}/dbus-1/interfaces/org.kde.KResourcesManager.xml | |
198 | %{_datadir}/dbus-1/interfaces/org.kde.pim.IdentityManager.xml | |
199 | ||
200 | %{_datadir}/kde4/services/imap4.protocol | |
201 | %{_datadir}/kde4/services/imaps.protocol | |
202 | %{_datadir}/kde4/services/ldap.protocol | |
203 | %{_datadir}/kde4/services/ldaps.protocol | |
204 | %{_datadir}/kde4/services/mbox.protocol | |
205 | %{_datadir}/kde4/services/nntp.protocol | |
206 | %{_datadir}/kde4/services/nntps.protocol | |
207 | %{_datadir}/kde4/services/pop3.protocol | |
208 | %{_datadir}/kde4/services/pop3s.protocol | |
209 | %{_datadir}/kde4/services/sieve.protocol | |
210 | %{_datadir}/kde4/services/smtp.protocol | |
211 | %{_datadir}/kde4/services/smtps.protocol | |
212 | ||
123cad3b | 213 | %{_datadir}/kde4/services/akonadicontact_actions.desktop |
465d9a7c RT |
214 | %{_datadir}/kde4/services/kcm_mailtransport.desktop |
215 | %{_datadir}/kde4/services/kresources.desktop | |
216 | %dir %{_datadir}/kde4/services/kresources | |
217 | %{_datadir}/kde4/services/kresources/kabc/dir.desktop | |
218 | %dir %{_datadir}/kde4/services/kresources/kabc | |
219 | %{_datadir}/kde4/services/kresources/kabc/file.desktop | |
220 | %{_datadir}/kde4/services/kresources/kabc/ldapkio.desktop | |
221 | %{_datadir}/kde4/services/kresources/kabc/net.desktop | |
222 | %{_datadir}/kde4/services/kresources/kabc_manager.desktop | |
223 | %dir %{_datadir}/kde4/services/kresources/kcal | |
224 | %{_datadir}/kde4/services/kresources/kcal/local.desktop | |
225 | %{_datadir}/kde4/services/kresources/kcal/localdir.desktop | |
226 | %{_datadir}/kde4/services/kresources/kcal_manager.desktop | |
227 | ||
123cad3b | 228 | %{_datadir}/kde4/servicetypes/kontactplugin.desktop |
465d9a7c RT |
229 | %{_datadir}/kde4/servicetypes/kresources_manager.desktop |
230 | %{_datadir}/kde4/servicetypes/kresources_plugin.desktop | |
9aa55fb0 | 231 | %lang(en) %{_kdedocdir}/en/kcontrol/kresources |
232 | %lang(en) %{_kdedocdir}/en/kioslave/imap | |
233 | %lang(en) %{_kdedocdir}/en/kioslave/ldap | |
123cad3b | 234 | %lang(en) %{_kdedocdir}/en/kioslave/mbox |
9aa55fb0 | 235 | %lang(en) %{_kdedocdir}/en/kioslave/nntp |
236 | %lang(en) %{_kdedocdir}/en/kioslave/pop3 | |
123cad3b | 237 | %lang(en) %{_kdedocdir}/en/kioslave/sieve |
9aa55fb0 | 238 | %lang(en) %{_kdedocdir}/en/kioslave/smtp |
123cad3b | 239 | %lang(en) %{_kdedocdir}/en/kioslave/mbox |
240 | %lang(en) %{_kdedocdir}/en/kioslave/sieve | |
465d9a7c | 241 | |
b415cfb4 | 242 | %{_datadir}/mime/packages/kdepimlibs-mime.xml |
243 | ||
465d9a7c RT |
244 | %files devel |
245 | %defattr(644,root,root,755) | |
76a2e470 | 246 | %attr(755,root,root) %{_libdir}/*.so |
b415cfb4 | 247 | %{_includedir}/KDE/Akonadi |
248 | %{_includedir}/KDE/KABC | |
249 | %{_includedir}/KDE/KBlog | |
250 | %{_includedir}/KDE/KCal | |
251 | %{_includedir}/KDE/KHolidays | |
123cad3b | 252 | %{_includedir}/KDE/KIMAP |
253 | %{_includedir}/KDE/KontactInterface | |
b415cfb4 | 254 | %{_includedir}/KDE/KLDAP |
123cad3b | 255 | %{_includedir}/KDE/KMime |
b415cfb4 | 256 | %{_includedir}/KDE/KPIMIdentities |
257 | %{_includedir}/KDE/KPIMTextEdit | |
258 | %{_includedir}/KDE/KPIMUtils | |
259 | %{_includedir}/KDE/KResources | |
123cad3b | 260 | %{_includedir}/KDE/KTNEF |
261 | %{_includedir}/KDE/Mailtransport | |
b415cfb4 | 262 | %{_includedir}/KDE/Syndication |
01d426f1 | 263 | %{_includedir}/akonadi |
465d9a7c RT |
264 | %{_includedir}/kabc |
265 | %{_includedir}/kcal | |
b415cfb4 | 266 | %{_includedir}/kholidays |
123cad3b | 267 | %{_includedir}/kontactinterface |
465d9a7c RT |
268 | %{_includedir}/kldap |
269 | %{_includedir}/kresources | |
270 | %{_includedir}/ktnef | |
271 | %{_includedir}/syndication | |
272 | %{_includedir}/kxmlrpcclient | |
273 | %{_includedir}/gpgme++ | |
274 | %{_includedir}/kblog | |
275 | %{_includedir}/kimap | |
276 | %{_includedir}/kmime | |
277 | %{_includedir}/kpimidentities | |
b415cfb4 | 278 | %{_includedir}/kpimtextedit |
465d9a7c RT |
279 | %{_includedir}/kpimutils |
280 | %{_includedir}/mailtransport | |
b415cfb4 | 281 | %{_includedir}/microblog |
465d9a7c RT |
282 | %{_includedir}/qgpgme |
283 | ||
14335097 AM |
284 | %dir %{_libdir}/gpgmepp |
285 | %{_libdir}/gpgmepp/*.cmake | |
b415cfb4 | 286 | %{_libdir}/cmake/KdepimLibs |
465d9a7c | 287 | %{_datadir}/apps/cmake/modules/*.cmake |