xcircuit/xcircuit.spec

Name: xcircuit
Summary: Electronic circuit schematic drawing program
Version: 3.3.1
Release: 2.2
License: GPL
Group: Applications/Engineering
URL: http://xcircuit.ece.jhu.edu/
Description: Xcircuit is a general-purpose drawing program and also a specific-purpose CAD program for circuit schematic drawing and schematic capture.

CentOS 7 x86_64

The build could not start because the following file is missing: xcircuit-3.3.1.tgz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: xcircuit-3.3.1.tgz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: <tim@bach.ece.jhu.edu>


%{?rh9:%define _without_tcltk_devel 1}
%{?rh8:%define _without_tcltk_devel 1}
%{?rh7:%define _without_tcltk_devel 1}
%{?el2:%define _without_tcltk_devel 1}

%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?fc4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}

Summary: Electronic circuit schematic drawing program
Name: xcircuit
Version: 3.3.1
Release: 2.2%{?dist}
License: GPL
Group: Applications/Engineering
URL: http://xcircuit.ece.jhu.edu/

Source: http://xcircuit.ece.jhu.edu/archive/xcircuit-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libtool

%{!?_without_tcltk_devel:BuildRequires: tcl-devel >= 8.3, tk-devel}
%{?_without_tcltk_devel:BuildRequires: tcl >= 8.3, tk}
%{!?_without_modxorg:BuildRequires: libXt-devel, libXpm-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

%description
Xcircuit is a general-purpose drawing program and also a specific-purpose
CAD program for circuit schematic drawing and schematic capture.

%prep
%setup

%build
%{__libtoolize} --force --copy
%{__aclocal}
%{__automake} --add-missing
%{__autoconf}
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall \
	datadir="%{buildroot}%{_libdir}"

%{__make} install-man \
	mandir="%{buildroot}%{_mandir}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES COPYRIGHT README* TODO examples/
%doc %{_mandir}/man1/xcircuit.1*
%{_bindir}/xcircuit
%{_libdir}/xcircuit-3.3/

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 3.3.1-2.2
- Rebuild for Fedora Core 5.

* Sat Dec 04 2004 Dag Wieers <dag@wieers.com> - 3.3.1-2
- Fixed problem with incorrect %%datadir. (Michael D. Setzer)

* Fri Dec 03 2004 Dag Wieers <dag@wieers.com> - 3.3.1-1
- Initial package. (using DAR)