public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/pcb] rawhide: update to 4.3.0 fixes rhbz#1787805
Date: Fri, 10 Jul 2026 02:49:00 GMT [thread overview]
Message-ID: <178365174095.1.7901110593977971001.rpms-pcb-80bc8084967e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pcb
Branch : rawhide
Commit : 80bc8084967e5445a98e8d7c361fb6a73007c6a7
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-29T21:39:36-03:00
Stats : +49/-58 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pcb/c/80bc8084967e5445a98e8d7c361fb6a73007c6a7?branch=rawhide
Log:
update to 4.3.0 fixes rhbz#1787805
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/pcb.spec b/pcb.spec
index 84c7baa..268e1e3 100644
--- a/pcb.spec
+++ b/pcb.spec
@@ -1,40 +1,41 @@
-# Features in Fedora/Free Electronic Lab
-
-%global pcbver 4.2.0
-
Name: pcb
-Version: %{pcbver}
+Version: 4.3.0
Release: %autorelease
-
Summary: An interactive printed circuit board editor
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
+
License: GPL-2.0-or-later
URL: http://pcb.geda-project.org/index.html
+Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+
+# Upstream http://git.geda-project.org/pcb/commit/?id=9dea9f5a3801d612f78c738fe7efccefa5745000
+Patch1: pcb-fedora-c99.patch
-BuildRequires: make
+BuildRequires: bison
+BuildRequires: cups
+BuildRequires: dbus-devel
+BuildRequires: desktop-file-utils
+BuildRequires: flex
+BuildRequires: fontconfig-devel
+BuildRequires: gawk
BuildRequires: gcc-c++
+BuildRequires: gd-devel
+BuildRequires: gettext-devel
+BuildRequires: gtkglext-devel
+BuildRequires: gtk2-devel
+BuildRequires: ImageMagick
+BuildRequires: intltool
+BuildRequires: libICE-devel
+BuildRequires: make
+BuildRequires: mesa-libGLU-devel
BuildRequires: perl-generators
-BuildRequires: tcl, tk, bison, flex, gawk, ImageMagick, gtk2-devel, gd-devel, fontconfig-devel
-BuildRequires: cups, tetex-latex, libICE-devel, desktop-file-utils, intltool, gettext-devel
-BuildRequires: dbus-devel
-BuildRequires: mesa-libGLU-devel gtkglext-devel
-# Testsuite
-# 2011-11-29 Disabling testsuite as rawhide has a broken libgmp.so.3
-# BuildRequires: gerbv geda-gaf
-
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+BuildRequires: tcl
+BuildRequires: tetex-latex
+BuildRequires: tk
+BuildRequires: unzip
Requires: m4
Requires: electronics-menu
-Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{pcbver}.tar.gz
-
-# sent upstream
-#Patch0: 0001-Fix-the-AppData-and-update-to-the-latest-spec-versio.patch
-
-# Upstream http://git.geda-project.org/pcb/commit/?id=9dea9f5a3801d612f78c738fe7efccefa5745000
-Patch1: pcb-fedora-c99.patch
-
%description
PCB is an interactive printed circuit board editor.
PCB includes a rats nest feature, design rule checking, and can provide
@@ -44,40 +45,34 @@ high end features such as an auto-router and trace optimizer which can
tremendously reduce layout time.
%package doc
-Summary: Documentation for PCB, an interactive printed circuit board editor
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: Documentation for PCB, an interactive printed circuit board editor
+BuildArch: noarch
+Requires: %{name} = %{version}-%{release}
%description doc
This package contains the documentation of PCB, an interactive printed circuit
board editor.
-
%prep
-%setup -q -n %{name}-%{pcbver}
+%autosetup -p1
-%{__sed} -i \
+# Convert ChangeLog to UTF-8
+iconv -f iso-8859-1 -t utf-8 ChangeLog -o ChangeLog.utf8
+mv ChangeLog.utf8 ChangeLog
+
+sed -i \
's|examplesdir = $(pkgdatadir)/examples|examplesdir = @docdir@/examples|' \
example/libraries/Makefile.*
-%{__sed} -i \
+sed -i \
's|tutdir = $(pkgdatadir)/tutorial|tutdir = @docdir@/tutorial|' \
tutorial/Makefile.*
-#%%patch0 -p1 -b fix-appdata-file
-%patch -P1 -p1 -b fedora-c99
touch aclocal.m4 Makefile.in
%build
export WISH=%{_bindir}/wish
-# Fixes failed build on EPEL-5
-%if 0%{?rhel}
-export CFLAGS=`echo %optflags | sed "s/-D_FORTIFY_SOURCE=2 // g" -`
-%endif
-
-
-# Bug 472618 : disable-update-desktop-database
-# Bug 544657 : --enable-dbus
%configure \
--enable-dbus \
--enable-toporouter \
@@ -85,14 +80,13 @@ export CFLAGS=`echo %optflags | sed "s/-D_FORTIFY_SOURCE=2 // g" -`
--disable-update-desktop-database \
--docdir=%{_pkgdocdir}
-%{__make} %{?_smp_mflags}
+%make_build
pushd doc
-%{__make} -t pcb.pdf pcb.info pcb.html
+make -t pcb.pdf pcb.info pcb.html
popd
-
%install
-%{__make} DESTDIR=%{buildroot} INSTALL="%{_bindir}/install -p" install
+%make_install
# in /usr/share/pcb/newlib/ folder, sockets is an empty folder
@@ -122,7 +116,7 @@ unzip tools/apctools.zip
install -p -m 755 apc*.pl %{buildroot}%{_datadir}/%{name}/tools
# Removes duplicates
-%{__rm} -f %{buildroot}%{_datadir}/%{name}/tools/apctools.zip
+rm -f %{buildroot}%{_datadir}/%{name}/tools/apctools.zip
## ---
@@ -130,38 +124,38 @@ install -p -m 755 apc*.pl %{buildroot}%{_datadir}/%{name}/tools
# pcb format to ncap format used for mucspcb to auto-route the circuit.
# In newer versions of PCB, auto-route is included and pcb2ncap and mucspcb
# are no more needed.
-%{__rm} -f %{buildroot}%{_datadir}/%{name}/tools/pcb2ncap.tgz
+rm -f %{buildroot}%{_datadir}/%{name}/tools/pcb2ncap.tgz
-chmod 755 %{buildroot}%{_datadir}/%{name}/tools/{PCB2HPGL,tgo2pcb.tcl,Merge*}
+chmod 755 %{buildroot}%{_datadir}/%{name}/tools/{PCB2HPGL,pcbdiff,tgo2pcb.tcl,Merge*}
# remove unnecessary file
-%{__rm} -f %{buildroot}%{_datadir}/%{name}/tools/gerbertotk.c
+rm -f %{buildroot}%{_datadir}/%{name}/tools/gerbertotk.c
-%{__rm} -rf %{buildroot}%{_datadir}/info/dir
+rm -rf %{buildroot}%{_datadir}/info/dir
mv %{buildroot}%{_pkgdocdir}/refcard.pdf %{buildroot}%{_pkgdocdir}/pcb-reference-card.pdf
# remove duplicates
-%{__rm} -f %{buildroot}%{_bindir}/Merge*
+rm -f %{buildroot}%{_bindir}/Merge*
# L#854396 0.20110918 needlessly installs gts static library & header file
-%{__rm} -f %{buildroot}%{_libdir}/libgts.a %{buildroot}%{_includedir}/gts.h
+rm -f %{buildroot}%{_libdir}/libgts.a %{buildroot}%{_includedir}/gts.h
# locale's
%find_lang %{name}
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
# Documentation sub-package
%files doc
%{_infodir}/%{name}*
%doc %{_pkgdocdir}/
-
# Main package
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README
-#%%doc README_FILES/CHANGES README_FILES/Whats_new_in_2.0 README_FILES/Tools
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
@@ -171,10 +165,7 @@ mv %{buildroot}%{_pkgdocdir}/refcard.pdf %{buildroot}%{_pkgdocdir}/pcb-reference
%{_datadir}/icons/hicolor/*/mimetypes/application-x-*
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/mime/packages/pcb.xml
-#%%{_datadir}/mimelnk/application/x-*.desktop
%{_datadir}/gEDA/scheme/gnet-pcbfwd.scm
-
-
%changelog
%autochangelog
diff --git a/sources b/sources
index 9b1a3e8..78aa238 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcb-4.2.0.tar.gz) = eeab83359e3958444bc1565029a1f54087b21219a81449f48b5e4b89e7878ce770ddbf4411c7cc900dd95f4d50270aba47878be1b492b1042f41a2cb29d5584b
+SHA512 (pcb-4.3.0.tar.gz) = eaee631c7c2d0a8047e95634ac1a3892fa38d621d7fd3c8aafaaa05692cf6e6a92ea5733bf512631f9f8c2ff5b6dbeeda7f304cd35cfb771d339976842d64039
reply other threads:[~2026-07-10 2:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178365174095.1.7901110593977971001.rpms-pcb-80bc8084967e@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox