]> git.pld-linux.org Git - SPECS.git/blob - rekall.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / rekall.spec
1 Summary:        Rekall - database front-end
2 Summary(pl.UTF-8):      Rekall - frontend do baz danych
3 Name:           rekall
4 Version:        2.2.6
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Databases/Interfaces
8 Source0:        http://www.rekallrevealed.org/packages/%{name}-%{version}.tar.gz
9 # Source0-md5:  a9f4a04442c8a3582bdea17533431ffd
10 Patch0:         %{name}-python.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-ac-am-fix.patch
13 Patch3:         kde-ac260-lt.patch
14 URL:            http://www.rekallrevealed.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  kdelibs-devel
18 BuildRequires:  mysql-devel
19 BuildRequires:  postgresql-devel
20 BuildRequires:  python
21 BuildRequires:  python-devel
22 BuildRequires:  rpmbuild(macros) >= 1.129
23 BuildRequires:  xbsql-devel
24 Requires:       %{name}-common = %{version}-%{release}
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Rekall is a database front-end, somewhat in the style of MicroSoft(R)
29 Access(TM). However, Rekall is not itself a database, and does not
30 include a database. By this we mean that data is stored somewhere else
31 in an SQL server, and Rekall is fundementaly just a tool to extract,
32 display and update that data (of course, it does lots more than that,
33 it does forms and reports and scripting and... you get the idea). It
34 is database agnostic, and does not have any preferred database in the
35 sense that Access(TM) uses the Jet database engine (although the
36 Windows version can use the Jet database engine via an ODBC driver).
37
38 Rekall can do lots of the things that you would expect of a database
39 front-end (or if it can't, let us know!). You can design and use forms
40 and reports, you can construct database queries, and you can import
41 and export data (actually, you can copy data, import is just copy file
42 to table, and export is just copy table to file). You can also create
43 reusable components which you can use in forms and reports, to reduce
44 application development time.
45
46 Rekall can be scripted using the Python language. You can arrange that
47 a script is executed when various events occur (for instance, when the
48 user changes the value of a control). Scripts can be associated
49 directly with the event, but you can also store scripts in script
50 modules for more general use. And, of course, you have full access to
51 all the modules that are available for Python. Plus, Rekall has an
52 integrated Python debugger with syntax highlighting.
53
54 %description -l pl.UTF-8
55 Rekall to frontend do baz danych nieco podobny do programu
56 MicroSoft(R) Access(TM). Rekall nie jest jednak bazą danych i nie
57 zawiera bazy danych. Znaczy to, że dane są przechowywane gdzieś
58 indziej na serwerze SQL, a Rekall jest zasadniczo tylko narzędziem do
59 wyciągania, wyświetlania i uaktualniania tych danych (oczywiście robi
60 dużo więcej, jak na przykład formularze, raporty, skrypty...). Jest
61 niezależny od bazy danych i nie ma preferowanej bazy w tym sensie, w
62 jakim Access(TM) używa silnika Jet (choć wersja dla Windows może
63 używać silnika baz danych Jet poprzez sterownik ODBC).
64
65 Rekall potrafi dużo rzeczy, jakich można by oczekiwać od frontendu do
66 baz danych. Pozwala projektować i używać formularze i raporty,
67 konstruować zapytania, importować i eksportować dane (właściwie
68 pozwala kopiować dane, import to po prostu kopia z pliku do tabeli, a
69 eksport - kopia z tabeli do pliku). Można także tworzyć komponenty
70 wielokrotnego użycia do wykorzystania w formularzach i raportach w
71 celu zaoszczędzenia czasu tworzenia aplikacji.
72
73 Rekall może być oskryptowany przy użyciu języka Python. Można ustawić,
74 żeby skrypt był wykonywany przy wystąpieniu różnych zdarzeń (na
75 przykład kiedy użytkownik zmienia zawartość kontrolki). Skrypty mogą
76 być wiązane bezpośrednio ze zdarzeniem albo przechowywane w modułach
77 skryptów do bardziej ogólnego użytku. Oczywiście możliwy jest pełny
78 dostęp do wszystkich modułów dostępnych dla Pythona. Dodatkowo Rekall
79 ma zintegrowany debugger Pythona z podświetlaniem składni.
80
81 %package common
82 Summary:        Common files for full and runtime version of Rekall
83 Summary(pl.UTF-8):      Pliki wspólne dla wersji pełnej i uruchomieniowej Rekalla
84 Group:          Libraries
85
86 %description common
87 Common files for full and runtime version of Rekall.
88
89 %description common -l pl.UTF-8
90 Pliki wspólne dla wersji pełnej i uruchomieniowej Rekalla.
91
92 %package runtime
93 Summary:        Runtime version of Rekall
94 Summary(pl.UTF-8):      Wersja uruchomieniowa Rekalla
95 Group:          Applications/Databases/Interfaces
96 Requires:       %{name}-common = %{version}-%{release}
97
98 %description runtime
99 Runtime version of Rekall.
100
101 %description runtime -l pl.UTF-8
102 Wersja uruchomieniowa Rekalla.
103
104 %package driver-mysql
105 Summary:        MySQL database driver for Rekall
106 Summary(pl.UTF-8):      Sterownik baz danych MySQL dla Rekalla
107 Group:          Libraries
108 Requires:       %{name}-common = %{version}-%{release}
109
110 %description driver-mysql
111 MySQL database driver for Rekall.
112
113 %description driver-mysql -l pl.UTF-8
114 Sterownik baz danych MySQL dla Rekalla.
115
116 %package driver-pgsql
117 Summary:        PostgreSQL database driver for Rekall
118 Summary(pl.UTF-8):      Sterownik baz danych PostgreSQL dla Rekalla
119 Group:          Libraries
120 Requires:       %{name}-common = %{version}-%{release}
121
122 %description driver-pgsql
123 PostgreSQL database driver for Rekall.
124
125 %description driver-pgsql -l pl.UTF-8
126 Sterownik baz danych PostgreSQL dla Rekalla.
127
128 %package driver-xbase
129 Summary:        XBase/XBSQL database driver for Rekall
130 Summary(pl.UTF-8):      Sterownik baz danych XBase/XBSQL dla Rekalla
131 Group:          Libraries
132 Requires:       %{name}-common = %{version}-%{release}
133
134 %description driver-xbase
135 XBase/XBSQL database driver for Rekall.
136
137 %description driver-xbase -l pl.UTF-8
138 Sterownik baz danych XBase/XBSQL dla Rekalla.
139
140 %package devel
141 Summary:        Header files for Rekall libraries
142 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek Rekalla
143 Group:          Development/Libraries
144 Requires:       %{name}-common = %{version}-%{release}
145
146 %description devel
147 Header files for Rekall libraries.
148
149 %description devel -l pl.UTF-8
150 Pliki nagłówkowe bibliotek Rekalla.
151
152 %prep
153 %setup -q
154 %patch0 -p1
155 %patch1 -p1
156 %patch2 -p1
157 %patch3 -p1
158
159 %build
160 %{__make} -f admin/Makefile.common cvs
161 %configure \
162         --enable-runtime \
163         --with-mysql-libraries=%{_libdir} \
164         --with-pgsql-libraries=%{_libdir} \
165         --with-qt-libraries=%{_libdir} \
166         --with-xbase-libraries=%{_libdir} \
167         --with-xbsql-libraries=%{_libdir}
168 %{__make}
169
170 %install
171 rm -rf $RPM_BUILD_ROOT
172
173 %{__make} install \
174         DESTDIR=$RPM_BUILD_ROOT \
175         kde_htmldir=%{_kdedocdir}
176
177 install -d $RPM_BUILD_ROOT%{_desktopdir}
178 mv -f $RPM_BUILD_ROOT%{_datadir}/rekall{,rt}.desktop $RPM_BUILD_ROOT%{_desktopdir}
179 install -D pics/icons/hicolor/48x48/apps/rekall.png $RPM_BUILD_ROOT%{_pixmapsdir}/rekall.png
180
181 %find_lang %{name} --with-kde
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
186 %post   -p /sbin/ldconfig
187 %postun -p /sbin/ldconfig
188
189 %post   common -p /sbin/ldconfig
190 %postun common -p /sbin/ldconfig
191
192 %post   runtime -p /sbin/ldconfig
193 %postun runtime -p /sbin/ldconfig
194
195 %post   driver-mysql -p /sbin/ldconfig
196 %postun driver-mysql -p /sbin/ldconfig
197
198 %post   driver-pgsql -p /sbin/ldconfig
199 %postun driver-pgsql -p /sbin/ldconfig
200
201 %post   driver-xbase -p /sbin/ldconfig
202 %postun driver-xbase -p /sbin/ldconfig
203
204 %files
205 %defattr(644,root,root,755)
206 %doc AUTHORS README.FIRST Release.Notes doc/HOWTO
207 %attr(755,root,root) %{_bindir}/rekall
208 # libraries
209 %attr(755,root,root) %{_libdir}/libkbase.so.*.*.*
210 %attr(755,root,root) %{_libdir}/libkbase_app.so.*.*.*
211 %attr(755,root,root) %{_libdir}/libkbase_wizard.so.*.*.*
212 %attr(755,root,root) %{_libdir}/librekall.so.*.*.*
213 # KDE-like modules
214 %attr(755,root,root) %{_libdir}/libkbase_componentview.so
215 %{_libdir}/libkbase_componentview.la
216 %attr(755,root,root) %{_libdir}/libkbase_copierview.so
217 %{_libdir}/libkbase_copierview.la
218 %attr(755,root,root) %{_libdir}/libkbase_editor.so
219 %{_libdir}/libkbase_editor.la
220 %attr(755,root,root) %{_libdir}/libkbase_formview.so
221 %{_libdir}/libkbase_formview.la
222 %attr(755,root,root) %{_libdir}/libkbase_macroview.so
223 %{_libdir}/libkbase_macroview.la
224 %attr(755,root,root) %{_libdir}/libkbase_plugin_extra.so
225 %{_libdir}/libkbase_plugin_extra.la
226 %attr(755,root,root) %{_libdir}/libkbase_plugin_kde.so
227 %{_libdir}/libkbase_plugin_kde.la
228 %attr(755,root,root) %{_libdir}/libkbase_queryview.so
229 %{_libdir}/libkbase_queryview.la
230 %attr(755,root,root) %{_libdir}/libkbase_reportview.so
231 %{_libdir}/libkbase_reportview.la
232 %attr(755,root,root) %{_libdir}/libkbase_script_py.so
233 %{_libdir}/libkbase_script_py.la
234 %attr(755,root,root) %{_libdir}/libkbase_script_pysys.so
235 %{_libdir}/libkbase_script_pysys.la
236 %attr(755,root,root) %{_libdir}/libkbase_tableview.so
237 %{_libdir}/libkbase_tableview.la
238 # data
239 %{_datadir}/apps/rekall/services/kdeparts.lst
240 %{_datadir}/apps/rekall/services/rekall_component.desktop
241 %{_datadir}/apps/rekall/services/rekall_copier.desktop
242 %{_datadir}/apps/rekall/services/rekall_editor.desktop
243 %{_datadir}/apps/rekall/services/rekall_form.desktop
244 %{_datadir}/apps/rekall/services/rekall_macro.desktop
245 %{_datadir}/apps/rekall/services/rekall_plugin_extra.desktop
246 %{_datadir}/apps/rekall/services/rekall_plugin_kde.desktop
247 %{_datadir}/apps/rekall/services/rekall_query.desktop
248 %{_datadir}/apps/rekall/services/rekall_report.desktop
249 %{_datadir}/apps/rekall/services/rekall_script_py.desktop
250 %{_datadir}/apps/rekall/services/rekall_table.desktop
251 %{_datadir}/apps/rekall/stock
252 %{_datadir}/apps/rekall/wizards
253 %{_desktopdir}/rekall.desktop
254
255 %files common -f %{name}.lang
256 %defattr(644,root,root,755)
257 # libraries
258 %attr(755,root,root) %{_libdir}/libkbase_common.so.*.*.*
259 %attr(755,root,root) %{_libdir}/libel_compile.so.*.*.*
260 %attr(755,root,root) %{_libdir}/libel_interp.so.*.*.*
261 %attr(755,root,root) %{_libdir}/libkbase_kde.so.*.*.*
262 %attr(755,root,root) %{_libdir}/libkbase_tkwidgets.so.*.*.*
263 # data
264 %dir %{_datadir}/apps/rekall
265 %{_datadir}/apps/rekall/LICENSE
266 %{_datadir}/apps/rekall/dict
267 %{_datadir}/apps/rekall/help
268 %{_datadir}/apps/rekall/highlight
269 %{_datadir}/apps/rekall/icons
270 %{_datadir}/apps/rekall/keymap
271 %{_datadir}/apps/rekall/pics
272 %{_datadir}/apps/rekall/rekall.png
273 %{_datadir}/apps/rekall/rekallui.*
274 %{_datadir}/apps/rekall/script
275 %dir %{_datadir}/apps/rekall/services
276 %{_datadir}/apps/rekall/services/rekall_dummy.desktop
277 %{_pixmapsdir}/*
278
279 %files runtime
280 %defattr(644,root,root,755)
281 %attr(755,root,root) %{_bindir}/rekallrt
282 # libraries
283 %attr(755,root,root) %{_libdir}/libkbasert.so.*.*.*
284 %attr(755,root,root) %{_libdir}/libkbasert_app.so.*.*.*
285 %attr(755,root,root) %{_libdir}/librekallrt.so.*.*.*
286 # modules
287 %attr(755,root,root) %{_libdir}/libkbasert_formview.so
288 %{_libdir}/libkbasert_formview.la
289 %attr(755,root,root) %{_libdir}/libkbasert_plugin_extra.so
290 %{_libdir}/libkbasert_plugin_extra.la
291 %attr(755,root,root) %{_libdir}/libkbasert_queryview.so
292 %{_libdir}/libkbasert_queryview.la
293 %attr(755,root,root) %{_libdir}/libkbasert_reportview.so
294 %{_libdir}/libkbasert_reportview.la
295 %attr(755,root,root) %{_libdir}/libkbasert_script_py.so
296 %{_libdir}/libkbasert_script_py.la
297 %attr(755,root,root) %{_libdir}/libkbasert_script_pysys.so
298 %{_libdir}/libkbasert_script_pysys.la
299 %attr(755,root,root) %{_libdir}/libkbasert_tableview.so
300 %{_libdir}/libkbasert_tableview.la
301 # data
302 %{_datadir}/apps/rekall/services/rekallrt_copier.desktop
303 %{_datadir}/apps/rekall/services/rekallrt_form.desktop
304 %{_datadir}/apps/rekall/services/rekallrt_plugin_extra.desktop
305 %{_datadir}/apps/rekall/services/rekallrt_query.desktop
306 %{_datadir}/apps/rekall/services/rekallrt_report.desktop
307 %{_datadir}/apps/rekall/services/rekallrt_script_py.desktop
308 %{_datadir}/apps/rekall/services/rekallrt_table.desktop
309 %{_datadir}/apps/rekallrt
310 %{_desktopdir}/rekallrt.desktop
311
312 %files driver-mysql
313 %defattr(644,root,root,755)
314 %attr(755,root,root) %{_libdir}/libkbase_driver_mysql.so
315 %{_libdir}/libkbase_driver_mysql.la
316 %{_datadir}/apps/rekall/services/rekall_driver_mysql.desktop
317
318 %files driver-pgsql
319 %defattr(644,root,root,755)
320 %attr(755,root,root) %{_libdir}/libkbase_driver_pgsql.so
321 %{_libdir}/libkbase_driver_pgsql.la
322 %{_datadir}/apps/rekall/services/rekall_driver_pgsql.desktop
323
324 %files driver-xbase
325 %defattr(644,root,root,755)
326 %attr(755,root,root) %{_libdir}/libkbase_driver_xbase.so.*.*.*
327 %attr(755,root,root) %{_libdir}/libkbase_driver_xbase.so
328 %{_libdir}/libkbase_driver_xbase.la
329 %{_datadir}/apps/rekall/services/rekall_driver_xbase.desktop
330
331 %files devel
332 %defattr(644,root,root,755)
333 %attr(755,root,root) %{_libdir}/libel_compile.so
334 %attr(755,root,root) %{_libdir}/libel_interp.so
335 %attr(755,root,root) %{_libdir}/libkbase.so
336 %attr(755,root,root) %{_libdir}/libkbase_app.so
337 %attr(755,root,root) %{_libdir}/libkbase_common.so
338 %attr(755,root,root) %{_libdir}/libkbase_kde.so
339 %attr(755,root,root) %{_libdir}/libkbase_tkwidgets.so
340 %attr(755,root,root) %{_libdir}/libkbase_wizard.so
341 %attr(755,root,root) %{_libdir}/libkbasert.so
342 %attr(755,root,root) %{_libdir}/libkbasert_app.so
343 %attr(755,root,root) %{_libdir}/librekall.so
344 %attr(755,root,root) %{_libdir}/librekallrt.so
345 %{_libdir}/libel_compile.la
346 %{_libdir}/libel_interp.la
347 %{_libdir}/libkbase.la
348 %{_libdir}/libkbase_app.la
349 %{_libdir}/libkbase_common.la
350 %{_libdir}/libkbase_kde.la
351 %{_libdir}/libkbase_tkwidgets.la
352 %{_libdir}/libkbase_wizard.la
353 %{_libdir}/libkbasert.la
354 %{_libdir}/libkbasert_app.la
355 %{_libdir}/librekall.la
356 %{_libdir}/librekallrt.la
357 %{_includedir}/rekall
This page took 1.268413 seconds and 3 git commands to generate.