2 Summary: Aethera - Email and PIM application
3 Summary(pl): Aethera - aplikacja e-mail i zarz±dcy informacji osobistej (PIM)
6 Release: 050331.%{_rel}
8 Group: X11/Applications
9 Source0: %{name}-%{version}.tar.gz
10 Patch0: %{name}-libs.patch
11 Patch1: %{name}-includes.patch
12 Patch2: %{name}-install.patch
13 Patch3: %{name}-fpic.patch
14 # Source0-md5: f3efd064b5e9884bd7adf49bf763e213
15 URL: http://www.thekompany.com/projects/aethera/
16 BuildRequires: korelib-devel
17 BuildRequires: qt-devel
18 #Requires: thekompany-support
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Aethera is a pim application, i.e. it handles all kinds of personal
23 information: email, contacts, notes, tasks, todos, journals.
26 Aethera jest aplikacj± zarz±dcy informacji osobistej (PIM). Obs³uguje
27 wszystkie rodzaje informacji osobistych: e-mail, kontakty, notatki,
28 zadania, sprawy do za³atwienia, dzienniki.
31 Summary: Header files for Aethera
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for Aethera library.
47 mkdir -p include/aethera
48 ln -sf ../../aethera/libs/clientskel/clientrmi.h include/aethera
49 ln -sf ../../aethera/libs/clientskel/vfsmodule.h include/aethera
55 # Use the new libraries in building process
56 export LD_LIBRARY_PATH=$dir/lib:$LD_LIBRARY_PATH
61 cat <<EOF > defines.pri
62 TKCBASE_LIB=%{_libdir}
63 TKCBASE_INCLUDE=%{_includedir}/tkcbase
64 CONFIG += release thread
71 cat <<EOF > defines.pri
73 TKCSSL_INCLUDE=%{_includedir}/tkcssl
74 INCLUDEPATH += $dir/tkcbase
75 DEPENDPATH += $dir/tkcbase
76 CONFIG += release thread
83 cat <<EOF > defines.pri
85 WEBDAV_INCLUDE=%{_includedir}/tkcbase
86 CONFIG += release thread
93 cat <<EOF > defines.pri
94 AETHERA_DIR=%{_libdir}/aethera
95 AETHERA_BIN=%{_bindir}
96 AETHERA_LIB=%{_libdir}
97 AETHERA_INCLUDE=%{_includedir}/aethera
99 TINO_INCLUDE=%{_includedir}/tino
100 INCLUDEPATH += $dir/include
101 INCLUDEPATH += $dir/tkcbase
102 DEPENDPATH += $dir/tkcbase
103 INCLUDEPATH += $dir/tkcssl
104 DEPENDPATH += $dir/tkcssl
106 CONFIG += qt warn_on release thread
112 # Compile KOrganizer plugin
114 cat <<EOF > defines.pri
115 AETHERA_DIR = %{_libdir}/aethera
117 INCLUDEPATH += $dir/include
118 INCLUDEPATH += $dir/tkcbase
119 DEPENDPATH += $dir/tkcbase
121 INCLUDEPATH += $dir/tkcssl
122 DEPENDPATH += $dir/tkcssl
124 INCLUDEPATH += $dir/aethera/libs
125 DEPENDPATH += $dir/aethera/libs
127 INCLUDEPATH += $dir/aethera/libs/aethera
128 DEPENDPATH += $dir/aethera/libs/aethera
130 INCLUDEPATH += $direbdav/webdav
131 DEPENDPATH += $dir/webdav/webdav
133 INCLUDEPATH += $dir/aethera/libs/clientskel
134 DEPENDPATH += $dir/aethera/libs/clientskel
136 INCLUDEPATH += $dir/include/aethera/libs/plugins/kommailplugin
137 DEPENDPATH += $dir/include/aethera/libs/plugins/kommailplugin
139 INCLUDEPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
140 DEPENDPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
142 INCLUDEPATH += $dir/include/tino
143 DEPENDPATH += $dir/include/tino
145 CONFIG += qt warn_on release thread
146 DEFINES += AETHERA_KOLAB
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT%{_libdir}/aethera
157 %{__make} -C tkcbase install \
158 INSTALL_ROOT=$RPM_BUILD_ROOT
159 %{__make} -C tkcssl install \
160 INSTALL_ROOT=$RPM_BUILD_ROOT
161 %{__make} -C webdav install \
162 INSTALL_ROOT=$RPM_BUILD_ROOT
163 %{__make} -C aethera install \
164 INSTALL_ROOT=$RPM_BUILD_ROOT
165 %{__make} -C koplugin install \
166 INSTALL_ROOT=$RPM_BUILD_ROOT
169 rm $RPM_BUILD_ROOT%{_libdir}/aethera/bin/sox
170 # unneccessary wrappers
171 rm $RPM_BUILD_ROOT%{_libdir}/aethera/bin/aethera_sound
172 rm $RPM_BUILD_ROOT%{_prefix}/local/bin/aethera
175 rm -rf $RPM_BUILD_ROOT
177 %post -p /sbin/ldconfig
178 %postun -p /sbin/ldconfig
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_bindir}/aethera
183 %attr(755,root,root) %{_libdir}/libaethera.so.1.0.1
184 %attr(755,root,root) %{_libdir}/libfilebrowser.so.1.0.0
185 %attr(755,root,root) %{_libdir}/libtino.so.1.0.0
186 %attr(755,root,root) %{_libdir}/libtkcbase.so.1.0.0
187 %attr(755,root,root) %{_libdir}/libtkcssl.so.1.0.0
188 %dir %{_libdir}/aethera
189 %dir %{_libdir}/aethera/plugins
190 %attr(755,root,root) %{_libdir}/aethera/plugins/libhomeplugin.so.1.0.0
191 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomcontactsplugin.so.1.0.0
192 %attr(755,root,root) %{_libdir}/aethera/plugins/libkommailplugin.so.1.0.0
193 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomnotesplugin.so.1.0.0
194 %attr(755,root,root) %{_libdir}/aethera/plugins/libkorganizer.so.1.0.0
195 %attr(755,root,root) %{_libdir}/aethera/plugins/libmailimport.so.1.0.0
196 %{_libdir}/aethera/help
197 %{_libdir}/aethera/pics
198 %{_libdir}/aethera/sound
199 %{_libdir}/aethera/data
200 %dir %{_libdir}/aethera/i18n
201 %lang(de) %{_libdir}/aethera/i18n/aethera_de.qm
202 %lang(de) %{_libdir}/aethera/i18n/aethera_de.ts
203 %lang(de) %{_libdir}/aethera/i18n/koplugin_de.ts
204 %lang(en) %{_libdir}/aethera/i18n/aethera_en.ts
205 %lang(en) %{_libdir}/aethera/i18n/koplugin_en.ts
206 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.qm
207 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.ts
208 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.qm
209 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.ts
210 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.qm
211 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.ts
212 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.qm
213 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.ts
214 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.qm
215 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.ts
216 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.qm
217 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.ts
218 %{_desktopdir}/aethera.desktop
219 %{_iconsdir}/hicolor/*/apps/aethera.png
223 %defattr(644,root,root,755)
224 %{_libdir}/libtkwidgets.a
225 %{_libdir}/libwebdav.a
226 %{_includedir}/aethera
228 %{_includedir}/tkcbase
229 %{_includedir}/tkcssl