Sisyphus repository
Last update: 28 november 2022 | SRPMs: 17931 | Visits: 25413381
en ru br
ALT Linux repos
5.0: 2.1.0-alt1
4.1: 1.0.1-alt1.1
4.0: 1.0.1-alt1.1
3.0: 1.0.1-alt1

Other repositories

Group :: Graphics
RPM: gerbv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gerbv
Version: 2.7.0
Release: alt1

Summary: Gerber file viewer

Packager: Vitaly Lipatov <lav at>

License: GPL
Group: Graphics

# Source-url:

Source: %name-%version.tar

Patch1: %name-2.7.0-Fix-Werror-format-security-problem.patch
Patch3: gerbv-2.7.0-gcc10.patch

# Automatically added by buildreq on Wed Nov 12 2008

BuildRequires: desktop-file-utils gcc-c++ libgtk+2-devel libpng-devel

Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files
are generated from PCB CAD system and sent to PCB manufacturers
as basis for the manufacturing process. The standard supported
by gerbv is RS-274X.

gerbv also supports drill files. The format supported are known
under names as NC-drill or Excellon. The format is a bit undefined
and different EDA-vendors implement it different.

%package examples
Summary: Gerber file examples for gerbv
Requires: gerbv
Group: Graphics
BuildArch: noarch

%description examples
Example files for gerbv.

%package -n lib%name
Summary: %name library files
Group: Development/Other

%description -n lib%name
lib%name library.

%package -n lib%name-devel
Summary: Header files for lib%name
Group: Development/Other
Requires: lib%name = %version-%release

%description -n lib%name-devel
Header files for lib%name library.

%patch1 -p1
%patch3 -p2

%configure --enable-exportpng --enable-gtk2 --disable-static
sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool

mkdir -p %buildroot%_datadir/gerbv
cp -r example %buildroot%_datadir/gerbv
cp -r doc %buildroot%_datadir/gerbv

rm -f %buildroot%_desktopdir/*.cache

%find_lang %name

%files -f %name.lang
%dir %_datadir/gerbv
%dir %_datadir/gerbv/doc
%dir %_datadir/gerbv/scheme

%files -n lib%name

%files -n lib%name-devel

%files examples
%dir %_datadir/gerbv/example


Full changelog you can see here

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