Added a screen resolution check in preparation for handling retinal
[xcircuit.git] / xcircuit.spec.in
blob9c80d2655837847a78318d07bae54345b3105bd3
1 Name: xcircuit
2 Version: %VERSION%
3 Release: 1
4 Summary: Electronic circuit schematic drawing program
5 Group: Applications/Engineering
6 License: GPL
7 URL: http://opencircuitdesign.com/xcircuit/index.html
8 Source: http://opencircuitdesign.com/xcircuit/archive/%{name}-%{version}.tgz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildRequires: libX11-devel, libXt-devel, tcl-devel, tk-devel
11 Requires: libX11, libXt, tcl, tk
13 %description
14 Xcircuit is a general-purpose drawing program and also a specific-purpose
15 CAD program for circuit schematic drawing and schematic capture. The output
16 format is PostScript.
18 %prep
19 %setup -q
21 %build
22 %configure \
23 --with-tcl=%{_libdir} \
24 --with-tk=%{_libdir} \
25 --with-tclincls=%{_includedir} \
26 --with-tkincls=%{_includedir} \
27 --with-tcllibs=%{_libdir} \
28 --with-tklibs=%{_libdir}
29 make
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 make install DESTDIR=$RPM_BUILD_ROOT
35 %clean
36 rm -rf $RPM_BUILD_ROOT
38 %files
39 %defattr(-,root,root,-)
40 %doc CHANGES COPYRIGHT README README.* TODO VERSION
41 %{_bindir}/xcircuit
42 /usr/lib/xcircuit-3.7/*