debian folder.

--HG--
branch : develop
This commit is contained in:
dismine 2013-11-26 18:44:44 +02:00
parent 1582bd0ef8
commit 5692a2b0e3
11 changed files with 162 additions and 0 deletions

5
dist/debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
valentina (0.2+1hg20131125-ppa1-1) unstable; urgency=low
* First test package
-- Roman Telezhinsky <dismine@gmail.com> Mon, 25 Nov 2013 13:05:58 +0200

14
dist/debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: valentina
Section: Universe
Priority: optional
Maintainer: Roman Telezhinsky <dismine@gmail.com>
Build-Depends: debhelper (>= 8.0.0), qtbase5-dev (>= 5.0.0), libqt5svg5-dev (>= 5.0.0), ccache (>= 3.1.9), g++ (>= 4.6.0)
Standards-Version: 3.9.4
Homepage: https://bitbucket.org/dismine/valentina
Package: valentina
Architecture: i386
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Pattern making program.
Open source project of creating a pattern making program, whose allow
create and modeling patterns of clothing.

28
dist/debian/copyright vendored Normal file
View File

@ -0,0 +1,28 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: valentina
Source: https://bitbucket.org/dismine/valentina
Files: *
Copyright: 2013 Roman Telezhinsky <dismine@gmail.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2013 Roman Telezhinsky <dismine@gmail.com>
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".

2
dist/debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README
TODO

2
dist/debian/menu vendored Normal file
View File

@ -0,0 +1,2 @@
?package(valentina):needs="X11|text|vc|wm" section="Applications/Graphics"\
title="valentina" command="/usr/bin/valentina"

43
dist/debian/postinst vendored Normal file
View File

@ -0,0 +1,43 @@
#!/bin/sh
# postinst script for valentina
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ] ; then
update-menus
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

49
dist/debian/rules vendored Executable file
View File

@ -0,0 +1,49 @@
#!/usr/bin/make -f
APPNAME := valentina
builddir:
mkdir -p builddir
builddir/Makefile: builddir
lrelease src/src.pro
cd builddir && qmake PREFIX=/usr ../$(APPNAME).pro -r
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir
# Add here commands to compile the package.
cd builddir && $(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
rm -rf builddir
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/your_appname
cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installman
dh_installmenu
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1
dist/debian/source/format vendored Normal file
View File

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

4
dist/debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1,4 @@
debian/usr/share/pixmaps/valentina.png
debian/valentina/usr/bin/valentina
debian/valentina/usr/share/valentina/translations/valentina_ru.qm
debian/valentina/usr/share/valentina/translations/valentina_uk.qm

13
dist/debian/valentina.1 vendored Normal file
View File

@ -0,0 +1,13 @@
.\" Manpage for valentina.
.\" Contact dismine@gmail.com.in to correct errors.
.TH man 1 "25 Nov 2013" "1.0" "valentina man page"
.SH NAME
valentina \- Pattern making program.
.SH SYNOPSIS
valentina
.SH DESCRIPTION
Open source project of creating a pattern making program, whose allow create and modeling patterns of clothing.
.SH OPTIONS
The valentina does not take any options.
.SH AUTHOR
Roman Telezhinsky (dismine@gmail.com)

1
dist/debian/valentina.manpages vendored Normal file
View File

@ -0,0 +1 @@
debian/valentina.1