Commit 5621d5e4 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#133] Tryingto debianize better

parent 97f4aecd
......@@ -27,6 +27,7 @@ WriteMakefile(
TEST_REQUIRES => {
'Test::SQL::Data' => 0
},
EXE_FILES => ['bin/rvd_front.pl' ,'bin/rvd_back.pl'],
test => {TESTS => 't/*.t t/*/*.t'},
clean => {FILES => 't/.db' }
......
......@@ -31,7 +31,7 @@ for ( qw(css fonts img js templates)) {
my %FILE = (
'etc/rvd_front.conf.example' => 'etc/rvd_front.conf'
,'bin/rvd_back.pl' => 'usr/sbin/rvd_back'
,'rvd_front.pl' => 'usr/bin/rvd_front'
,'bin/rvd_front.pl' => 'usr/bin/rvd_front'
,'CHANGELOG.md' => 'usr/share/doc/ravada/changelog'
,'copyright' => 'usr/share/doc/ravada'
);
......@@ -39,12 +39,6 @@ my %FILE = (
my @REMOVE= qw(
usr/share/ravada/templates/bootstrap/get_authors.sh
usr/share/man/man3/.exists
debian/menu.ex
debian/postinst.ex
debian/postrm.ex
debian/preinst.ex
debian/prerm.ex
debian/ravada.cron.d.ex
);
########################################################################
......@@ -195,8 +189,8 @@ sub chown_pms {
sub chmod_control_files {
for (qw(ravada.docs changelog control copyright ravada-docs.docs ravada.doc-base.EX)) {
my $path = "$DIR_DST/debian/$_";
die "Missing $path" if ! -e $path;
chmod 0644 , $path or die "$! $path";
warn "Missing $path" if ! -e $path;
chmod 0644 , $path or die "$! $path" if -e $path;
}
}
......
......@@ -2,4 +2,4 @@ ravada (0.1.2) unstable; urgency=low
* Initial Release.
-- frankie <frankie@> Wed, 22 Mar 2017 12:17:34 +0100
-- frankie <frankie@> Wed, 22 Mar 2017 12:30:59 +0100
README.md
debian.bak/ravada/usr/share/doc/ravada/README.source
debian.bak/ravada/usr/share/doc/ravada/README.md
debian.bak/ravada/usr/share/doc/ravada/README.Debian
debian.old/README.source
debian.old/README.Debian
devel-docs/README.md
#!/usr/bin/make -f
override_dh_auto_test:
%:
dh $@
......@@ -2,4 +2,4 @@ ravada (0.1.2) unstable; urgency=low
* Initial Release.
-- frankie <frankie@> Wed, 22 Mar 2017 12:18:31 +0100
-- frankie <frankie@> Wed, 22 Mar 2017 12:32:11 +0100
Source: ravada
Section: perl
Section: utils
Priority: optional
Maintainer: frankie <frankie@>
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: perl
Maintainer: Francesc Guasch <frankie@telecos.upc.edu>
Build-Depends: debhelper (>=9)
Standards-Version: 3.9.8
Homepage: https://metacpan.org/release/ravada
Homepage: http://bit.ly/get_ravada
#Vcs-Git: git://anonscm.debian.org/collab-maint/ravada.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ravada.git
Package: ravada
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}
Description: Remove Virtual Desktop Manager
(no description was found)
.
This description was automagically extracted from the module by dh-make-perl.
Section: utils
Priority: optional
Depends: perl (>=5.18),libmojolicious-perl,mysql-common,libauthen-passphrase-perl,libdbd-mysql-perl,libdbi-perl,libdbix-connector-perl,libipc-run3-perl,libnet-ldap-perl,libproc-pid-file-perl,libvirt-bin,libsys-virt-perl,libxml-libxml-perl,libconfig-yaml-perl,libmoose-perl,libjson-xs-perl,qemu-utils,perlmagick,libmoosex-types-netaddr-ip-perl,libsys-statistics-linux-perl,libio-interface-perl,libiptables-chainmgr-perl,libnet-dns-perl,wget,liblocale-maketext-lexicon-perl,libmojolicious-plugin-i18n-perl,libdbd-sqlite3-perl, debconf (>= 0.2.26), adduser
Description: Remote Virtual Desktops Manager
Ravada is a software that allows the user to connect to a
remote virtual desktop.
#!/usr/bin/make -f
override_dh_auto_test:
%:
dh $@
Supports Markdown
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