Bug 2576516

Summary: Review Request: bluerig - Terminal IDE, a continuation of cooledit
Product: [Fedora] Fedora Reporter: Ilia Maslakov <il.smind>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/blue-panels/bluerig
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 177841    

Description Ilia Maslakov 2026-11-19 11:52:30 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/smind/bluerig/fedora-rawhide-x86_64/11360028-bluerig/bluerig.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/smind/bluerig/fedora-rawhide-x86_64/11360028-bluerig/bluerig-1.0.2-1.fc46.src.rpm

Description:
bluerig is a terminal IDE that continues cooledit by Paul Sheer. Its editor
has syntax highlighting, code folding, an undo history browser, keyboard
macros, multiple windows, skins and editable key bindings, and works with
language servers. bluerig -D opens the project of a directory with its tree,
build and debugger (gdb or a debug adapter); bluerig -G opens a Git window,
and bluerig -Q runs queries in PostgreSQL or MongoDB.

Fedora Account System Username: smind

This is my first package and I need a sponsor. I am the upstream author.

COPR build (Fedora 44, 45, rawhide; x86_64 and aarch64):
https://copr.fedorainfracloud.org/coprs/smind/bluerig/build/11360028/
fedora-review output:
https://download.copr.fedorainfracloud.org/results/smind/bluerig/fedora-rawhide-x86_64/11360028-bluerig/fedora-review/review.txt

rpmlint reports only spelling-error on names (cooledit, gdb, aspell, ...)
and no-documentation for the bluerig-lua subpackage, which requires the main
package with its license.

Reproducible: Always

Comment 1 Artur Frenszek-Iwicki 2026-11-22 11:00:58 UTC
> BuildRequires:   check-devel
> BuildRequires:   glib2-devel
> BuildRequires:   json-glib-devel
> BuildRequires:   gpm-devel
> BuildRequires:   slang-devel
> BuildRequires:   lua-devel
> BuildRequires:   libX11-devel
Consider pulling dependencies in via "BuildRequires: pkgconfig(...)".
You can use "dnf repoquery --provides ${PACKAGE}" to check the provided names.

> %autosetup -n %{name}-%{version}
%{name}-%{version} is the default value, so you don't need to use -n here.

> %files
> # Owned here so that the directory does not depend on the lua subpackage.
> %dir %{_datadir}/bluerig/
> %{_datadir}/bluerig/charsets
> %{_datadir}/bluerig/defaults.ini
> %{_datadir}/bluerig/examples/
> %{_datadir}/bluerig/help/
> %{_datadir}/bluerig/query/
> %{_datadir}/bluerig/skins/
> %{_datadir}/bluerig/syntax/
> [...]
> %files lua
> %{_datadir}/bluerig/lua/
You can simplify this by using %exclude, like so:
> %files
> %{_datadir}/bluerig/
> %exclude %{_datadir}/bluerig/lua/
> 
> %files lua
> %{_datadir}/bluerig/lua/

Comment 2 Ilia Maslakov 2026-11-23 00:24:23 UTC
Thank you for the review. All three are done:
- BuildRequires use pkgconfig(...) names; gpm-devel stays, gpm has no .pc file.
- %autosetup without -n.
- %files takes %{_datadir}/bluerig/ with %exclude for the lua directory.

Spec URL: https://download.copr.fedorainfracloud.org/results/smind/bluerig/fedora-rawhide-x86_64/11374471-bluerig/bluerig.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/smind/bluerig/srpm-builds/11374471/bluerig-1.0.2-1.src.rpm
COPR build: https://copr.fedorainfracloud.org/coprs/smind/bluerig/build/11374471/
fedora-review: https://download.copr.fedorainfracloud.org/results/smind/bluerig/fedora-rawhide-x86_64/11374471-bluerig/fedora-review/review.txt