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