1 Summary: Program for plotting 3-D molecular structures
2 Summary(pl.UTF-8): Program do wykreślania trójwymiarowych struktur molekularnych
8 Source0: http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz
9 # Source0-md5: ea8d64ee3572ca22f87f12bbc3d1ea47
10 Patch0: %{name}-desktop.patch
11 URL: http://www.scl.ameslab.gov/~brett/MacMolPlt/
12 BuildRequires: OpenGL-GLU-devel
13 BuildRequires: OpenGL-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: wxGTK2-unicode-gl-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A modern graphics program for plotting 3-D molecular structures and
21 normal modes (vibrations).
23 %description -l pl.UTF-8
24 Nowoczesny program graficzny do wykreślania trójwymiarowych struktur
25 molekularnych oraz drgań swobodnych (wibracji).
36 --with-wx-config="wx-gtk2-unicode-config"
40 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
45 DESTDIR=$RPM_BUILD_ROOT
47 install resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir}
48 install resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/wxmacmolplt
57 %{_datadir}/wxmacmolplt
58 %{_desktopdir}/wxmacmolplt.desktop
59 %{_pixmapsdir}/wxmacmolplt.png
60 %{_mandir}/man1/wxmacmolplt.1*