]>
Commit | Line | Data |
---|---|---|
c6127e0d AM |
1 | # TODO: |
2 | # plik /usr/share/apps/kabc/countrytransl.map z instalacji kde4-kdepimlibs-4.0.64-0.1.x86_64 jest w konflikcie z plikiem z pakietu kdelibs-3.5.9-5.x86_64 | |
3 | # plik /usr/share/apps/kabc/formats/binary.desktop z instalacji kde4-kdepimlibs-4.0.64-0.1.x86_64 jest w konflikcie z plikiem z pakietu kdelibs-3.5.9-5.x86_64 | |
76a2e470 | 4 | # |
465d9a7c RT |
5 | # Conditional build: |
6 | %bcond_without apidocs # do not prepare API documentation | |
76a2e470 | 7 | # |
6ef0fbce | 8 | %define _state unstable |
805357fc | 9 | %define orgname kdepimlibs |
76a2e470 JB |
10 | Summary: Personal Information Management (PIM) libraries for KDE |
11 | Summary(pl.UTF-8): Biblioteki zarządzania informacjami osobistymi (PIM) dla KDE | |
3985f3d1 | 12 | Name: kde4-kdepimlibs |
c5d76519 | 13 | Version: 4.0.65 |
465d9a7c RT |
14 | Release: 0.1 |
15 | License: GPL | |
16 | Group: X11/Applications | |
4fb4fc81 | 17 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 |
c5d76519 | 18 | # Source0-md5: 17161dadf895ff1af8f36cbb79c5110f |
465d9a7c | 19 | BuildRequires: Qt3Support-devel |
ba4a6d73 | 20 | BuildRequires: QtCore-devel >= 4.4.0 |
21 | BuildRequires: QtDBus-devel >= 4.4.0 | |
22 | BuildRequires: QtGui-devel >= 4.4.0 | |
23 | BuildRequires: QtSvg-devel >= 4.4.0 | |
24 | BuildRequires: QtXml-devel >= 4.4.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 | |
38 | #BuildRequires: qt-designer-libs | |
ba4a6d73 | 39 | BuildRequires: qt4-build >= 4.4.0 |
40 | %{?with_apidocs:BuildRequires: qt4-doc >= 4.4.0} | |
41 | BuildRequires: qt4-qmake >= 4.4.0 | |
74bc8b78 | 42 | BuildRequires: rpmbuild(macros) >= 1.293 |
465d9a7c RT |
43 | BuildRequires: zlib-devel |
44 | BuildConflicts: indexlib | |
45 | BuildConflicts: kdepim-kontact-libs | |
46 | BuildConflicts: kdepim-libkmailprivate | |
310b49d7 | 47 | Requires: %{name} = %{version}-%{release} |
3985f3d1 | 48 | Obsoletes: kdepimlibs4 |
49 | Conflicts: kdepimlibs4 | |
465d9a7c RT |
50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
465d9a7c | 52 | %description |
76a2e470 JB |
53 | kdepimlibs is a collection of Personal Information Management (PIM) |
54 | libraries for the K Desktop Environment (KDE). | |
465d9a7c RT |
55 | |
56 | %description -l pl.UTF-8 | |
76a2e470 | 57 | kdepimlibs to zestaw bibliotek PIM dla K Desktop Environment (KDE). |
465d9a7c RT |
58 | |
59 | %package devel | |
76a2e470 JB |
60 | Summary: Development files for KDE PIM libraries |
61 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek KDE PIM | |
465d9a7c | 62 | Group: X11/Development/Libraries |
310b49d7 | 63 | Requires: %{name} = %{version}-%{release} |
3a292712 | 64 | Requires: kde4-kdelibs-devel >= %{version} |
465d9a7c RT |
65 | Obsoletes: indexlib-devel |
66 | Obsoletes: kdepim-libkcal-devel | |
67 | Conflicts: kdenetwork-devel < 10:3.1.90 | |
68 | ||
69 | %description devel | |
70 | This package contains header files needed if you wish to build | |
76a2e470 | 71 | applications based on kdepimlibs. |
465d9a7c RT |
72 | |
73 | %description devel -l pl.UTF-8 | |
74 | Pakiet ten zawiera pliki nagłówkowe potrzebne do budowy aplikacji | |
76a2e470 | 75 | opartych na kdepimlibs. |
465d9a7c RT |
76 | |
77 | %prep | |
78 | %setup -q -n %{orgname}-%{version} | |
79 | ||
80 | %build | |
81 | export QTDIR=%{_prefix} | |
82 | mkdir build | |
83 | cd build | |
84 | %cmake \ | |
85 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
86 | -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \ | |
87 | ../ | |
88 | ||
89 | %{__make} | |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} -C build/ install \ | |
95 | DESTDIR=$RPM_BUILD_ROOT \ | |
96 | kde_htmldir=%{_kdedocdir} | |
97 | ||
98 | %clean | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
805357fc JB |
101 | %post -p /sbin/ldconfig |
102 | %postun -p /sbin/ldconfig | |
465d9a7c RT |
103 | |
104 | %files | |
105 | %defattr(644,root,root,755) | |
106 | %attr(755,root,root) %{_libdir}/libkabc.so.4.*.* | |
805357fc | 107 | %attr(755,root,root) %ghost %{_libdir}/libkabc.so.4 |
465d9a7c | 108 | %attr(755,root,root) %{_libdir}/libkabc_file_core.so.4.*.* |
805357fc | 109 | %attr(755,root,root) %ghost %{_libdir}/libkabc_file_core.so.4 |
465d9a7c | 110 | %attr(755,root,root) %{_libdir}/libkcal.so.4.*.* |
805357fc | 111 | %attr(755,root,root) %ghost %{_libdir}/libkcal.so.4 |
465d9a7c | 112 | %attr(755,root,root) %{_libdir}/libkldap.so.4.*.* |
805357fc | 113 | %attr(755,root,root) %ghost %{_libdir}/libkldap.so.4 |
465d9a7c | 114 | %attr(755,root,root) %{_libdir}/libkresources.so.4.*.* |
805357fc | 115 | %attr(755,root,root) %ghost %{_libdir}/libkresources.so.4 |
465d9a7c | 116 | %attr(755,root,root) %{_libdir}/libktnef.so.4.*.* |
805357fc | 117 | %attr(755,root,root) %ghost %{_libdir}/libktnef.so.4 |
465d9a7c | 118 | %attr(755,root,root) %{_libdir}/libkxmlrpcclient.so.4.*.* |
805357fc | 119 | %attr(755,root,root) %ghost %{_libdir}/libkxmlrpcclient.so.4 |
465d9a7c RT |
120 | %attr(755,root,root) %{_libdir}/libgpgme++-pthread.so.1.*.* |
121 | %attr(755,root,root) %{_libdir}/libgpgme++.so.1.*.* | |
122 | %attr(755,root,root) %{_libdir}/libkblog.so.4.*.* | |
805357fc | 123 | %attr(755,root,root) %ghost %{_libdir}/libkblog.so.4 |
465d9a7c | 124 | %attr(755,root,root) %{_libdir}/libkimap.so.4.*.* |
805357fc | 125 | %attr(755,root,root) %ghost %{_libdir}/libkimap.so.4 |
465d9a7c | 126 | %attr(755,root,root) %{_libdir}/libkmime.so.4.*.* |
805357fc | 127 | %attr(755,root,root) %ghost %{_libdir}/libkmime.so.4 |
465d9a7c | 128 | %attr(755,root,root) %{_libdir}/libkpimidentities.so.4.*.* |
805357fc | 129 | %attr(755,root,root) %ghost %{_libdir}/libkpimidentities.so.4 |
465d9a7c | 130 | %attr(755,root,root) %{_libdir}/libkpimutils.so.4.*.* |
805357fc | 131 | %attr(755,root,root) %ghost %{_libdir}/libkpimutils.so.4 |
465d9a7c | 132 | %attr(755,root,root) %{_libdir}/libmailtransport.so.4.*.* |
805357fc | 133 | %attr(755,root,root) %ghost %{_libdir}/libmailtransport.so.4 |
465d9a7c RT |
134 | %attr(755,root,root) %{_libdir}/libqgpgme.so.1.*.* |
135 | %attr(755,root,root) %{_libdir}/libgpgme++-pth.so.1.*.* | |
136 | %attr(755,root,root) %{_libdir}/libsyndication.so.4.*.* | |
805357fc | 137 | %attr(755,root,root) %ghost %{_libdir}/libsyndication.so.4 |
465d9a7c RT |
138 | |
139 | %attr(755,root,root) %{_libdir}/kde4/kabc_directory.so | |
140 | %attr(755,root,root) %{_libdir}/kde4/kabc_file.so | |
141 | %attr(755,root,root) %{_libdir}/kde4/kabc_ldapkio.so | |
142 | %attr(755,root,root) %{_libdir}/kde4/kabc_net.so | |
143 | %attr(755,root,root) %{_libdir}/kde4/kabcformat_binary.so | |
144 | %attr(755,root,root) %{_libdir}/kde4/kcal_local.so | |
145 | %attr(755,root,root) %{_libdir}/kde4/kcal_localdir.so | |
146 | %attr(755,root,root) %{_libdir}/kde4/kcm_kresources.so | |
147 | %attr(755,root,root) %{_libdir}/kde4/kcm_mailtransport.so | |
148 | %attr(755,root,root) %{_libdir}/kde4/kio_imap4.so | |
149 | %attr(755,root,root) %{_libdir}/kde4/kio_ldap.so | |
150 | %attr(755,root,root) %{_libdir}/kde4/kio_mbox.so | |
151 | %attr(755,root,root) %{_libdir}/kde4/kio_nntp.so | |
152 | %attr(755,root,root) %{_libdir}/kde4/kio_pop3.so | |
153 | %attr(755,root,root) %{_libdir}/kde4/kio_sieve.so | |
154 | %attr(755,root,root) %{_libdir}/kde4/kio_smtp.so | |
27d9e33b | 155 | |
465d9a7c RT |
156 | %dir %{_datadir}/apps/kabc |
157 | %{_datadir}/apps/kabc/countrytransl.map | |
158 | %dir %{_datadir}/apps/kabc/formats | |
159 | %{_datadir}/apps/kabc/formats/binary.desktop | |
160 | ||
161 | %{_datadir}/apps/kconf_update/mailtransports.upd | |
162 | %{_datadir}/apps/kconf_update/migrate-transports.pl | |
163 | ||
164 | %{_datadir}/config.kcfg/mailtransport.kcfg | |
165 | %{_datadir}/config.kcfg/pimemoticons.kcfg | |
166 | ||
167 | %{_datadir}/dbus-1/interfaces/org.kde.KResourcesManager.xml | |
168 | %{_datadir}/dbus-1/interfaces/org.kde.pim.IdentityManager.xml | |
169 | ||
170 | %{_datadir}/kde4/services/imap4.protocol | |
171 | %{_datadir}/kde4/services/imaps.protocol | |
172 | %{_datadir}/kde4/services/ldap.protocol | |
173 | %{_datadir}/kde4/services/ldaps.protocol | |
174 | %{_datadir}/kde4/services/mbox.protocol | |
175 | %{_datadir}/kde4/services/nntp.protocol | |
176 | %{_datadir}/kde4/services/nntps.protocol | |
177 | %{_datadir}/kde4/services/pop3.protocol | |
178 | %{_datadir}/kde4/services/pop3s.protocol | |
179 | %{_datadir}/kde4/services/sieve.protocol | |
180 | %{_datadir}/kde4/services/smtp.protocol | |
181 | %{_datadir}/kde4/services/smtps.protocol | |
182 | ||
183 | %{_datadir}/kde4/services/kcm_mailtransport.desktop | |
184 | %{_datadir}/kde4/services/kresources.desktop | |
185 | %dir %{_datadir}/kde4/services/kresources | |
186 | %{_datadir}/kde4/services/kresources/kabc/dir.desktop | |
187 | %dir %{_datadir}/kde4/services/kresources/kabc | |
188 | %{_datadir}/kde4/services/kresources/kabc/file.desktop | |
189 | %{_datadir}/kde4/services/kresources/kabc/ldapkio.desktop | |
190 | %{_datadir}/kde4/services/kresources/kabc/net.desktop | |
191 | %{_datadir}/kde4/services/kresources/kabc_manager.desktop | |
192 | %dir %{_datadir}/kde4/services/kresources/kcal | |
193 | %{_datadir}/kde4/services/kresources/kcal/local.desktop | |
194 | %{_datadir}/kde4/services/kresources/kcal/localdir.desktop | |
195 | %{_datadir}/kde4/services/kresources/kcal_manager.desktop | |
196 | ||
197 | %{_datadir}/kde4/servicetypes/kresources_manager.desktop | |
198 | %{_datadir}/kde4/servicetypes/kresources_plugin.desktop | |
465d9a7c RT |
199 | |
200 | %files devel | |
201 | %defattr(644,root,root,755) | |
76a2e470 | 202 | %attr(755,root,root) %{_libdir}/*.so |
465d9a7c RT |
203 | #%{_includedir}/emailfunctions |
204 | %{_includedir}/kabc | |
205 | %{_includedir}/kcal | |
206 | %{_includedir}/kldap | |
207 | %{_includedir}/kresources | |
208 | %{_includedir}/ktnef | |
209 | %{_includedir}/syndication | |
210 | %{_includedir}/kxmlrpcclient | |
211 | %{_includedir}/gpgme++ | |
212 | %{_includedir}/kblog | |
213 | %{_includedir}/kimap | |
214 | %{_includedir}/kmime | |
215 | %{_includedir}/kpimidentities | |
216 | %{_includedir}/kpimutils | |
217 | %{_includedir}/mailtransport | |
218 | %{_includedir}/qgpgme | |
219 | ||
220 | %{_datadir}/apps/cmake/modules/*.cmake | |
27d9e33b | 221 | |
465d9a7c | 222 | %{_datadir}/apps/libical |