]> git.pld-linux.org Git - packages/wxmacmolplt.git/blame - wxmacmolplt.spec
- updated to 7.4.1
[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
23c5ed2a 4Version: 7.4.1
5Release: 1
4dfe652b 6License: GPL v2+
7Group: Applications
8Source0: http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz
23c5ed2a 9# Source0-md5: ea8d64ee3572ca22f87f12bbc3d1ea47
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 \
36 --with-wx-config="wx-gtk2-unicode-config"
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
73d46da6 47install resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir}
48install resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir}
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.117343 seconds and 4 git commands to generate.