Name: antennavis Version: 0.3 Release: 2%{?dist} Summary: OpenGL antenna visualisation software Group: Applications/Communications #included togl widget is BSD, rest is GPLv2+ License: GPLv2+ and BSD URL: http://pg4i.chronos.org.uk/linux/antennavis.html Source0: http://pg4i.chronos.org.uk/download/%{name}-%{version}.tar.gz Source1: antennavis.desktop Source2: antennavis-icon.png #Include DESTDIR and make sure debuginfo is created properly Patch0: %{name}-%{version}-makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mesa-libGLU-devel, libXmu-devel, libX11-devel BuildRequires: tk-devel #Requires: %description Antennavis is a visualization toolkit designed to aid the user in better understanding the data output by the NEC2 antenna modelling software. %prep %setup -q %patch0 -p1 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/ install -m 644 %{SOURCE2} \ ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/ desktop-file-install --vendor="" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING LICENSE_of_togl README %{_bindir}/* %{_mandir}/man?/* %attr(0644,root,root) %{_datadir}/applications/%{name}.desktop %attr(0644,root,root) %{_datadir}/pixmaps/* %changelog * Tue Feb 19 2008 Steve Conklin - 0.3-2 - Added desktopfile and icon * Thu Dec 06 2007 Sindre Pedersen Bjørdal 0.3-1 - Initial Build