Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Podeiko
gerbv
gerbv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gerbv.spec of Package gerbv
# # spec file for package gerbv # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gerbv %define libname lib%{name} Version: 2.6.0 %define somajor 1 Release: 0 License: GPL-2.0 Summary: Gerber File Viewer that supports the RS-274X Standard Group: Productivity/Scientific/Electronics Url: http://gerbv.geda-project.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE gerbv-no-build-time.patch -- fix W: file-contains-date-and-time Patch0: gerbv-no-build-time.patch BuildRequires: libpng-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: gtk2-devel # Requires: guile BuildRoot: %{_tmppath}/%{name}-%{version}-build %description 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. The basic difference between RS-274D (the old standard) and RS-274X is basically the addition of apertures in RS-274X. It might be possible to make an RS-274X file out of an RS-274D file and an aperture list. %package -n %{libname}%{somajor} Summary: Gerber File Viewer library Group: System/Libraries %description -n %{libname}%{somajor} Gerbv library , allows developers to include parsing, editing, exporting, rendering of Gerber files into other programs. %package devel Summary: Gerber File Viewer that supports the RS-274X Standard Group: Development/Libraries/C and C++ Requires: %{libname}%{somajor} = %{version} Requires: libpng-devel Requires: gtk2-devel %description devel This package contains development files for developing applications that use gerbv library. %prep %setup -q %patch0 -p1 %build export LDFLAGS="$LDFLAGS -ldl" %configure \ --disable-static \ --enable-unit-mm \ --disable-update-desktop-database make %{?_smp_mflags} %install %makeinstall %suse_update_desktop_file %{name} Education Science Electronics find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %post -n %{libname}%{somajor} -p /sbin/ldconfig %postun -n %{libname}%{somajor} -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING NEWS README %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/%{name}/ %{_datadir}/icons/* %{_datadir}/applications/%{name}.desktop %files -n %{libname}%{somajor} %defattr(-,root,root) %{_libdir}/%{libname}.so.%{somajor}* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/%{libname}.so %{_libdir}/pkgconfig/%{libname}.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor