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