Update debian spec

This commit is contained in:
Linux 2017-07-09 13:18:00 +03:00
parent cad49c6d71
commit ddc6d2da9a
32 changed files with 1803 additions and 5 deletions

17
debian/trimage/DEBIAN/control vendored Normal file
View file

@ -0,0 +1,17 @@
Package: trimage
Version: 1.1
Architecture: all
Maintainer: Mikhail Novosyolov <mikhailnov@dumalogiya.ru>
Installed-Size: 104
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), python-qt4 (>= 4.4), optipng (>= 0.6.2.1), advancecomp (>= 1.15), guetzli, pngcrush (>= 1.6.7)
Section: graphics
Priority: optional
Homepage: http://trimage.org
Description: GUI and command-line interface to optimize image files
Trimage is a cross-platform GUI and command-line interface to optimize image
files via optipng, advpng, pngcrush and guetzli, depending on the filetype
(currently, PNG and JPG files are supported). All image files are losslessly
compressed on the highest available compression levels. Trimage gives you
various input functions to fit your own workflow: A regular file dialog,
dragging and dropping and various command line options.
Python-Version: 2.7

19
debian/trimage/DEBIAN/md5sums vendored Normal file
View file

@ -0,0 +1,19 @@
9c1f31a6520e133d3e2f0b74b4bc4fd6 usr/bin/trimage
d06474fbf8d34b279b49d8cad59af2d0 usr/lib/python2.7/dist-packages/trimage-1.0.2.egg-info
750f3239a617e569f77881ac0122a2b9 usr/lib/python2.7/dist-packages/trimage/ThreadPool/ThreadPool.py
8111d2e44229ba4ecba01f59329af7c6 usr/lib/python2.7/dist-packages/trimage/ThreadPool/__init__.py
d41d8cd98f00b204e9800998ecf8427e usr/lib/python2.7/dist-packages/trimage/__init__.py
6440f77c90e6d358295cd62d603db1fb usr/lib/python2.7/dist-packages/trimage/filesize/__init__.py
d40a0e5bd2b317aa568e16b95d514df9 usr/lib/python2.7/dist-packages/trimage/filesize/filesize.py
9f2b6e23b29836684c216224628d4394 usr/lib/python2.7/dist-packages/trimage/pixmaps/compressing.gif
42636a9b4adbaee8d612cfd42f09151f usr/lib/python2.7/dist-packages/trimage/pixmaps/list-add.png
0ce6c6d3aa5abefc70f2abe91bfb9c5a usr/lib/python2.7/dist-packages/trimage/pixmaps/trimage-icon.png
aba26621c9399ce15c365e669b2a06dd usr/lib/python2.7/dist-packages/trimage/pixmaps/view-refresh.png
4a4e4f786b30bb755d30b506d0477a1b usr/lib/python2.7/dist-packages/trimage/trimage.py
cde8c6def70c52b2111563211b8fa007 usr/lib/python2.7/dist-packages/trimage/ui.py
e239b7003fa0407cdd6bf28c6d72c2a3 usr/share/applications/trimage.desktop
e1f82ec7e26a52a491ca6a224eff5769 usr/share/doc/trimage/README
3baf9c47a7390888522dd0fee82bf3d5 usr/share/doc/trimage/changelog.gz
ddaf427836d208b1b7115d9e202b65c2 usr/share/doc/trimage/copyright
d866aefacb2190ce623bacf964ec12ee usr/share/icons/hicolor/scalable/apps/trimage.svg
42768f4574b21cdabf82b98c025137fd usr/share/man/man1/trimage.1.gz

9
debian/trimage/DEBIAN/postinst vendored Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p trimage
fi
# End automatically added section

14
debian/trimage/DEBIAN/prerm vendored Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
set -e
# Automatically added by dh_python2:
if which pyclean >/dev/null 2>&1; then
pyclean -p trimage
else
dpkg -L trimage | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
# End automatically added section