]>
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 |
465d9a7c | 6 | |
76a2e470 JB |
7 | Summary: Personal Information Management (PIM) libraries for KDE |
8 | Summary(pl.UTF-8): Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE | |
465d9a7c | 9 | %define orgname kdepimlibs |
3985f3d1 | 10 | Name: kde4-kdepimlibs |
6ef0fbce | 11 | Version: 4.0.60 |
465d9a7c RT |
12 | Release: 0.1 |
13 | License: GPL | |
14 | Group: X11/Applications | |
4fb4fc81 | 15 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 |
6ef0fbce | 16 | # Source0-md5: ae5c708e6428a5a0fb677cd3a5464871 |
465d9a7c RT |
17 | BuildRequires: Qt3Support-devel |
18 | BuildRequires: QtCore-devel >= 4.2.0 | |
19 | BuildRequires: QtDBus-devel | |
20 | BuildRequires: QtGui-devel | |
21 | BuildRequires: QtSvg-devel | |
22 | BuildRequires: QtXml-devel | |
23 | BuildRequires: autoconf | |
24 | BuildRequires: automake | |
25 | BuildRequires: bison | |
74bc8b78 | 26 | BuildRequires: cmake |
465d9a7c RT |
27 | BuildRequires: boost-devel |
28 | BuildRequires: cyrus-sasl-devel | |
29 | BuildRequires: docbook-dtd42-xml | |
30 | %{?with_apidocs:BuildRequires: doxygen} | |
31 | BuildRequires: ed | |
32 | BuildRequires: flex | |
465d9a7c RT |
33 | BuildRequires: gpgme-devel |
34 | %{?with_apidocs:BuildRequires: graphviz} | |
6ef0fbce | 35 | BuildRequires: kde4-kdelibs-devel >= %{version} |
465d9a7c RT |
36 | BuildRequires: openssl-devel |
37 | BuildRequires: pcre-devel | |
38 | BuildRequires: pth-devel | |
39 | #BuildRequires: qt-designer-libs | |
40 | BuildRequires: qt4-build | |
41 | %{?with_apidocs:BuildRequires: qt4-doc} | |
42 | BuildRequires: qt4-qmake | |
74bc8b78 | 43 | BuildRequires: rpmbuild(macros) >= 1.293 |
465d9a7c RT |
44 | BuildRequires: zlib-devel |
45 | BuildConflicts: indexlib | |
46 | BuildConflicts: kdepim-kontact-libs | |
47 | BuildConflicts: kdepim-libkmailprivate | |
310b49d7 | 48 | Requires: %{name} = %{version}-%{release} |
3985f3d1 | 49 | Obsoletes: kdepimlibs4 |
50 | Conflicts: kdepimlibs4 | |
465d9a7c RT |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %define _noautoreq libtool(.*) | |
54 | ||
55 | %description | |
76a2e470 JB |
56 | kdepimlibs is a collection of Personal Information Management (PIM) |
57 | libraries for the K Desktop Environment (KDE). | |
465d9a7c RT |
58 | |
59 | %description -l pl.UTF-8 | |
76a2e470 | 60 | kdepimlibs to zestaw bibliotek PIM dla K Desktop Environment (KDE). |
465d9a7c RT |
61 | |
62 | %package devel | |
76a2e470 JB |
63 | Summary: Development files for KDE PIM libraries |
64 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek KDE PIM | |
465d9a7c | 65 | Group: X11/Development/Libraries |
310b49d7 | 66 | Requires: %{name} = %{version}-%{release} |
cf75bdd5 | 67 | Requires: kde4-kdelibs-devel |
465d9a7c RT |
68 | Obsoletes: indexlib-devel |
69 | Obsoletes: kdepim-libkcal-devel | |
70 | Conflicts: kdenetwork-devel < 10:3.1.90 | |
71 | ||
72 | %description devel | |
73 | This package contains header files needed if you wish to build | |
76a2e470 | 74 | applications based on kdepimlibs. |
465d9a7c RT |
75 | |
76 | %description devel -l pl.UTF-8 | |
77 | Pakiet ten zawiera pliki nagłówkowe potrzebne do budowy aplikacji | |
76a2e470 | 78 | opartych na kdepimlibs. |
465d9a7c RT |
79 | |
80 | %prep | |
81 | %setup -q -n %{orgname}-%{version} | |
82 | ||
83 | %build | |
84 | export QTDIR=%{_prefix} | |
85 | mkdir build | |
86 | cd build | |
87 | %cmake \ | |
88 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
89 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ | |
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 | ||
104 | %post -p /sbin/ldconfig | |
105 | %postun -p /sbin/ldconfig | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_libdir}/libkabc.so.4.*.* | |
110 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4.*.* | |
111 | %attr(755,root,root) %{_libdir}/libkcal.so.4.*.* | |
112 | %attr(755,root,root) %{_libdir}/libkldap.so.4.*.* | |
113 | %attr(755,root,root) %{_libdir}/libkresources.so.4.*.* | |
114 | %attr(755,root,root) %{_libdir}/libktnef.so.4.*.* | |
115 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4.*.* | |
116 | %attr(755,root,root) %{_libdir}/libgpgme++-pthread.so.1.*.* | |
117 | %attr(755,root,root) %{_libdir}/libgpgme++.so.1.*.* | |
118 | %attr(755,root,root) %{_libdir}/libkblog.so.4.*.* | |
119 | %attr(755,root,root) %{_libdir}/libkimap.so.4.*.* | |
120 | %attr(755,root,root) %{_libdir}/libkmime.so.4.*.* | |
121 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4.*.* | |
122 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4.*.* | |
123 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4.*.* | |
124 | %attr(755,root,root) %{_libdir}/libqgpgme.so.1.*.* | |
125 | %attr(755,root,root) %{_libdir}/libgpgme++-pth.so.1.*.* | |
126 | %attr(755,root,root) %{_libdir}/libsyndication.so.4.*.* | |
127 | ||
128 | %attr(755,root,root) %{_libdir}/libkabc.so.4 | |
129 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4 | |
130 | %attr(755,root,root) %{_libdir}/libkcal.so.4 | |
131 | %attr(755,root,root) %{_libdir}/libkldap.so.4 | |
132 | %attr(755,root,root) %{_libdir}/libkresources.so.4 | |
133 | %attr(755,root,root) %{_libdir}/libktnef.so.4 | |
134 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4 | |
135 | %attr(755,root,root) %{_libdir}/libkblog.so.4 | |
136 | %attr(755,root,root) %{_libdir}/libkimap.so.4 | |
137 | %attr(755,root,root) %{_libdir}/libkmime.so.4 | |
138 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4 | |
139 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4 | |
140 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4 | |
141 | %attr(755,root,root) %{_libdir}/libsyndication.so.4 | |
142 | ||
143 | %attr(755,root,root) %{_libdir}/kde4/kabc_directory.so | |
144 | %attr(755,root,root) %{_libdir}/kde4/kabc_file.so | |
145 | %attr(755,root,root) %{_libdir}/kde4/kabc_ldapkio.so | |
146 | %attr(755,root,root) %{_libdir}/kde4/kabc_net.so | |
147 | %attr(755,root,root) %{_libdir}/kde4/kabcformat_binary.so | |
148 | %attr(755,root,root) %{_libdir}/kde4/kcal_local.so | |
149 | %attr(755,root,root) %{_libdir}/kde4/kcal_localdir.so | |
150 | %attr(755,root,root) %{_libdir}/kde4/kcm_kresources.so | |
151 | %attr(755,root,root) %{_libdir}/kde4/kcm_mailtransport.so | |
152 | %attr(755,root,root) %{_libdir}/kde4/kio_imap4.so | |
153 | %attr(755,root,root) %{_libdir}/kde4/kio_ldap.so | |
154 | %attr(755,root,root) %{_libdir}/kde4/kio_mbox.so | |
155 | %attr(755,root,root) %{_libdir}/kde4/kio_nntp.so | |
156 | %attr(755,root,root) %{_libdir}/kde4/kio_pop3.so | |
157 | %attr(755,root,root) %{_libdir}/kde4/kio_sieve.so | |
158 | %attr(755,root,root) %{_libdir}/kde4/kio_smtp.so | |
159 | ||
160 | %dir %{_datadir}/apps/kabc | |
161 | %{_datadir}/apps/kabc/countrytransl.map | |
162 | %dir %{_datadir}/apps/kabc/formats | |
163 | %{_datadir}/apps/kabc/formats/binary.desktop | |
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 RT |
207 | #%{_includedir}/emailfunctions |
208 | %{_includedir}/kabc | |
209 | %{_includedir}/kcal | |
210 | %{_includedir}/kldap | |
211 | %{_includedir}/kresources | |
212 | %{_includedir}/ktnef | |
213 | %{_includedir}/syndication | |
214 | %{_includedir}/kxmlrpcclient | |
215 | %{_includedir}/gpgme++ | |
216 | %{_includedir}/kblog | |
217 | %{_includedir}/kimap | |
218 | %{_includedir}/kmime | |
219 | %{_includedir}/kpimidentities | |
220 | %{_includedir}/kpimutils | |
221 | %{_includedir}/mailtransport | |
222 | %{_includedir}/qgpgme | |
223 | ||
224 | %{_datadir}/apps/cmake/modules/*.cmake | |
225 | ||
226 | %{_datadir}/apps/libical |