/[packages]/cauldron/zhu3d/current/SPECS/zhu3d.spec
ViewVC logotype

Contents of /cauldron/zhu3d/current/SPECS/zhu3d.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 448222 - (show annotations) (download)
Sat Jun 29 08:57:52 2013 UTC (8 years, 2 months ago) by wally
File size: 2396 byte(s)
- fix file locations
- clean .spec a bit
1 Summary: OpenGL-based equation viewer and solver
2 Name: zhu3d
3 Version: 4.2.6
4 Release: %mkrel 2
5 License: GPLv2+
6 Group: Sciences/Mathematics
7 Url: http://kde-apps.org/content/show.php?content=43071
8 Source0: http://download.sourceforge.net/zhu3d/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 Patch0: %{name}-4.2.6-path.patch
11 BuildRequires: qt4-devel >= 4.0
12 BuildRequires: libmesaglu-devel
13
14 %description
15 With Zhu3D you interactively can view and animate functions,
16 isosurfaces and a further independent parametric system.
17 Numerical solutions of equation systems can be found with
18 a precise and reliable adaptive random search. The
19 OpenGL-viewer supports zooming, scaling, rotating and
20 translating as well as filed lightning or surface properties.
21 Special effects are transparency, textures, fog and motion blur.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 # setup compile flags is needed so that -fPIC and -DPIC will be overwritten
29 %setup_compile_flags
30 %qmake_qt4
31 %make
32
33 %install
34 mkdir -p %{buildroot}%{_datadir}/%{name}/{work/textures,system/languages}
35 mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
36
37 install -D %{name} %{buildroot}%{_bindir}/%{name}
38 install -D %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
39 install work/*.zhu %{buildroot}%{_datadir}/%{name}/work
40 install work/textures/* %{buildroot}%{_datadir}/%{name}/work/textures
41 install system/*.zhu %{buildroot}%{_datadir}/%{name}/system
42 install system/languages/*.qm %{buildroot}%{_datadir}/%{name}/system/languages
43 install system/icons/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/64x64/%{name}.png
44
45 #useless file
46 rm -f %{buildroot}%{_datadir}/%{name}/work/.directory
47
48 %files
49 %doc doc/ readme.txt
50 %{_bindir}/%{name}
51 %dir %{_datadir}/%{name}
52 %dir %{_datadir}/%{name}/work
53 %dir %{_datadir}/%{name}/work/textures
54 %dir %{_datadir}/%{name}/system
55 %dir %{_datadir}/%{name}/system/languages
56 %{_datadir}/%{name}/work/*.zhu
57 %{_datadir}/%{name}/work/textures/*.jpg
58 %{_datadir}/%{name}/work/textures/*.txt
59 %{_datadir}/%{name}/system/*.zhu
60 %{_iconsdir}/hicolor/64x64/*.png
61 %{_datadir}/applications/%{name}.desktop
62 %lang(cs) %{_datadir}/%{name}/system/languages/%{name}_cs.qm
63 %lang(de) %{_datadir}/%{name}/system/languages/%{name}_de.qm
64 %lang(es) %{_datadir}/%{name}/system/languages/%{name}_es.qm
65 %lang(fr) %{_datadir}/%{name}/system/languages/%{name}_fr.qm
66 %lang(zh) %{_datadir}/%{name}/system/languages/%{name}_zh.qm

  ViewVC Help
Powered by ViewVC 1.1.28