]>
Commit | Line | Data |
---|---|---|
76a2e470 | 1 | # |
465d9a7c RT |
2 | # Conditional build: |
3 | %bcond_without apidocs # do not prepare API documentation | |
76a2e470 | 4 | # |
6ef0fbce | 5 | %define _state unstable |
805357fc | 6 | %define orgname kdepimlibs |
76a2e470 JB |
7 | Summary: Personal Information Management (PIM) libraries for KDE |
8 | Summary(pl.UTF-8): Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE | |
3985f3d1 | 9 | Name: kde4-kdepimlibs |
739219e8 | 10 | Version: 4.0.73 |
11 | Release: 1 | |
465d9a7c RT |
12 | License: GPL |
13 | Group: X11/Applications | |
4fb4fc81 | 14 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 |
739219e8 | 15 | # Source0-md5: 6bd2ce63eb69516f67193607f0edd6a5 |
14335097 | 16 | Patch0: %{name}-kde3.patch |
68f5bede | 17 | Patch1: %{name}-akonadi.patch |
465d9a7c | 18 | BuildRequires: Qt3Support-devel |
ba4a6d73 | 19 | BuildRequires: QtCore-devel >= 4.4.0 |
20 | BuildRequires: QtDBus-devel >= 4.4.0 | |
21 | BuildRequires: QtGui-devel >= 4.4.0 | |
22 | BuildRequires: QtSvg-devel >= 4.4.0 | |
23 | BuildRequires: QtXml-devel >= 4.4.0 | |
68f5bede | 24 | BuildRequires: akonadi-devel >= 0.80.0 |
465d9a7c RT |
25 | BuildRequires: bison |
26 | BuildRequires: boost-devel | |
27d9e33b | 27 | BuildRequires: cmake |
465d9a7c RT |
28 | BuildRequires: cyrus-sasl-devel |
29 | BuildRequires: docbook-dtd42-xml | |
30 | %{?with_apidocs:BuildRequires: doxygen} | |
465d9a7c | 31 | BuildRequires: flex |
465d9a7c RT |
32 | BuildRequires: gpgme-devel |
33 | %{?with_apidocs:BuildRequires: graphviz} | |
6ef0fbce | 34 | BuildRequires: kde4-kdelibs-devel >= %{version} |
465d9a7c RT |
35 | BuildRequires: openssl-devel |
36 | BuildRequires: pcre-devel | |
37 | BuildRequires: pth-devel | |
ba4a6d73 | 38 | BuildRequires: qt4-build >= 4.4.0 |
39 | %{?with_apidocs:BuildRequires: qt4-doc >= 4.4.0} | |
40 | BuildRequires: qt4-qmake >= 4.4.0 | |
74bc8b78 | 41 | BuildRequires: rpmbuild(macros) >= 1.293 |
465d9a7c RT |
42 | BuildRequires: zlib-devel |
43 | BuildConflicts: indexlib | |
44 | BuildConflicts: kdepim-kontact-libs | |
45 | BuildConflicts: kdepim-libkmailprivate | |
310b49d7 | 46 | Requires: %{name} = %{version}-%{release} |
3985f3d1 | 47 | Obsoletes: kdepimlibs4 |
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} | |
14335097 | 75 | %patch0 -p0 |
68f5bede | 76 | %patch1 -p0 |
465d9a7c RT |
77 | |
78 | %build | |
79 | export QTDIR=%{_prefix} | |
97ea6728 | 80 | install -d build |
465d9a7c RT |
81 | cd build |
82 | %cmake \ | |
83 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
84 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ | |
85 | ../ | |
86 | ||
87 | %{__make} | |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %{__make} -C build/ install \ | |
93 | DESTDIR=$RPM_BUILD_ROOT \ | |
94 | kde_htmldir=%{_kdedocdir} | |
95 | ||
96 | %clean | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
805357fc JB |
99 | %post -p /sbin/ldconfig |
100 | %postun -p /sbin/ldconfig | |
465d9a7c RT |
101 | |
102 | %files | |
103 | %defattr(644,root,root,755) | |
104 | %attr(755,root,root) %{_libdir}/libkabc.so.4.*.* | |
805357fc | 105 | %attr(755,root,root) %ghost %{_libdir}/libkabc.so.4 |
465d9a7c | 106 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4.*.* |
805357fc | 107 | %attr(755,root,root) %ghost %{_libdir}/libkabc_file_core.so.4 |
465d9a7c | 108 | %attr(755,root,root) %{_libdir}/libkcal.so.4.*.* |
805357fc | 109 | %attr(755,root,root) %ghost %{_libdir}/libkcal.so.4 |
465d9a7c | 110 | %attr(755,root,root) %{_libdir}/libkldap.so.4.*.* |
805357fc | 111 | %attr(755,root,root) %ghost %{_libdir}/libkldap.so.4 |
465d9a7c | 112 | %attr(755,root,root) %{_libdir}/libkresources.so.4.*.* |
805357fc | 113 | %attr(755,root,root) %ghost %{_libdir}/libkresources.so.4 |
465d9a7c | 114 | %attr(755,root,root) %{_libdir}/libktnef.so.4.*.* |
805357fc | 115 | %attr(755,root,root) %ghost %{_libdir}/libktnef.so.4 |
465d9a7c | 116 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4.*.* |
805357fc | 117 | %attr(755,root,root) %ghost %{_libdir}/libkxmlrpcclient.so.4 |
465d9a7c RT |
118 | %attr(755,root,root) %{_libdir}/libgpgme++-pthread.so.1.*.* |
119 | %attr(755,root,root) %{_libdir}/libgpgme++.so.1.*.* | |
120 | %attr(755,root,root) %{_libdir}/libkblog.so.4.*.* | |
805357fc | 121 | %attr(755,root,root) %ghost %{_libdir}/libkblog.so.4 |
465d9a7c | 122 | %attr(755,root,root) %{_libdir}/libkimap.so.4.*.* |
805357fc | 123 | %attr(755,root,root) %ghost %{_libdir}/libkimap.so.4 |
465d9a7c | 124 | %attr(755,root,root) %{_libdir}/libkmime.so.4.*.* |
805357fc | 125 | %attr(755,root,root) %ghost %{_libdir}/libkmime.so.4 |
465d9a7c | 126 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4.*.* |
805357fc | 127 | %attr(755,root,root) %ghost %{_libdir}/libkpimidentities.so.4 |
465d9a7c | 128 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4.*.* |
805357fc | 129 | %attr(755,root,root) %ghost %{_libdir}/libkpimutils.so.4 |
465d9a7c | 130 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4.*.* |
805357fc | 131 | %attr(755,root,root) %ghost %{_libdir}/libmailtransport.so.4 |
465d9a7c RT |
132 | %attr(755,root,root) %{_libdir}/libqgpgme.so.1.*.* |
133 | %attr(755,root,root) %{_libdir}/libgpgme++-pth.so.1.*.* | |
134 | %attr(755,root,root) %{_libdir}/libsyndication.so.4.*.* | |
805357fc | 135 | %attr(755,root,root) %ghost %{_libdir}/libsyndication.so.4 |
01d426f1 | 136 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kde.so.4 |
137 | %attr(755,root,root) %{_libdir}/libakonadi-kde.so.4.*.* | |
138 | %attr(755,root,root) %ghost %{_libdir}/libakonadi-kmime.so.4 | |
139 | %attr(755,root,root) %{_libdir}/libakonadi-kmime.so.4.*.* | |
465d9a7c RT |
140 | |
141 | %attr(755,root,root) %{_libdir}/kde4/kabc_directory.so | |
142 | %attr(755,root,root) %{_libdir}/kde4/kabc_file.so | |
143 | %attr(755,root,root) %{_libdir}/kde4/kabc_ldapkio.so | |
144 | %attr(755,root,root) %{_libdir}/kde4/kabc_net.so | |
145 | %attr(755,root,root) %{_libdir}/kde4/kabcformat_binary.so | |
146 | %attr(755,root,root) %{_libdir}/kde4/kcal_local.so | |
147 | %attr(755,root,root) %{_libdir}/kde4/kcal_localdir.so | |
148 | %attr(755,root,root) %{_libdir}/kde4/kcm_kresources.so | |
149 | %attr(755,root,root) %{_libdir}/kde4/kcm_mailtransport.so | |
150 | %attr(755,root,root) %{_libdir}/kde4/kio_imap4.so | |
151 | %attr(755,root,root) %{_libdir}/kde4/kio_ldap.so | |
152 | %attr(755,root,root) %{_libdir}/kde4/kio_mbox.so | |
153 | %attr(755,root,root) %{_libdir}/kde4/kio_nntp.so | |
154 | %attr(755,root,root) %{_libdir}/kde4/kio_pop3.so | |
155 | %attr(755,root,root) %{_libdir}/kde4/kio_sieve.so | |
156 | %attr(755,root,root) %{_libdir}/kde4/kio_smtp.so | |
27d9e33b | 157 | |
465d9a7c | 158 | %dir %{_datadir}/apps/kabc |
14335097 | 159 | %{_datadir}/apps/kabc/*countrytransl.map |
465d9a7c | 160 | %dir %{_datadir}/apps/kabc/formats |
14335097 | 161 | %{_datadir}/apps/kabc/formats/*binary.desktop |
01d426f1 | 162 | %dir %{_datadir}/apps/akonadi-kde |
163 | %{_datadir}/apps/akonadi-kde/kcfg2dbus.xsl | |
465d9a7c RT |
164 | |
165 | %{_datadir}/apps/kconf_update/mailtransports.upd | |
166 | %{_datadir}/apps/kconf_update/migrate-transports.pl | |
167 | ||
168 | %{_datadir}/config.kcfg/mailtransport.kcfg | |
169 | %{_datadir}/config.kcfg/pimemoticons.kcfg | |
170 | ||
171 | %{_datadir}/dbus-1/interfaces/org.kde.KResourcesManager.xml | |
172 | %{_datadir}/dbus-1/interfaces/org.kde.pim.IdentityManager.xml | |
173 | ||
174 | %{_datadir}/kde4/services/imap4.protocol | |
175 | %{_datadir}/kde4/services/imaps.protocol | |
176 | %{_datadir}/kde4/services/ldap.protocol | |
177 | %{_datadir}/kde4/services/ldaps.protocol | |
178 | %{_datadir}/kde4/services/mbox.protocol | |
179 | %{_datadir}/kde4/services/nntp.protocol | |
180 | %{_datadir}/kde4/services/nntps.protocol | |
181 | %{_datadir}/kde4/services/pop3.protocol | |
182 | %{_datadir}/kde4/services/pop3s.protocol | |
183 | %{_datadir}/kde4/services/sieve.protocol | |
184 | %{_datadir}/kde4/services/smtp.protocol | |
185 | %{_datadir}/kde4/services/smtps.protocol | |
186 | ||
187 | %{_datadir}/kde4/services/kcm_mailtransport.desktop | |
188 | %{_datadir}/kde4/services/kresources.desktop | |
189 | %dir %{_datadir}/kde4/services/kresources | |
190 | %{_datadir}/kde4/services/kresources/kabc/dir.desktop | |
191 | %dir %{_datadir}/kde4/services/kresources/kabc | |
192 | %{_datadir}/kde4/services/kresources/kabc/file.desktop | |
193 | %{_datadir}/kde4/services/kresources/kabc/ldapkio.desktop | |
194 | %{_datadir}/kde4/services/kresources/kabc/net.desktop | |
195 | %{_datadir}/kde4/services/kresources/kabc_manager.desktop | |
196 | %dir %{_datadir}/kde4/services/kresources/kcal | |
197 | %{_datadir}/kde4/services/kresources/kcal/local.desktop | |
198 | %{_datadir}/kde4/services/kresources/kcal/localdir.desktop | |
199 | %{_datadir}/kde4/services/kresources/kcal_manager.desktop | |
200 | ||
201 | %{_datadir}/kde4/servicetypes/kresources_manager.desktop | |
202 | %{_datadir}/kde4/servicetypes/kresources_plugin.desktop | |
465d9a7c RT |
203 | |
204 | %files devel | |
205 | %defattr(644,root,root,755) | |
76a2e470 | 206 | %attr(755,root,root) %{_libdir}/*.so |
465d9a7c | 207 | #%{_includedir}/emailfunctions |
01d426f1 | 208 | %{_includedir}/akonadi |
465d9a7c RT |
209 | %{_includedir}/kabc |
210 | %{_includedir}/kcal | |
211 | %{_includedir}/kldap | |
212 | %{_includedir}/kresources | |
213 | %{_includedir}/ktnef | |
214 | %{_includedir}/syndication | |
215 | %{_includedir}/kxmlrpcclient | |
216 | %{_includedir}/gpgme++ | |
217 | %{_includedir}/kblog | |
218 | %{_includedir}/kimap | |
219 | %{_includedir}/kmime | |
220 | %{_includedir}/kpimidentities | |
221 | %{_includedir}/kpimutils | |
222 | %{_includedir}/mailtransport | |
223 | %{_includedir}/qgpgme | |
224 | ||
14335097 AM |
225 | %dir %{_libdir}/gpgmepp |
226 | %{_libdir}/gpgmepp/*.cmake | |
465d9a7c | 227 | %{_datadir}/apps/cmake/modules/*.cmake |
27d9e33b | 228 | |
465d9a7c | 229 | %{_datadir}/apps/libical |