File pcb.spec of Package pcb
#
# spec file for package pcb (Version 1.6.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pcb
BuildRequires: bison flex libpng texlive-latex xaw3d-devel xorg-x11 xorg-x11-devel
License: GNU General Public License (GPL)
Group: Productivity/Graphics/CAD
URL: http://bach.ece.jhu.edu/~haceaton/pcb/
Autoreqprov: on
Version: 1.6.3
Release: 1144
Summary: Interactive printed circuit board design
Source: http://bach.ece.jhu.edu/~haceaton/pcb/pcb-%{version}.tar.bz2
Patch: pcb-%{version}-stdarg.patch
Patch1: pcb-%{version}-texi.patch
Patch2: pcb-%{version}-ia64.patch
Patch3: pcb-%{version}-imake.patch
Patch4: pcb-%{version}.djb.patch
Patch5: pcb-%{version}-gcc4.patch
Patch6: pcb-%{version}-local.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
%description
Pcb is a handy tool for the X Window System built to design printed
circuit boards. All coordinate units are 1/1000 inch. For details see
the manual which can be found under /usr/share/doc/packages/pcb. There
is also a man page available.
Authors:
--------
Thomas Nau <Thomas.Nau@rz.uni-ulm.de>
%prep
%setup
%patch
%patch1
%patch2
%patch3
%patch4 -p1
%patch5
%patch6
%build
xmkmf -a
make CCOPTIONS="$RPM_OPT_FLAGS"
%install
make DESTDIR="$RPM_BUILD_ROOT" install
make -C doc DESTDIR="$RPM_BUILD_ROOT" install.man
make DESTDIR="$RPM_BUILD_ROOT" INFODIR=%{_infodir} install.info
chmod 644 example/*
%files
%defattr(-,root,root)
%doc README_FILES/* doc/*.ps doc/*.html
%doc example
%{_bindir}/*
%{_prefix}/lib/X11/pcb
%config %{_datadir}/X11/app-defaults/Pcb
%doc %{_mandir}/*/*
%doc %{_infodir}/pcb.info.gz
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%clean
rm -rf "$RPM_BUILD_ROOT"
%changelog
* Fri Jun 01 2007 - dmueller@suse.de
- fix buildrequires
* Fri Apr 20 2007 - aj@suse.de
- Use texlive for building.
* Fri Mar 30 2007 - ssommer@suse.de
- add flex and bison to BuildRequires
* Sun Aug 06 2006 - cthiel@suse.de
- fix build with X.org 7.1
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 - werner@suse.de
- Initialize local variable before usage (bug #133757)
* Thu Jun 16 2005 - meissner@suse.de
- use RPM_OPT_FLAGS.
* Thu Apr 14 2005 - werner@suse.de
- Make it work with gcc4
* Thu Feb 10 2005 - ro@suse.de
- added libpng to neededforbuild (for tetex)
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Thu Apr 24 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
* Mon Mar 03 2003 - ro@suse.de
- added info dir entry
* Tue Feb 11 2003 - nadvornik@suse.cz
- added install_info macros
* Tue Nov 26 2002 - nadvornik@suse.cz
- fixed to compile with new gcc
- added patch from http://www.ariasoft.ie/gplcontributions.html
* Tue Sep 17 2002 - ro@suse.de
- removed bogus self-provides
* Tue Jun 12 2001 - nadvornik@suse.cz
- used ComplexProgramTargetNoMan in Imakefile
* Wed May 23 2001 - schwab@suse.de
- Fix misunderstanding of the X error processing.
* Wed May 16 2001 - nadvornik@suse.cz
- fixed cast warnings on ia64
* Tue Apr 17 2001 - nadvornik@suse.cz
- fixed texinfo documentation
* Mon Oct 09 2000 - nadvornik@suse.cz
- fixed Copyright
- used bzip2
* Fri Sep 29 2000 - ro@suse.de
- make it build
* Wed May 03 2000 - nadvornik@suse.cz
- back to 1.6.3 (1.7 isn't stable)
- fixed doc files
* Fri Apr 21 2000 - nadvornik@suse.cz
- added URL
- fixed group tag
* Thu Mar 16 2000 - nadvornik@suse.cz
- fixed neededforbuild
* Fri Mar 10 2000 - nadvornik@suse.cz
- upgrade to version 1.7
- added BuildRoot
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Apr 28 1999 - ro@suse.de
- update to 1.6.3
- fix to build on alpha
* Tue Nov 10 1998 - ro@suse.de
- dont redeclare sys_errlist for glibc
* Wed Oct 08 1997 - rj@suse.de
- new version 1.5.3.ALPHA now works with (a)build
* Thu Jan 02 1997 - rj@suse.de
- new version 1.4.3 (bugfixes in lib-handling)
* Thu Jan 02 1997 - rj@suse.de
- new version 1.4.2 (new features/bugfixes)
- correction in permissions
- version (1.4.1)
- changes against version 1.3:
- improved bufferhandling
- library management
- SMD-support