File debian.obscpio of Package vis

07070100000000000081a400000000000000000000000168ef0aaa00000003000000000000000000000000000000000000000e00000000debian/compat13
07070100000001000081a400000000000000000000000168ef0aaa0000053a000000000000000000000000000000000000000f00000000debian/controlSource: vis
Section: editors
Priority: optional
Maintainer: Your Name <you@example.com>
Build-Depends: debhelper-compat (= 13),
               git,
               libacl1-dev,
               libselinux1-dev,
               libtermkey-dev,
               libncurses-dev,
               lua-lpeg,
               lua-penlight,
               # Add 'luajit' dependencies as alternatives if preferred
               # or simply rely on Lua 5.3+ or Lua + compat-5.3 module
               # as per your patch logic
               lua-dev | liblua5.3-dev | liblua5.4-dev | libluajit-5.1-dev, 
               lua-compat53-dev,
               mandoc,
               python3-sphinx,
               python3-breathe,
               python3-sphinx-rtd-theme
Standards-Version: 4.6.0
Homepage: https://sr.ht/~martanne/vis

Package: vis
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
         lua,
         lua-lpeg
Suggests: par-text | moreutils,
          lua-editorconfig-core-lua
Description: An editor combining the strengths of both vi(m) and sam
 Vis aims to be a modern, legacy free, simple yet efficient editor
 combining the strengths of both vi(m) and sam.
 .
 It extends vi's modal editing with built-in support for multiple
 cursors/selections and combines it with sam's structural regular
 expression based command language.07070100000002000081a400000000000000000000000168ef0aaa00000011000000000000000000000000000000000000000c00000000debian/docsREADME.md
LICENSE07070100000003000081a400000000000000000000000168ef0aaa0000007b000000000000000000000000000000000000000f00000000debian/install# Files installed by 'make install'
usr/bin/vis* usr/bin/
usr/share/vis usr/share/
usr/share/man/man1/* usr/share/man/man1/07070100000004000081ed00000000000000000000000168ef0aaa00000625000000000000000000000000000000000000000d00000000debian/rules#!/usr/bin/make -f

# We use debhelper version 13.
export DH_OPTIONS =
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -fcommon

%:
	dh $@

# Build step override to pass custom CFLAGS and run debug build (optional)
override_dh_auto_configure:
	dh_auto_configure -- CFLAGS='$(DEB_CFLAGS)'
override_dh_auto_build:
	# Run a normal build first
	dh_auto_build
	# Build Sphinx docs manually, as the directory structure is non-standard
	# We rely on the vis Makefile's internal Sphinx targets
	$(MAKE) -C doc singlehtml epub
	$(MAKE) man

override_dh_auto_test:
	# Running tests using the debhelper command
	dh_auto_test

override_dh_install:
	# Install standard files (binaries, manpages, etc.)
	dh_auto_install

	# The SPEC file explicitly installed specific Sphinx docs.
	# We install these and license/readme files separately if they are to be packaged.
	mkdir -p debian/vis/usr/share/doc/vis/html
	install -m 644 doc/build/sphinx/singlehtml/VisEditor.html debian/vis/usr/share/doc/vis/html/index.html
	install -m 644 doc/build/sphinx/epub/VisEditor.epub debian/vis/usr/share/doc/vis/
	
	# dh_installman will handle man pages installed via make install
	# dh_installdocs will install README.md and LICENSE from debian/docs/
	
	# The SPEC file removed doc/vis, which dh_install/make install may still populate.
	# We perform explicit cleanup here if the upstream make install is verbose.
	# The dh_auto_install should clean up the buildroot correctly, 
	# but if the makefile installed docs we don't want:
	# rm -rf debian/vis/usr/share/doc/vis07070100000005000041ed00000000000000000000000168ef0aaa00000000000000000000000000000000000000000000000700000000debian07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!
openSUSE Build Service is sponsored by