Commit 224d56dc authored by Federico Ceratto's avatar Federico Ceratto

Initial debianization

parent eb86636d
tootle (0.1.5-1) UNRELEASED; urgency=medium
* Initial release (Closes: #906309)
-- Federico Ceratto <federico@debian.org> Thu, 16 Aug 2018 22:10:49 +0100
Source: tootle
Section: x11
Priority: optional
Maintainer: Federico Ceratto <federico@debian.org>
Build-Depends: debhelper (>= 11~),
help2man,
libglib2.0-dev (>= 2.30.0),
libgranite-dev,
libgtk-3-dev,
libjson-glib-dev,
libsoup2.4-dev,
meson,
valac (>= 0.26)
Standards-Version: 4.2.0
Package: tootle
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Mastodon client
Lightweight desktop client for Mastodon
Format: http://dep.debian.net/deps/dep5
Upstream-Name: tootle
Source: https://github.com/bleakgrey/tootle
Files: *
Copyright: 2018 Bleak Grey <bleakgrey@gmail.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2018 Bleak Grey <bleakgrey@gmail.com>
2018 Federico Ceratto <federico@debian.org>
License: GPL-3.0+
License: GPL-3.0+
This program 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 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without 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 <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk # provides DEB_VERSION
%:
dh $@
override_dh_auto_clean:
rm -rf debian/build
override_dh_auto_configure:
mkdir -p debian/build
cd debian/build && meson --prefix=/usr ../..
override_dh_auto_build:
cd debian/build && ninja -v
override_dh_auto_test:
cd debian/build && ninja test
override_dh_auto_install:
cd debian/build && DESTDIR=${CURDIR}/debian/tootle ninja install
mv debian/tootle/usr/bin/com.github.bleakgrey.tootle debian/tootle/usr/bin/tootle
sed -i 's/^Exec=.*/Exec=tootle/' debian/tootle/usr/share/applications/com.github.bleakgrey.tootle.desktop
override_dh_installman:
help2man --no-discard-stderr --no-info --version-string="$(DEB_VERSION)" \
--name "Mastodon client" \
./debian/tootle/usr/bin/tootle > ./debian/tootle.1
dh_installman ./debian/tootle.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment