Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
geda-gaf
geda-gaf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geda-gaf.spec of Package geda-gaf
# # spec file for package geda-gaf # # Copyright (c) 2015 SUSE LINUX 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: geda-gaf Version: 1.8.2 Release: 0 %define libgeda_major 42 Summary: Electronic Design Automation Toolsuite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Url: http://geda-project.org/ Source0: http://ftp.geda-project.org/geda-gaf/stable/v1.8/%{version}/%{name}-%{version}.tar.gz Source1: geda-gaf-rpmlintrc # PATCH-FIX-OPENSUSE gschem-doc-path.patch -- set correct path to documentation Patch0: gschem-doc-path.patch # PATCH-FIX-OPENSUSE grenum-no-build-time.patch -- fix "W: file-contains-date-and-time" Patch1: grenum-no-build-time.patch BuildRequires: bison BuildRequires: cairo-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: flex BuildRequires: gdk-pixbuf-devel BuildRequires: gettext-tools BuildRequires: groff BuildRequires: gtk2-devel BuildRequires: guile-devel BuildRequires: intltool BuildRequires: libstroke-devel BuildRequires: perl-XML-Parser BuildRequires: pkg-config BuildRequires: shared-mime-info BuildRequires: transfig BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: geda-gattrib = %{version} Requires: geda-gnetlist = %{version} Requires: geda-gschem = %{version} Requires: geda-gsymcheck = %{version} Requires: geda-symbols = %{version} Requires: geda-utils = %{version} Requires: geda-xgsch2pcb Requires: pcb Recommends: geda-doc Recommends: geda-examples %description The GPL Electronic Design Automation (gEDA) project has produced and continues working on a full GPL'd suite and toolkit of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. Currently, the gEDA project offers a mature suite of free software applications for electronics design, including schematic capture, attribute management, bill of materials (BOM) generation, netlisting into over 20 netlist formats, analog and digital simulation, and printed circuit board (PCB) layout. %package -n libgeda%{libgeda_major} Summary: Basic Library that is used by several gEDA programs License: GPL-2.0+ Group: System/Libraries Requires: libgeda%{libgeda_major}-data %description -n libgeda%{libgeda_major} This package provides the basic library for several gEDA programs. The gEDA project is working on producing a full GPL'd suite of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. %package -n libgeda%{libgeda_major}-data Summary: Data for basic Library that is used by several gEDA programs License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires(post): shared-mime-info Requires(postun): shared-mime-info %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description -n libgeda%{libgeda_major}-data This package provides the basic library for several gEDA programs. The gEDA project is working on producing a full GPL'd suite of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. %package -n libgeda-devel Summary: Basic Library that is Used by Several gEDA Programs License: GPL-2.0+ Group: Development/Libraries/C and C++ # Requires: freetype2-devel Requires: glib2-devel Requires: gtk2-devel Requires: guile-devel Requires: libgeda%{libgeda_major} = %{version} Requires: libjpeg-devel Requires: libpng-devel %description -n libgeda-devel This package provides the basic library for several gEDA programs. The gEDA project is working on producing a full GPL'd suite of Electronic Design Automation tools. These tools are used for electrical circuit design, schematic capture, simulation, prototyping, and production. %package -n geda-doc Summary: Documentation Files for the gEDA Suite License: GFDL-1.2 Group: Documentation/Other %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description -n geda-doc This package contains the documentation of the gEDA suite. The documentation is a snapshot of the gEDA wiki located at http://wiki.geda-project.org/. %package -n geda-examples Summary: Some Example Files for the gEDA suite License: GPL-2.0+ Group: Documentation/Other Requires: geda-symbols = %{version} %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description -n geda-examples Package with four nice example projects realized with gEDA. %package -n geda-gattrib Summary: Symbol and Schematic Attribute Editor of the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires: geda-symbols = %{version} Requires: libgeda%{libgeda_major} = %{version} %description -n geda-gattrib With gattrib you can edit attributes of schematic or symbol files. It has a spreadsheet like GUI. gattrib is part of the gEDA suite. %package -n geda-gnetlist Summary: Schematic Netlist Generator Program of the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires: geda-symbols = %{version} Requires: libgeda%{libgeda_major} = %{version} %description -n geda-gnetlist gnetlist is the netlist generator program of the gEDA suite. It reads schematic files and converts them into different connecitity netlists. gnetlist has several backends to generate netlists for pcb, spice, vhdl, verilog and many other programs. %package -n geda-gschem Summary: Schematic Capture Program of the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires: geda-symbols = %{version} Requires: libgeda%{libgeda_major} = %{version} Recommends: geda-doc %description -n geda-gschem gschem is the schematic capture program of the gEDA suite. You can draw schematics for simulation, pcb production or documentation. With gschem you can draw hierarchical schematics. %package -n geda-gsymcheck Summary: Schematic Symbol Checker Program of the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires: geda-symbols = %{version} Requires: libgeda%{libgeda_major} = %{version} %description -n geda-gsymcheck gsymcheck is a symbol checker of the gEDA suite. It checks symbols for missing or duplicate pins, missing attributes and definitions. %package -n geda-symbols Summary: Schematic Symbols for the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %description -n geda-symbols Package with schematic symbols for the gEDA suite %package -n geda-utils Summary: Various Utilities and Scripts for the gEDA Suite License: GPL-2.0+ Group: Productivity/Scientific/Electronics Requires: geda-symbols = %{version} Requires: libgeda%{libgeda_major} = %{version} %description -n geda-utils This utility package contains several helper utilities for the gEDA suite. An advanced pcb netlister gsch2pcb, symbol converters and creators, refdes renumbering tools and many others. %prep %setup -q %patch0 -p1 %patch1 -p1 %build # export LDFLAGS="-lm $LDFLAGS" %configure \ --docdir=%{_docdir}/%{name} \ --disable-static \ --disable-rpath \ --disable-update-xdg-database make %{?_smp_mflags} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %suse_update_desktop_file -r geda-gschem Education Engineering %suse_update_desktop_file -r geda-gattrib Education Engineering %fdupes -s %{buildroot}%{_docdir}/geda-gaf/examples %fdupes -s %{buildroot}%{_docdir}/geda-gaf/wiki %find_lang geda-gattrib %find_lang geda-gschem %find_lang libgeda%{libgeda_major} install -Dm 644 {AUTHORS,ChangeLog,COPYING,README,NEWS} %{buildroot}%{_docdir}/%{name}/ %check make check %clean rm -rf %{buildroot} %post -n libgeda%{libgeda_major} -p /sbin/ldconfig %postun -n libgeda%{libgeda_major} -p /sbin/ldconfig %post -n libgeda%{libgeda_major}-data %install_info --info-dir=%{_infodir} %{_infodir}/geda-scheme.info.gz /usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : %postun -n libgeda%{libgeda_major}-data %install_info_delete --info-dir=%{_infodir} %{_infodir}/geda-scheme.info.gz /usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : %files %defattr(-,root,root) %doc %{_docdir}/%{name}/AUTHORS %doc %{_docdir}/%{name}/ChangeLog %doc %{_docdir}/%{name}/COPYING %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/NEWS %files -n libgeda%{libgeda_major} %defattr(-,root,root) %{_libdir}/libgeda.so.%{libgeda_major}* %files -n libgeda%{libgeda_major}-data -f libgeda%{libgeda_major}.lang %defattr(-,root,root) %dir %{_datadir}/gEDA %dir %{_datadir}/gEDA/scheme %{_datadir}/gEDA/gafrc.d %{_datadir}/gEDA/system-gafrc %{_datadir}/gEDA/prolog.ps %{_datadir}/gEDA/print-colormap-lightbg %{_datadir}/gEDA/print-colormap-darkbg %{_datadir}/gEDA/scheme/geda.scm %{_datadir}/gEDA/scheme/color-map.scm %{_datadir}/icons/hicolor/*/mimetypes/* %{_datadir}/mime/packages/libgeda.xml %{_infodir}/geda-scheme.info.gz %files -n libgeda-devel %defattr(-,root,root) %{_includedir}/libgeda/ %{_libdir}/libgeda.so %{_libdir}/pkgconfig/libgeda.pc %files -n geda-doc %defattr(-,root,root) %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/gedadocs.html %doc %{_docdir}/%{name}/nc.pdf %doc %{_docdir}/%{name}/man/ %doc %{_docdir}/%{name}/readmes/ %doc %{_docdir}/%{name}/wiki/ %files -n geda-examples %defattr(-,root,root) %dir %{_docdir}/%{name} %{_docdir}/%{name}/examples/ %files -n geda-gattrib -f geda-gattrib.lang %defattr(-,root,root) %{_bindir}/gattrib %{_datadir}/gEDA/system-gattribrc %{_datadir}/gEDA/gattrib-menus.xml %{_datadir}/icons/hicolor/*/apps/geda-gattrib.* %{_datadir}/applications/geda-gattrib.desktop %{_mandir}/man1/gattrib.1.gz %files -n geda-gnetlist %defattr(-,root,root) %{_bindir}/gnetlist %{_datadir}/gEDA/scheme/gnetlist %{_datadir}/gEDA/system-gnetlistrc %{_datadir}/gEDA/scheme/gnet-*.scm %{_datadir}/gEDA/scheme/gnetlist-post.scm %{_datadir}/gEDA/scheme/gnetlist.scm %{_datadir}/gEDA/scheme/partslist-common.scm %{_mandir}/man1/gnetlist.1.gz %files -n geda-gschem -f geda-gschem.lang %defattr(-,root,root) %dir %{_datadir}/gEDA/scheme/geda %dir %{_datadir}/gEDA/scheme/geda/core %dir %{_datadir}/gEDA/scheme/gschem %dir %{_datadir}/gEDA/scheme/gschem/core %{_bindir}/gschem %{_datadir}/gEDA/system-gschemrc %{_datadir}/gEDA/gschem-gtkrc %{_datadir}/gEDA/gschem-colormap-darkbg %{_datadir}/gEDA/gschem-colormap-lightbg %{_datadir}/gEDA/gschem-colormap-bw %{_datadir}/gEDA/scheme/pcb.scm %{_datadir}/gEDA/scheme/auto-uref.scm %{_datadir}/gEDA/scheme/gschem.scm %{_datadir}/gEDA/scheme/auto-place-attribs.scm %{_datadir}/gEDA/scheme/print.scm %{_datadir}/gEDA/scheme/default-attrib-positions.scm %{_datadir}/gEDA/scheme/generate_netlist.scm %{_datadir}/gEDA/scheme/image.scm %{_datadir}/gEDA/scheme/list-keys.scm %{_datadir}/gEDA/scheme/print-NB-attribs.scm %{_datadir}/gEDA/scheme/geda/attrib.scm %{_datadir}/gEDA/scheme/geda/deprecated.scm %{_datadir}/gEDA/scheme/geda/object.scm %{_datadir}/gEDA/scheme/geda/os.scm %{_datadir}/gEDA/scheme/geda/page.scm %{_datadir}/gEDA/scheme/geda/core/gettext.scm %{_datadir}/gEDA/scheme/gschem/attrib.scm %{_datadir}/gEDA/scheme/gschem/core/gettext.scm %{_datadir}/gEDA/scheme/gschem/deprecated.scm %{_datadir}/gEDA/scheme/gschem/gschemdoc.scm %{_datadir}/gEDA/scheme/gschem/hook.scm %{_datadir}/gEDA/scheme/gschem/keymap.scm %{_datadir}/gEDA/scheme/gschem/selection.scm %{_datadir}/gEDA/scheme/gschem/util.scm %{_datadir}/gEDA/scheme/gschem/window.scm %{_datadir}/gEDA/bitmap %{_datadir}/icons/hicolor/*/apps/geda-gschem.* %{_datadir}/applications/geda-gschem.desktop %{_mandir}/man1/gschem.1.gz %files -n geda-gsymcheck %defattr(-,root,root) %{_bindir}/gsymcheck %{_datadir}/gEDA/system-gsymcheckrc %{_mandir}/man1/gsymcheck.1.gz %files -n geda-symbols %defattr(-,root,root) %{_datadir}/gEDA/sym %files -n geda-utils %defattr(-,root,root) %{_bindir}/convert_sym %{_bindir}/garchive %{_bindir}/gmk_sym %{_bindir}/grenum %{_bindir}/gsch2pcb %{_bindir}/gschlas %{_bindir}/gsymfix %{_bindir}/gxyrs %{_bindir}/olib %{_bindir}/pads_backannotate %{_bindir}/pcb_backannotate %{_bindir}/refdes_renum %{_bindir}/sarlacc_schem %{_bindir}/sarlacc_sym %{_bindir}/schdiff %{_bindir}/smash_megafile %{_bindir}/sw2asc %{_bindir}/tragesym %{_mandir}/man1/convert_sym.1.gz %{_mandir}/man1/garchive.1.gz %{_mandir}/man1/gmk_sym.1.gz %{_mandir}/man1/grenum.1.gz %{_mandir}/man1/gsch2pcb.1.gz %{_mandir}/man1/gschlas.1.gz %{_mandir}/man1/gsymfix.1.gz %{_mandir}/man1/gxyrs.1.gz %{_mandir}/man1/olib.1.gz %{_mandir}/man1/pads_backannotate.1.gz %{_mandir}/man1/pcb_backannotate.1.gz %{_mandir}/man1/refdes_renum.1.gz %{_mandir}/man1/sarlacc_schem.1.gz %{_mandir}/man1/sarlacc_sym.1.gz %{_mandir}/man1/schdiff.1.gz %{_mandir}/man1/smash_megafile.1.gz %{_mandir}/man1/sw2asc.1.gz %{_mandir}/man1/tragesym.1.gz %{_datadir}/gEDA/perl/ %{_datadir}/gEDA/system-gschlasrc %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