]>
Commit | Line | Data |
---|---|---|
eb4007c1 | 1 | Summary: General Chemistry Lab Simulator - "GenChemLab" |
c02dfb2a | 2 | Summary(pl.UTF-8): Ogólny symulator labolatorium chemicznego |
eb4007c1 | 3 | Name: genchemlab |
4 | Version: 1.0 | |
bad8ee62 | 5 | Release: 3 |
2c88d676 JB |
6 | License: GPL |
7 | Group: X11/Applications/Science | |
eb4007c1 | 8 | Source0: http://dl.sourceforge.net/genchemlab/%{name}-%{version}.tgz |
4ad6015a | 9 | # Source0-md5: ef364cff3f3e2dba4c62a5d1a0084bae |
588bedab | 10 | Patch0: %{name}-desktop.patch |
eb4007c1 | 11 | URL: http://genchemlab.sourceforge.net/ |
eb4007c1 | 12 | BuildRequires: automake |
13 | BuildRequires: qt-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | GenChemLab is an OpenGL-based application intended to simulate several | |
18 | common general chemistry exercises. It is meant to be used to help | |
19 | students prepare for actual lab experience. It could also be used in | |
20 | cases where laboratory facilites are not accessible, for instance in | |
21 | K-12 schools or home schooling. | |
22 | ||
23 | At present, supported experiments include titration, calorimetry, | |
24 | freezing point depression, vapor pressure, and spectrophotometry. | |
25 | ||
c4b27684 JR |
26 | %description -l pl.UTF-8 |
27 | GenChemLab jest bazującą na OpenGL aplikacją przeznaczoną do symulacji | |
28 | najpopularniejszych ćwiczeń chemicznych. Może być używana do | |
29 | przygotowania przez studentów doświadczeń w laboratorium, lub w | |
30 | miejscach gdzie laboratoria nie są publicznie dostępne jak nauka w | |
31 | szkołach lub domu. Aktualnie są obsługiwane eksperymenty takie jak | |
32 | miareczkowanie, kalorymetria, zmiana punktu zamrażania, ciśnienie pary | |
eb4007c1 | 33 | wodnej i spektrometria. |
34 | ||
35 | %prep | |
36 | %setup -q | |
588bedab | 37 | %patch0 -p1 |
eb4007c1 | 38 | |
39 | %build | |
40 | cp -f /usr/share/automake/config.sub . | |
41 | %configure \ | |
42 | --with-qt-libraries=%{_libdir} | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
51 | ln -sf %{_docdir}/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/%{name}/doc | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc README.txt doc/* | |
59 | %attr(755,root,root) %{_bindir}/%{name} | |
60 | %{_desktopdir}/%{name}.desktop | |
61 | %{_pixmapsdir}/%{name}.png | |
62 | %dir %{_datadir}/%{name} | |
63 | %{_datadir}/%{name}/doc |