]> git.pld-linux.org Git - packages/wxmacmolplt.git/blame - wxmacmolplt.spec
- up to 7.7.2
[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
130ac3ae
JR
4Version: 7.7.2
5Release: 1
4dfe652b 6License: GPL v2+
7Group: Applications
130ac3ae
JR
8Source0: https://github.com/brettbode/wxmacmolplt/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 9689e9ba8a3ec50ab5e65fd1e0e9fb25
73d46da6 10Patch0: %{name}-desktop.patch
130ac3ae 11URL: https://brettbode.github.io/wxmacmolplt/
4dfe652b 12BuildRequires: OpenGL-GLU-devel
13BuildRequires: OpenGL-devel
14BuildRequires: autoconf
15BuildRequires: automake
4ac27181
LG
16BuildRequires: glew-devel
17BuildRequires: ming-devel
130ac3ae 18BuildRequires: wxGTK3-unicode-gl-devel
4dfe652b 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}
130ac3ae 37export CXXFLAGS="%{rpmcxxflags} -std=c++11"
4dfe652b 38%configure \
130ac3ae 39 --with-wx-config=wx-gtk3-unicode-config
4dfe652b 40%{__make}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
73d46da6 45install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
46
4dfe652b 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
39d61709 50cp -a resources/wxmacmolplt.desktop $RPM_BUILD_ROOT%{_desktopdir}
51cp -a resources/wxmacmolplt.png $RPM_BUILD_ROOT%{_pixmapsdir}
73d46da6 52
4dfe652b 53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
130ac3ae 58%doc README.md LICENSE
4dfe652b 59%attr(755,root,root) %{_bindir}/wxmacmolplt
60%{_datadir}/wxmacmolplt
73d46da6 61%{_desktopdir}/wxmacmolplt.desktop
62%{_pixmapsdir}/wxmacmolplt.png
4dfe652b 63%{_mandir}/man1/wxmacmolplt.1*
This page took 0.07031 seconds and 4 git commands to generate.