]> git.pld-linux.org Git - packages/wxmacmolplt.git/blame - wxmacmolplt.spec
- release 5 (by relup.sh)
[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
4ac27181 4Version: 7.4.4
9fec933a 5Release: 5
4dfe652b 6License: GPL v2+
7Group: Applications
8Source0: http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz
4ac27181 9# Source0-md5: efe722c0964689f94795dfad96116ea9
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
4ac27181
LG
16BuildRequires: glew-devel
17BuildRequires: ming-devel
4dfe652b 18BuildRequires: wxGTK2-unicode-gl-devel
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22A modern graphics program for plotting 3-D molecular structures and
23normal modes (vibrations).
24
25%description -l pl.UTF-8
26Nowoczesny program graficzny do wykreślania trójwymiarowych struktur
27molekularnych 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
42rm -rf $RPM_BUILD_ROOT
43
73d46da6 44install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
45
4dfe652b 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
39d61709 49cp -a resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir}
50cp -a resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir}
73d46da6 51
4dfe652b 52%clean
53rm -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*
This page took 0.067543 seconds and 4 git commands to generate.