Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039915
en ru br
ALT Linux repos
S:2.7.0-alt1
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
Upstream:2.0.1

Group :: Graphics
RPM: gerbv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: gerbv
Version: 1.0.1
Release: alt1.1

Summary: Gerber file viewer

Packager: Vitaly Lipatov <lav at altlinux.ru>

Url: http://gerbv.sourceforge.net
License: GPL
Group: Graphics

Source: http://dl.sourceforge.net/%name/%name-%version.tar.bz2
Patch: %name-gcc4.patch

# Automatically added by buildreq on Thu Feb 24 2005

BuildRequires: fontconfig freetype2 glib2-devel hostinfo libatk-devel libgtk+2-devel libpango-devel libpng-devel pkgconfig xorg-x11-libs zlib-devel

%description
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.

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

%description examples
Example files for gerbv.

%prep
%setup -q
%patch

%build
%configure --enable-exportpng --enable-gtk2
%make_build

%install
make install DESTDIR=%buildroot
strip %buildroot%_bindir/%name
mkdir -p %buildroot%_datadir/gerbv
cp -r example %buildroot%_datadir/gerbv
cp -r doc %buildroot%_datadir/gerbv

mkdir -p %buildroot%_menudir
cat >%buildroot%_menudir/%name <<EOF
?package(%name): command="%name" \\
section="Applications/Development" \\
title="gerbv" \\
longtitle="Schematic tool" \\
genericname="Schematic tool" \\
icon=%name.png \\
needs="x11"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%dir %_datadir/gerbv
%dir %_datadir/gerbv/doc
%dir %_datadir/gerbv/scheme
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/gerbv
%_mandir/man1/gerbv.*
%_datadir/gerbv/doc/*
%_datadir/gerbv/scheme/init.scm
%_menudir/%name

%files examples
%dir %_datadir/gerbv/example
%_datadir/gerbv/example/*

%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