initial debianizing

This commit is contained in:
nick black 2019-11-17 05:15:40 -05:00
parent 70df86ba17
commit e353fa5536
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
8 changed files with 105 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
notcurses (0.0.1-1) unstable; urgency=medium
* Initial release
-- Nick Black <dankamongmen@gmail.com> Sun, 17 Nov 2019 05:15:19 -0500

27
debian/control vendored Normal file
View File

@ -0,0 +1,27 @@
Source: notcurses
Priority: optional
Maintainer: Nick Black <dankamongmen@gmail.com>
Build-Depends: debhelper-compat (= 12), cmake (>= 3.13),
libgtest-dev (>= 1.9.0)
Standards-Version: 4.4.1.1
Section: libs
Homepage: https://nick-black.com/dankwiki/index.php/notcurses
Vcs-Browser: https://github.com/dankamongmen/notcurses
Vcs-Git: https://github.com/dankamongmen/notcurses.git
Package: libnotcurses-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libnotcurses0 (= ${binary:Version}), ${misc:Depends}
Description: Development files for notcurses
Files necessary for developing programs using notcurses.
Package: libnotcurses0
Architecture: any
Multi-Arch: same
Depends:${shlibs:Depends}, ${misc:Depends}
Description: Shared libraries for notcurses TUI
notcurses facilitates the creation of TUI programs making
use of modern terminal emulator features, including
24-bit direct color. It does not require curses.

40
debian/copyright vendored Normal file
View File

@ -0,0 +1,40 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: notcurses
Source: https://nick-black.com/dankwiki/index.php/notcurses
Files: *
Copyright: 2019 Nick Black <dankamongmen@gmail.com>
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHnot WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
Files: debian/*
Copyright: 2019 Nick Black <dankamongmen@gmail.com>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHnot ANY WARRANTY; withnot even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

4
debian/libnotcurses-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include
usr/lib/*/*.so
usr/lib/*/pkgconfig/*.pc
usr/lib/*/cmake/*

2
debian/libnotcurses0.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/*.so.*
usr/bin/*

14
debian/rules vendored Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/make -f
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --buildsystem=cmake
# dh_auto_test -O--buildsystem=cmake -O--no-parallel
# Don't try to run ncurses tests
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd obj-x86_64-linux-gnu && env -u TERM make test
endif

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

12
debian/watch vendored Normal file
View File

@ -0,0 +1,12 @@
# Example watch control file for uscan
# Rename this file to "watch" and then you can run the "uscan" command
# to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 4 file
version=4
# GitHub hosted projects
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%notcurses-$1.tar.gz%" \
https://github.com/dankamongmen/notcurses/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate