Sisyphus repository
Last update: 19 july 2019 | SRPMs: 17691 | Visits: 14348105
en ru br
ALT Linux repos
S:20140316-alt2
5.0: 20080202-alt1.qa1
4.1: 20080202-alt1.qa1

Group :: Development/Other
RPM: pcb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: pcb
Version: 20140316
Release: alt1

Summary: PCB
License: GPL
Group: Development/Other
Url: http://ftp.geda-project.org/pcb/pcb-20140316/

Packager: barssc <barssc at altlinux.ru>

Source0: %name-%version.tar.gz

BuildRequires: gcc-c++ libX11-devel flex gtk+2 libgd2-devel libgd2 libdbus-devel libdbus libdbus-glib libdbus-glib-devel tk intltool libGL-devel libGLU-devel libgtkglext-devel
BuildRequires: libgtk+2-devel libgtk+2 libjpeg libjpeg-devel gd2-utils libpng-devel zlib-devel libXpm-devel libfreetype-devel perl-XML-Parser desktop-file-utils
Requires: dbus-tools-gui
Requires(post,postun): shared-mime-info >= 0.15-alt2

%description
PCB is a CAD (computer aided design) program for the physical
design of printed circuit boards. Schematic drawed in gEDA transfer to PCB with gsch2pcb command.
Narrowly, the transfer procces, editing and PNG/PS/GERBER generation described in documentation in pcb-doc package.

%description -l ru_RU.UTF-8
PCB - это САПР, предназначенный для создания печатных плат. Схема начерченная в программе gEDA переносится
в PCB с помощью программы gsch2pcb, входящей в состав gEDA. Подробно процесс переноса, дальнейшего редактирования и
получения PNG/PS/GERBER-файлов для отправки на производство описан в документации, входящей в пакет pcb-doc.

%package -n %name-doc
Summary: Documentation for PCB
Summary(ru_RU.UTF-8): Документация для PCB
License: GPL
Group: Development/Other
Requires: %name = %version-%release
BuildArch: noarch

%description -n %name-doc
This documentation narrates about PCB programm and pcb creation flow witn gEda and PCB.

%description -l ru_RU.UTF-8 -n %name-doc
Эта документация рассказывает о программе PCB и правильной последовательности создания печатных плат с помощью пакетов gEDA и PCB.

%package -n %name-examples
Summary: Examples for PCB
Summary(ru_RU.UTF-8): Примеры для PCB
License: GPL
Group: Development/Other
Requires: %name = %version-%release
BuildArch: noarch

%description -n %name-examples
Example of pcb created in PCB.

%description -l ru_RU.UTF-8 -n %name-examples
Пример разработанной в PCB печатной платы.

%package -n %name-library
Summary: Component library for PCB
Summary(ru_RU.UTF-8): Библиотеки компонентов для PCB
License: GPL
Group: Development/Other
Requires: %name = %version-%release
BuildArch: noarch

%description -n %name-library
Component library for PCB. Contains basic set of thru-hole and SMD components.
For example: TSSOP, SO, SOIC, MSOP, TQFP, LQFP and etc.

%description -l ru_RU.UTF-8 -n %name-library
Библиотека компонентов для PCB. Собержит базовый набор выводных и безвыводных компонентов.
В том числе: TSSOP, SO, SOIC, MSOP, TQFP, LQFP и т.д.

%set_verify_elf_method textrel=relaxed, unresolved=relaxed

%prep
%setup -q

%build
%configure \
   --enable-doc \
   --enable-dbus \
   --disable-toporouter \
   --with-gui=gtk

%make_build

%install
%make DESTDIR=%buildroot install

%files -n %name
%_bindir/*
%_datadir/pcb/tools/*
%_datadir/pcb/*.sh
%_datadir/pcb/qfp-ui
%_datadir/pcb/qfp.dat
%_datadir/pcb/pcb-menu.res
%_datadir/pcb/gpcb-menu.res
%_datadir/pcb/default_font
%_datadir/icons/hicolor/16x16/mimetypes/*
%_datadir/icons/hicolor/22x22/mimetypes/*
%_datadir/icons/hicolor/24x24/mimetypes/*
%_datadir/icons/hicolor/32x32/mimetypes/*
%_datadir/icons/hicolor/48x48/mimetypes/*
%_datadir/icons/hicolor/48x48/apps/*
%_datadir/icons/hicolor/scalable/mimetypes/*
%_datadir/icons/hicolor/scalable/apps/*
%_datadir/mimelnk/application/*
%_datadir/mime/application/*
%_datadir/mime/packages/pcb.xml
%_datadir/locale/ru/*
%_datadir/gEDA/scheme/gnet-pcbfwd.scm
%_man1dir/*
%doc %_datadir/info/pcb*
%_desktopdir/pcb.desktop

%files -n %name-examples
%_datadir/doc/pcb/examples/*
%_datadir/doc/pcb/tutorial/*

%files -n %name-library
%_datadir/pcb/m4/*
%_datadir/pcb/newlib/*
%_datadir/pcb/pcblib-newlib/*
%_datadir/pcb/pcblib
%_datadir/pcb/pcblib.contents


%files -n %name-doc
%doc %_datadir/doc/%name/*html*
%doc %_datadir/doc/%name/*.png
%doc %_datadir/doc/%name/*.pdf


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin