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