]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | # | |
4 | %define qtver 4.8.1 | |
5 | %define _state stable | |
6 | %define orgname kdepimlibs | |
7 | %define akonadiver 1.8.0 | |
8 | ||
9 | Summary: Personal Information Management (PIM) libraries for KDE | |
10 | Summary(pl.UTF-8): Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE | |
11 | Name: kde4-kdepimlibs | |
12 | Version: 4.9.3 | |
13 | Release: 1 | |
14 | License: GPL | |
15 | Group: X11/Applications | |
16 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
17 | # Source0-md5: 1050770487d22bff8a44636a38172228 | |
18 | Patch100: %{name}-branch.diff | |
19 | BuildRequires: Qt3Support-devel >= %{qtver} | |
20 | BuildRequires: QtCore-devel >= %{qtver} | |
21 | BuildRequires: QtDBus-devel >= %{qtver} | |
22 | BuildRequires: QtGui-devel >= %{qtver} | |
23 | BuildRequires: QtSvg-devel >= %{qtver} | |
24 | BuildRequires: QtTest-devel >= %{qtver} | |
25 | BuildRequires: QtXml-devel >= %{qtver} | |
26 | BuildRequires: akonadi-devel >= %{akonadiver} | |
27 | BuildRequires: automoc4 >= 0.9.88 | |
28 | BuildRequires: boost-devel >= 1.35.0 | |
29 | BuildRequires: cmake >= 2.8.0 | |
30 | BuildRequires: cyrus-sasl-devel | |
31 | BuildRequires: gpgme-devel >= 1:1.2.0 | |
32 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
33 | BuildRequires: libical-devel >= 0.43 | |
34 | BuildRequires: openldap-devel | |
35 | BuildRequires: openssl-devel | |
36 | BuildRequires: pcre-devel | |
37 | BuildRequires: prison-devel | |
38 | BuildRequires: pth-devel | |
39 | BuildRequires: qt4-build >= %{qtver} | |
40 | BuildRequires: qt4-qmake >= %{qtver} | |
41 | BuildRequires: rpmbuild(macros) >= 1.600 | |
42 | BuildRequires: zlib-devel | |
43 | BuildConflicts: indexlib | |
44 | BuildConflicts: kdepim-kontact-libs | |
45 | BuildConflicts: kdepim-libkmailprivate | |
46 | Requires(post,postun): /sbin/ldconfig | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | Requires: akonadi-libs >= %{akonadiver} | |
49 | Requires: gpgme >= 1:1.2.0 | |
50 | Obsoletes: kdepimlibs4 | |
51 | Conflicts: kdepimlibs4 | |
52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
53 | ||
54 | %description | |
55 | kdepimlibs is a collection of Personal Information Management (PIM) | |
56 | libraries for the K Desktop Environment (KDE). | |
57 | ||
58 | %description -l pl.UTF-8 | |
59 | kdepimlibs to zestaw bibliotek PIM dla K Desktop Environment (KDE). | |
60 | ||
61 | %package devel | |
62 | Summary: Development files for KDE PIM libraries | |
63 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek KDE PIM | |
64 | Group: X11/Development/Libraries | |
65 | Requires: %{name} = %{version}-%{release} | |
66 | Requires: kde4-kdelibs-devel >= %{version} | |
67 | ||
68 | %description devel | |
69 | This package contains header files needed if you wish to build | |
70 | applications based on kdepimlibs. | |
71 | ||
72 | %description devel -l pl.UTF-8 | |
73 | Pakiet ten zawiera pliki nagłówkowe potrzebne do budowy aplikacji | |
74 | opartych na kdepimlibs. | |
75 | ||
76 | %prep | |
77 | %setup -q -n %{orgname}-%{version} | |
78 | #%%patch100 -p0 | |
79 | ||
80 | %build | |
81 | install -d build | |
82 | cd build | |
83 | %cmake \ | |
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 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
103 | %attr(755,root,root) %{_libdir}/libakonadi-calendar.so.4.*.* | |
104 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-calendar.so.4 | |
105 | %attr(755,root,root) %{_libdir}/libakonadi-kcal.so.4.*.* | |
106 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kcal.so.4 | |
107 | %attr(755,root,root) %{_libdir}/libakonadi-notes.so.4.*.* | |
108 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-notes.so.4 | |
109 | %attr(755,root,root) %{_libdir}/libkabc.so.4.*.* | |
110 | %attr(755,root,root) %ghost %{_libdir}/libkabc.so.4 | |
111 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4.*.* | |
112 | %attr(755,root,root) %ghost %{_libdir}/libkabc_file_core.so.4 | |
113 | %attr(755,root,root) %{_libdir}/libkalarmcal.so.2.*.* | |
114 | %attr(755,root,root) %ghost %{_libdir}/libkalarmcal.so.2 | |
115 | %attr(755,root,root) %{_libdir}/libkcal.so.4.*.* | |
116 | %attr(755,root,root) %ghost %{_libdir}/libkcal.so.4 | |
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 | |
121 | %attr(755,root,root) %{_libdir}/libkldap.so.4.*.* | |
122 | %attr(755,root,root) %ghost %{_libdir}/libkldap.so.4 | |
123 | %attr(755,root,root) %{_libdir}/libkontactinterface.so.4.*.* | |
124 | %attr(755,root,root) %ghost %{_libdir}/libkontactinterface.so.4 | |
125 | %attr(755,root,root) %{_libdir}/libkmbox.so.4.*.* | |
126 | %attr(755,root,root) %ghost %{_libdir}/libkmbox.so.4 | |
127 | %attr(755,root,root) %{_libdir}/libkresources.so.4.*.* | |
128 | %attr(755,root,root) %ghost %{_libdir}/libkresources.so.4 | |
129 | %attr(755,root,root) %{_libdir}/libktnef.so.4.*.* | |
130 | %attr(755,root,root) %ghost %{_libdir}/libktnef.so.4 | |
131 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4.*.* | |
132 | %attr(755,root,root) %ghost %{_libdir}/libkxmlrpcclient.so.4 | |
133 | %attr(755,root,root) %{_libdir}/libgpgme++-pthread.so.2.*.* | |
134 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++-pthread.so.2 | |
135 | %attr(755,root,root) %{_libdir}/libgpgme++-pth.so.2.*.* | |
136 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++-pth.so.2 | |
137 | %attr(755,root,root) %{_libdir}/libgpgme++.so.2.*.* | |
138 | %attr(755,root,root) %ghost %{_libdir}/libgpgme++.so.2 | |
139 | %attr(755,root,root) %{_libdir}/libkblog.so.4.*.* | |
140 | %attr(755,root,root) %ghost %{_libdir}/libkblog.so.4 | |
141 | %attr(755,root,root) %{_libdir}/libkimap.so.4.*.* | |
142 | %attr(755,root,root) %ghost %{_libdir}/libkimap.so.4 | |
143 | %attr(755,root,root) %{_libdir}/libkmime.so.4.*.* | |
144 | %attr(755,root,root) %ghost %{_libdir}/libkmime.so.4 | |
145 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4.*.* | |
146 | %attr(755,root,root) %ghost %{_libdir}/libkpimidentities.so.4 | |
147 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4.*.* | |
148 | %attr(755,root,root) %ghost %{_libdir}/libkpimutils.so.4 | |
149 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4.*.* | |
150 | %attr(755,root,root) %ghost %{_libdir}/libmailtransport.so.4 | |
151 | %attr(755,root,root) %{_libdir}/libqgpgme.so.1.*.* | |
152 | %attr(755,root,root) %ghost %{_libdir}/libqgpgme.so.1 | |
153 | %attr(755,root,root) %ghost %{_libdir}/libsyndication.so.4 | |
154 | %attr(755,root,root) %{_libdir}/libsyndication.so.4.*.* | |
155 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-contact.so.4 | |
156 | %attr(755,root,root) %{_libdir}/libakonadi-contact.so.4.*.* | |
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.*.* | |
161 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kabc.so.4 | |
162 | %attr(755,root,root) %{_libdir}/libakonadi-kabc.so.4.*.* | |
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.*.* | |
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 | |
177 | %attr(755,root,root) %{_libdir}/kde4/kcm_akonadicontact_actions.so | |
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 | |
187 | ||
188 | %dir %{_datadir}/apps/kabc | |
189 | %{_datadir}/apps/kabc/*countrytransl.map | |
190 | %dir %{_datadir}/apps/kabc/formats | |
191 | %{_datadir}/apps/kabc/formats/*binary.desktop | |
192 | %dir %{_datadir}/apps/akonadi | |
193 | %{_datadir}/apps/akonadi/contact | |
194 | %dir %{_datadir}/apps/akonadi-kde | |
195 | %{_datadir}/apps/akonadi-kde/kcfg2dbus.xsl | |
196 | ||
197 | %{_datadir}/apps/kconf_update/mailtransports.upd | |
198 | %{_datadir}/apps/kconf_update/migrate-transports.pl | |
199 | %{_datadir}/apps/libkholidays | |
200 | ||
201 | %{_datadir}/config.kcfg/mailtransport.kcfg | |
202 | %{_datadir}/config.kcfg/recentcontactscollections.kcfg | |
203 | %{_datadir}/config.kcfg/resourcebase.kcfg | |
204 | %{_datadir}/config.kcfg/specialmailcollections.kcfg | |
205 | ||
206 | %{_datadir}/dbus-1/interfaces/org.kde.KResourcesManager.xml | |
207 | %{_datadir}/dbus-1/interfaces/org.kde.pim.IdentityManager.xml | |
208 | ||
209 | %{_datadir}/kde4/services/imap.protocol | |
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 | ||
222 | %{_datadir}/kde4/services/akonadicontact_actions.desktop | |
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 | |
233 | %{_datadir}/kde4/services/kresources/kcal/localdir.desktop | |
234 | %{_datadir}/kde4/services/kresources/kcal_manager.desktop | |
235 | ||
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 | |
251 | %{_datadir}/kde4/servicetypes/kontactplugin.desktop | |
252 | %{_datadir}/kde4/servicetypes/kresources_manager.desktop | |
253 | %{_datadir}/kde4/servicetypes/kresources_plugin.desktop | |
254 | %lang(en) %{_kdedocdir}/en/kcontrol/kresources | |
255 | %lang(en) %{_kdedocdir}/en/kioslave/imap | |
256 | %lang(en) %{_kdedocdir}/en/kioslave/ldap | |
257 | %lang(en) %{_kdedocdir}/en/kioslave/mbox | |
258 | %lang(en) %{_kdedocdir}/en/kioslave/nntp | |
259 | %lang(en) %{_kdedocdir}/en/kioslave/pop3 | |
260 | %lang(en) %{_kdedocdir}/en/kioslave/smtp | |
261 | %lang(en) %{_kdedocdir}/en/kioslave/sieve | |
262 | ||
263 | %{_datadir}/mime/packages/kdepimlibs-mime.xml | |
264 | ||
265 | %files devel | |
266 | %defattr(644,root,root,755) | |
267 | %attr(755,root,root) %{_libdir}/*.so | |
268 | %{_includedir}/KDE/Akonadi | |
269 | %{_includedir}/KDE/KABC | |
270 | %{_includedir}/KDE/KAlarmCal | |
271 | %{_includedir}/KDE/KBlog | |
272 | %{_includedir}/KDE/KCal | |
273 | %{_includedir}/KDE/KCalCore | |
274 | %{_includedir}/KDE/KCalUtils | |
275 | %{_includedir}/KDE/KHolidays | |
276 | %{_includedir}/KDE/KIMAP | |
277 | %{_includedir}/KDE/KontactInterface | |
278 | %{_includedir}/KDE/KLDAP | |
279 | %{_includedir}/KDE/KMime | |
280 | %{_includedir}/KDE/KPIMIdentities | |
281 | %{_includedir}/KDE/KPIMTextEdit | |
282 | %{_includedir}/KDE/KPIMUtils | |
283 | %{_includedir}/KDE/KResources | |
284 | %{_includedir}/KDE/KTNEF | |
285 | %{_includedir}/KDE/Mailtransport | |
286 | %{_includedir}/KDE/Syndication | |
287 | %{_includedir}/akonadi | |
288 | %{_includedir}/kabc | |
289 | %{_includedir}/kalarmcal | |
290 | %{_includedir}/kcal | |
291 | %{_includedir}/kcalcore | |
292 | %{_includedir}/kcalutils | |
293 | %{_includedir}/kholidays | |
294 | %{_includedir}/kontactinterface | |
295 | %{_includedir}/kldap | |
296 | %{_includedir}/kmbox | |
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 | |
306 | %{_includedir}/kpimtextedit | |
307 | %{_includedir}/kpimutils | |
308 | %{_includedir}/mailtransport | |
309 | %{_includedir}/microblog | |
310 | %{_includedir}/qgpgme | |
311 | ||
312 | %dir %{_libdir}/gpgmepp | |
313 | %{_libdir}/gpgmepp/*.cmake | |
314 | %{_libdir}/cmake/KdepimLibs | |
315 | %{_datadir}/apps/cmake/modules/*.cmake |