Sisyphus repository
Last update: 29 september 2022 | SRPMs: 17663 | Visits: 25048949
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

Summary: Gerber file viewer

Packager: Vitaly Lipatov <lav at altlinux.ru>

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

Source: http://prdownloads.sourceforge.net/%name/%name-%version.tar.bz2

# 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

%build
%configure --enable-exportpng --enable-gtk2
make all

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

mkdir -p $RPM_BUILD_ROOT%_menudir
cat >$RPM_BUILD_ROOT%_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 COPYING 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