]> git.pld-linux.org Git - packages/genchemlab.git/blob - genchemlab.spec
- typo(s)
[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:        2
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
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.094265 seconds and 3 git commands to generate.