Name: magic Version: 7.4.13 Release: 1%{?dist} Summary: VLSI layout tool Group: Applications/Engineering License: BSD URL: http://opencircuitdesign.com/magic/ Source0: http://opencircuitdesign.com/magic/archive/magic-%{version}.tgz Source1: magic.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: tk-devel, blt, desktop-file-utils %description Magic is a venerable VLSI layout tool, written in the 1980's at Berkeley by John Ousterhout, now famous primarily for writing the scripting interpreter language Tcl. Due largely in part to its liberal Berkeley open-source license, magic has remained popular with universities and small companies. The open-source license has allowed VLSI engineers with a bent toward programming to implement clever ideas and help magic stay abreast of fabrication technology. However, it is the well thought-out core algorithms which lend to magic the greatest part of its popularity. Magic is widely cited as being the easiest tool to use for circuit layout, even for people who ultimately rely on commercial tools for their product design flow. %prep %setup -q -n magic-7.4 %build (cd scripts; %configure) make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{_libdir}/magic/doc \ $RPM_BUILD_ROOT%{_libdir}/magic/sys/.magicrc \ doc/man \ `find doc -name CVS -o -name Makefile` chmod 644 $RPM_BUILD_ROOT%{_libdir}/magic/tcl/console.tcl desktop-file-install --vendor fedora \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --add-category X-Fedora \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README README.Tcl TODO %{_bindir}/* %{_libdir}/magic %{_mandir}/man1/* %{_mandir}/man5/* %{_datadir}/applications/fedora-magic.desktop %changelog * Fri Apr 14 2006 Simon Perreault - 7.4.13-1 - Initial release.