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 # Source0-md5: f3efd064b5e9884bd7adf49bf763e213
14 URL: http://www.thekompany.com/projects/aethera/
15 BuildRequires: korelib-devel
16 BuildRequires: qt-devel
17 #Requires: thekompany-support
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Aethera is a pim application, i.e. it handles all kinds of personal
22 information: email, contacts, notes, tasks, todos, journals.
25 Aethera jest aplikacj± zarz±dcy informacji osobistej (PIM). Obs³uguje
26 wszystkie rodzaje informacji osobistych: e-mail, kontakty, notatki,
27 zadania, sprawy do za³atwienia, dzienniki.
30 Summary: Header files for Aethera
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Header files for Aethera library.
43 mkdir -p include/aethera
44 ln -sf ../../aethera/libs/clientskel/clientrmi.h include/aethera
45 ln -sf ../../aethera/libs/clientskel/vfsmodule.h include/aethera
51 # Use the new libraries in building process
52 export LD_LIBRARY_PATH=$dir/lib:$LD_LIBRARY_PATH
57 cat <<EOF > defines.pri
58 TKCBASE_LIB=%{_libdir}
59 TKCBASE_INCLUDE=%{_includedir}/tkcbase
60 CONFIG += release thread
67 cat <<EOF > defines.pri
69 TKCSSL_INCLUDE=%{_includedir}/tkcssl
70 INCLUDEPATH += $dir/tkcbase
71 DEPENDPATH += $dir/tkcbase
72 CONFIG += release thread
79 cat <<EOF > defines.pri
81 WEBDAV_INCLUDE=%{_includedir}/tkcbase
82 CONFIG += release thread
89 cat <<EOF > defines.pri
90 AETHERA_DIR=%{_libdir}/aethera
91 AETHERA_BIN=%{_bindir}
92 AETHERA_LIB=%{_libdir}
93 AETHERA_INCLUDE=%{_includedir}/aethera
95 TINO_INCLUDE=%{_includedir}/tino
96 INCLUDEPATH += $dir/include
97 INCLUDEPATH += $dir/tkcbase
98 DEPENDPATH += $dir/tkcbase
99 INCLUDEPATH += $dir/tkcssl
100 DEPENDPATH += $dir/tkcssl
102 CONFIG += qt warn_on release thread
108 # Compile KOrganizer plugin
110 cat <<EOF > defines.pri
111 AETHERA_DIR = %{_libdir}/aethera
113 INCLUDEPATH += $dir/include
114 INCLUDEPATH += $dir/tkcbase
115 DEPENDPATH += $dir/tkcbase
117 INCLUDEPATH += $dir/tkcssl
118 DEPENDPATH += $dir/tkcssl
120 INCLUDEPATH += $dir/aethera/libs
121 DEPENDPATH += $dir/aethera/libs
123 INCLUDEPATH += $dir/aethera/libs/aethera
124 DEPENDPATH += $dir/aethera/libs/aethera
126 INCLUDEPATH += $direbdav/webdav
127 DEPENDPATH += $dir/webdav/webdav
129 INCLUDEPATH += $dir/aethera/libs/clientskel
130 DEPENDPATH += $dir/aethera/libs/clientskel
132 INCLUDEPATH += $dir/include/aethera/libs/plugins/kommailplugin
133 DEPENDPATH += $dir/include/aethera/libs/plugins/kommailplugin
135 INCLUDEPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
136 DEPENDPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
138 INCLUDEPATH += $dir/include/tino
139 DEPENDPATH += $dir/include/tino
141 CONFIG += qt warn_on release thread
142 DEFINES += AETHERA_KOLAB
149 rm -rf $RPM_BUILD_ROOT
150 install -d $RPM_BUILD_ROOT%{_libdir}/aethera
153 %{__make} -C tkcbase install \
154 INSTALL_ROOT=$RPM_BUILD_ROOT
155 %{__make} -C tkcssl install \
156 INSTALL_ROOT=$RPM_BUILD_ROOT
157 %{__make} -C webdav install \
158 INSTALL_ROOT=$RPM_BUILD_ROOT
159 %{__make} -C aethera install \
160 INSTALL_ROOT=$RPM_BUILD_ROOT
161 %{__make} -C koplugin install \
162 INSTALL_ROOT=$RPM_BUILD_ROOT
165 rm -rf $RPM_BUILD_ROOT
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_bindir}/aethera
170 %dir %attr(755,root,root) %{_libdir}/aethera
171 %dir %attr(755,root,root) %{_libdir}/aethera/plugins
172 %attr(755,root,root) %{_libdir}/aethera/plugins/libkommailplugin.so.1.0.0
173 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomnotesplugin.so.1.0.0
174 %attr(755,root,root) %{_libdir}/aethera/plugins/libkorganizer.so.1.0.0
175 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomcontactsplugin.so.1.0.0
176 %dir %{_libdir}/aethera
177 %{_libdir}/aethera/help
178 %{_libdir}/aethera/pics
179 %{_libdir}/aethera/sound
180 %{_libdir}/aethera/data
181 %dir %{_libdir}/aethera/i18n
182 %lang(de) %{_libdir}/aethera/i18n/aethera_de.qm
183 %lang(de) %{_libdir}/aethera/i18n/aethera_de.ts
184 %lang(de) %{_libdir}/aethera/i18n/koplugin_de.ts
185 %lang(en) %{_libdir}/aethera/i18n/aethera_en.ts
186 %lang(en) %{_libdir}/aethera/i18n/koplugin_en.ts
187 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.qm
188 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.ts
189 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.qm
190 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.ts
191 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.qm
192 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.ts
193 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.qm
194 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.ts
195 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.qm
196 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.ts
197 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.qm
198 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.ts
199 %{_desktopdir}/aethera.desktop
200 %{_iconsdir}/hicolor/*/apps/aethera.png
204 %defattr(644,root,root,755)
205 %{_includedir}/aethera
207 %{_includedir}/tkcbase
208 %{_includedir}/tkcssl