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
58 cat <<EOF > defines.pri
59 TKCBASE_LIB=%{_libdir}
60 TKCBASE_INCLUDE=%{_includedir}/tkcbase
61 CONFIG += release thread
68 cat <<EOF > defines.pri
70 TKCSSL_INCLUDE=%{_includedir}/tkcssl
71 INCLUDEPATH += $dir/tkcbase
72 DEPENDPATH += $dir/tkcbase
73 CONFIG += release thread
80 cat <<EOF > defines.pri
82 WEBDAV_INCLUDE=%{_includedir}/tkcbase
83 CONFIG += release thread
90 cat <<EOF > defines.pri
91 AETHERA_DIR=%{_libdir}/aethera
92 AETHERA_BIN=%{_bindir}
93 AETHERA_LIB=%{_libdir}
94 AETHERA_INCLUDE=%{_includedir}/aethera
96 TINO_INCLUDE=%{_includedir}/tino
97 INCLUDEPATH += $dir/include
98 INCLUDEPATH += $dir/tkcbase
99 DEPENDPATH += $dir/tkcbase
100 INCLUDEPATH += $dir/tkcssl
101 DEPENDPATH += $dir/tkcssl
103 CONFIG += qt warn_on release thread
110 # Compile KOrganizer plugin
112 cat <<EOF > defines.pri
113 AETHERA_DIR = %{_libdir}/aethera
115 INCLUDEPATH += $dir/include
116 INCLUDEPATH += $dir/tkcbase
117 DEPENDPATH += $dir/tkcbase
119 INCLUDEPATH += $dir/tkcssl
120 DEPENDPATH += $dir/tkcssl
122 INCLUDEPATH += $dir/aethera/libs
123 DEPENDPATH += $dir/aethera/libs
125 INCLUDEPATH += $dir/aethera/libs/aethera
126 DEPENDPATH += $dir/aethera/libs/aethera
128 INCLUDEPATH += $direbdav/webdav
129 DEPENDPATH += $dir/webdav/webdav
131 INCLUDEPATH += $dir/aethera/libs/clientskel
132 DEPENDPATH += $dir/aethera/libs/clientskel
134 INCLUDEPATH += $dir/include/aethera/libs/plugins/kommailplugin
135 DEPENDPATH += $dir/include/aethera/libs/plugins/kommailplugin
137 INCLUDEPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
138 DEPENDPATH += $dir/include/aethera/libs/plugins/komcontactsplugin
140 INCLUDEPATH += $dir/include/tino
141 DEPENDPATH += $dir/include/tino
143 CONFIG += qt warn_on release thread
144 DEFINES += AETHERA_KOLAB
151 rm -rf $RPM_BUILD_ROOT
152 install -d $RPM_BUILD_ROOT%{_libdir}/aethera
155 %{__make} -C tkcbase install \
156 INSTALL_ROOT=$RPM_BUILD_ROOT
157 %{__make} -C tkcssl install \
158 INSTALL_ROOT=$RPM_BUILD_ROOT
159 %{__make} -C webdav install \
160 INSTALL_ROOT=$RPM_BUILD_ROOT
161 %{__make} -C aethera install \
162 INSTALL_ROOT=$RPM_BUILD_ROOT
163 %{__make} -C koplugin install \
164 INSTALL_ROOT=$RPM_BUILD_ROOT
167 rm -rf $RPM_BUILD_ROOT
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_bindir}/aethera
172 %dir %attr(755,root,root) %{_libdir}/aethera
173 %dir %attr(755,root,root) %{_libdir}/aethera/plugins
174 %attr(755,root,root) %{_libdir}/aethera/plugins/libkommailplugin.so.1.0.0
175 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomnotesplugin.so.1.0.0
176 %attr(755,root,root) %{_libdir}/aethera/plugins/libkorganizer.so.1.0.0
177 %attr(755,root,root) %{_libdir}/aethera/plugins/libkomcontactsplugin.so.1.0.0
178 %dir %{_libdir}/aethera
179 %{_libdir}/aethera/help
180 %{_libdir}/aethera/pics
181 %{_libdir}/aethera/sound
182 %{_libdir}/aethera/data
183 %dir %{_libdir}/aethera/i18n
184 %lang(de) %{_libdir}/aethera/i18n/aethera_de.qm
185 %lang(de) %{_libdir}/aethera/i18n/aethera_de.ts
186 %lang(de) %{_libdir}/aethera/i18n/koplugin_de.ts
187 %lang(en) %{_libdir}/aethera/i18n/aethera_en.ts
188 %lang(en) %{_libdir}/aethera/i18n/koplugin_en.ts
189 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.qm
190 %lang(fr) %{_libdir}/aethera/i18n/aethera_fr.ts
191 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.qm
192 %lang(fr) %{_libdir}/aethera/i18n/koplugin_fr.ts
193 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.qm
194 %lang(pt) %{_libdir}/aethera/i18n/aethera_pt.ts
195 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.qm
196 %lang(pt) %{_libdir}/aethera/i18n/koplugin_pt.ts
197 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.qm
198 %lang(pt) %{_libdir}/aethera/i18n/qt_pt.ts
199 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.qm
200 %lang(ru) %{_libdir}/aethera/i18n/aethera_ru.ts
201 %{_desktopdir}/aethera.desktop
202 %{_iconsdir}/hicolor/*/apps/aethera.png
206 %defattr(644,root,root,755)
207 %{_includedir}/aethera
209 %{_includedir}/tkcbase
210 %{_includedir}/tkcssl