# $Id$ # Authority: dries # Screenshot: http://wildspark.com/dxfscope/screenshot-city-thumb.png # ScreenshotURL: http://wildspark.com/dxfscope/ %{?dtag: %{expand: %%define %dtag 1}} %{?fc4:%define _without_modxorg 1} %{?el4:%define _without_modxorg 1} %{?fc3:%define _without_modxorg 1} %{?fc2:%define _without_modxorg 1} %{?fc1:%define _without_modxorg 1} %{?el3:%define _without_modxorg 1} %{?rh9:%define _without_modxorg 1} %{?rh7:%define _without_modxorg 1} %{?el2:%define _without_modxorg 1} %{?rh6:%define _without_modxorg 1} %{?yd3:%define _without_modxorg 1} Summary: Viewer for DXF drawings Name: dxfscope Version: 0.2 Release: 3.2 License: GPL Group: Applications/Multimedia URL: http://wildspark.com/dxfscope/ Source: http://wildspark.com/dxfscope/dxfscope-current.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %{!?_without_modxorg:BuildRequires: libX11-devel} %{?_without_modxorg:BuildRequires: XFree86-devel} %description DXFscope is a viewer for DXF drawings. It supports the most commonly used entities of the DXF specification. %prep %setup %build %{__perl} -pi.orig -e ' s|^(BINDIR)=.+$|$1=\$(bindir)|; s|^(SHAREDIR)=.+$|$1=\$(datadir)/dxfscope|; s|-L/usr/X11R6/lib|-L%{_prefix}/X11R6/%{_lib}|; s| -oroot | |; ' Makefile %{__make} %{?_smp_mflags} \ datadir="%{_datadir}" %install %{__rm} -rf %{buildroot} %makeinstall %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYING HACKING README TODO %{_bindir}/dxfscope %{_datadir}/dxfscope/ %changelog * Sat Apr 08 2006 Dries Verachtert - 0.2-3.2 - Rebuild for Fedora Core 5. * Fri Jun 25 2004 Dag Wieers - 0.2-3 - Cosmetic cleanup. - Fixes for x86_64. * Mon May 24 2004 Dries Verachtert 0.2-3 - install require fix for fedora core 2 Thanks to Jochen Schlick for reporting the bug! * Sun Jan 11 2004 Dries Verachtert 0.2-2 - cleanup of spec file * Sat Dec 20 2003 Dries Verachtert 0.2-1 - first packaging for Fedora Core 1