]>
Commit | Line | Data |
---|---|---|
4dfe652b | 1 | Summary: Program for plotting 3-D molecular structures |
2 | Summary(pl.UTF-8): Program do wykreślania trójwymiarowych struktur molekularnych | |
3 | Name: wxmacmolplt | |
4ac27181 | 4 | Version: 7.4.4 |
9fec933a | 5 | Release: 5 |
4dfe652b | 6 | License: GPL v2+ |
7 | Group: Applications | |
8 | Source0: http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz | |
4ac27181 | 9 | # Source0-md5: efe722c0964689f94795dfad96116ea9 |
73d46da6 | 10 | Patch0: %{name}-desktop.patch |
4dfe652b | 11 | URL: http://www.scl.ameslab.gov/~brett/MacMolPlt/ |
12 | BuildRequires: OpenGL-GLU-devel | |
13 | BuildRequires: OpenGL-devel | |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
4ac27181 LG |
16 | BuildRequires: glew-devel |
17 | BuildRequires: ming-devel | |
4dfe652b | 18 | BuildRequires: wxGTK2-unicode-gl-devel |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | A modern graphics program for plotting 3-D molecular structures and | |
23 | normal modes (vibrations). | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Nowoczesny program graficzny do wykreślania trójwymiarowych struktur | |
27 | molekularnych oraz drgań swobodnych (wibracji). | |
28 | ||
29 | %prep | |
30 | %setup -q | |
73d46da6 | 31 | %patch0 -p1 |
4dfe652b | 32 | |
33 | %build | |
34 | %{__aclocal} | |
35 | %{__autoconf} | |
36 | %{__automake} | |
37 | %configure \ | |
39d61709 | 38 | --with-wx-config=wx-gtk2-unicode-config |
4dfe652b | 39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
73d46da6 | 44 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
45 | ||
4dfe652b | 46 | %{__make} install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
39d61709 | 49 | cp -a resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir} |
50 | cp -a resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
73d46da6 | 51 | |
4dfe652b | 52 | %clean |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
4ac27181 | 57 | %doc AUTHORS README LICENSE |
4dfe652b | 58 | %attr(755,root,root) %{_bindir}/wxmacmolplt |
59 | %{_datadir}/wxmacmolplt | |
73d46da6 | 60 | %{_desktopdir}/wxmacmolplt.desktop |
61 | %{_pixmapsdir}/wxmacmolplt.png | |
4dfe652b | 62 | %{_mandir}/man1/wxmacmolplt.1* |