]> git.pld-linux.org Git - SPECS.git/blob - genchemlab.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / genchemlab.spec
1 Summary:        General Chemistry Lab Simulator - "GenChemLab"
2 Summary(pl.UTF-8):      Ogólny symulator labolatorium chemicznego
3 Name:           genchemlab
4 Version:        1.0
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://dl.sourceforge.net/genchemlab/%{name}-%{version}.tgz
9 # Source0-md5:  ef364cff3f3e2dba4c62a5d1a0084bae
10 Patch0:         %{name}-desktop.patch
11 URL:            http://genchemlab.sourceforge.net/
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
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
33 wodnej i spektrometria.
34
35 %prep
36 %setup -q
37 %patch0 -p1
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
This page took 0.057171 seconds and 3 git commands to generate.