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