Packages split out, with bugfix in debian and addition of red hat

This commit is contained in:
Stefan Petersen 2001-12-22 21:13:33 +00:00
parent 0d785716ec
commit 6369cc6f36
2 changed files with 72 additions and 2 deletions

View File

@ -38,7 +38,7 @@
remove this with a flag during configure.
<h3>Resources</h3>
<h3>General Resources</h3>
<ul>
<li> <a href="http://www.sourceforge.net/projects/gerbv/">Project info page</a>
@ -47,12 +47,19 @@
<li> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gerbv">
Browse the CVS repository</a>
<li> Info gathered on RS-274X <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gerbv/gerbv/doc/sources.txt?rev=1.3&content-type=text/vnd.viewcvs-markup">here</a>.
</ul>
<h3>Packaging</h3>
<ul>
<li> Debian package. Available in both
<a href="http://packages.debian.org/testing/electronics/gerbv.html">testing</a>
and
<a href="http://packages.debian.org/testing/electronics/gerbv.html">unstable</a>.
<a href="http://packages.debian.org/unstable/electronics/gerbv.html">unstable</a>.
<li> Red Hat package specification files available
<a href="http://gerbv.sourceforge.net/redhat/">here</a>.
</ul>
<h3>System Requirements</h3>
gerbv is dependent on a couple of different external libraries:

63
redhat/gerbv-0.0.6-1.spec Normal file
View File

@ -0,0 +1,63 @@
# gerbv.spec
Summary: Gerber file viewer.
Name: gerbv
Version: 0.0.6
Release: 1
Source: %{name}-%{version}.tar.gz
Url: http://www.geda.seul.org
Packager: W. Kazubski <wk@ire.pw.edu.pl>
Copyright: GPL
Group: Applications/Engineering
BuildRoot: /var/tmp/
%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.
%prep
%setup -n %{name}-%{version}
%build
./configure --prefix=/usr --mandir=/usr/share/man
make all
# install will be a bit complicated because we are not assured
# that the builder has root privileges
%install
make install DESTDIR=$RPM_BUILD_ROOT
strip $RPM_BUILD_ROOT/usr/bin/%{name}
# uncomment this to add examples
#cp -r example $RPM_BUILD_ROOT/usr/share/gerbv/
%clean
rm -Rf $RPM_BUILD_ROOT/%{name}-%{version}
%files
%defattr(-,root,root)
%dir /usr/share/gerbv
%dir /usr/share/gerbv/scheme
%doc AUTHORS ChangeLog CONTRIBUTORS COPYING NEWS README TODO
/usr/bin/gerbv
/usr/share/man/man1/gerbv.*
/usr/share/gerbv/*
%changelog
* Mon Dec 17 2001 W. Kazubski <wk@ire.pw.edu.pl>
- changed to gerbv-0.0.6, option to include examples added
* Thu Nov 22 2001 W. Kazubski <wk@ire.pw.edu.pl>
- changed to build without root (DESTDIR=... added)
* Wed Nov 21 2001 W. Kazubski <wk@ire.pw.edu.pl>
- initialization of spec file.
# end of file