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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.448221  
changed lines
  Added in v.448222

  ViewVC Help
Powered by ViewVC 1.1.28