--- mp3report-1.0.2.orig/debian/README.Debian +++ mp3report-1.0.2/debian/README.Debian @@ -0,0 +1,9 @@ +mp3report for Debian +-------------------- + + The upstream program includes an old version of the MP3::Info.pm, but this + package uses the debian version of this library (libmp3-info-perl). + + You can find the sample HTML templates on '/usr/share/doc/examples/'. + + -- Sergio Talens-Oliag , Mon, 29 Apr 2002 19:24:00 +0200 --- mp3report-1.0.2.orig/debian/changelog +++ mp3report-1.0.2/debian/changelog @@ -0,0 +1,27 @@ +mp3report (1.0.2-4) unstable; urgency=medium + + * QA upload. + * Switch to debhelper compat level 10 (Closes: #817588). + * Replace CDBS with dh. + + -- Andrey Rahmatullin Wed, 30 Nov 2016 23:30:13 +0500 + +mp3report (1.0.2-3) unstable; urgency=low + + * Updated standars and build system moved to cdbs, fixes the /usr/doc link + problem (Closes: Bug#359535). + + -- Sergio Talens-Oliag Tue, 28 Mar 2006 07:45:00 +0200 + +mp3report (1.0.2-2) unstable; urgency=low + + * Test if a dir is accesible before listing its files (Closes: Bug#152944). + + -- Sergio Talens-Oliag Tue, 16 Jul 2002 11:36:08 +0200 + +mp3report (1.0.2-1) unstable; urgency=low + + * Initial Release (Closes: Bug#145227). + + -- Sergio Talens-Oliag Mon, 29 Apr 2002 19:24:00 +0200 + --- mp3report-1.0.2.orig/debian/compat +++ mp3report-1.0.2/debian/compat @@ -0,0 +1 @@ +10 --- mp3report-1.0.2.orig/debian/control +++ mp3report-1.0.2/debian/control @@ -0,0 +1,14 @@ +Source: mp3report +Section: utils +Priority: optional +Maintainer: Debian QA Group +Build-Depends-Indep: debhelper (>= 10) +Standards-Version: 3.6.2.1 + +Package: mp3report +Architecture: all +Depends: libmp3-info-perl, ${perl:Depends}, ${misc:Depends} +Description: Script to create an HTML report of MP3 files in a directory + A customizable program to scan a list of (sub)directories, creating a report + from an HTML template. Also calculates various statistics and each song's + playing time. Supports ID3 and ID3v2 tags. --- mp3report-1.0.2.orig/debian/copyright +++ mp3report-1.0.2/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Sergio Talens-Oliag on +Mon, 29 Apr 2002 19:24:00 +0200. + +It was downloaded from http://download.sourceforge.net/mp3report/mp3report-1.0.2.tar.gz + +Upstream Author: David Parker + +Copyright: + +GPL, on debian systems look in '/usr/share/common-licenses/GPL'. --- mp3report-1.0.2.orig/debian/dirs +++ mp3report-1.0.2/debian/dirs @@ -0,0 +1 @@ +usr/bin --- mp3report-1.0.2.orig/debian/docs +++ mp3report-1.0.2/debian/docs @@ -0,0 +1,4 @@ +documentation.html +documentation.txt +README +TODO --- mp3report-1.0.2.orig/debian/examples +++ mp3report-1.0.2/debian/examples @@ -0,0 +1,2 @@ +default-template.html +extended-template.html --- mp3report-1.0.2.orig/debian/manpages +++ mp3report-1.0.2/debian/manpages @@ -0,0 +1 @@ +mp3report.1 --- mp3report-1.0.2.orig/debian/rules +++ mp3report-1.0.2/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +%: + dh $@ + +override_dh_auto_install: + install mp3report.pl $(CURDIR)/debian/mp3report/usr/bin/mp3report --- mp3report-1.0.2.orig/debian/source/format +++ mp3report-1.0.2/debian/source/format @@ -0,0 +1 @@ +1.0 --- mp3report-1.0.2.orig/mp3report.1 +++ mp3report-1.0.2/mp3report.1 @@ -188,7 +188,7 @@ .\} .rm #[ #] #H #V #F C .SH "NAME" -Neon Goat MP3 Report Generator \- mp3report.pl +Neon Goat MP3 Report Generator \- mp3report .SH "DESCRIPTION" .PP .Vb 4 @@ -200,7 +200,7 @@ .SH "CONFIGURING" .PP .Vb 3 -\& All options can be configured through the command line, see mp3report.pl --help +\& All options can be configured through the command line, see mp3report --help \& for more info. You may also want to modify the hard coded defaults at the \& top of the program file. .Ve @@ -210,7 +210,7 @@ .SH "USAGE" .PP .Vb 9 -\& Usage: mp3report.pl [options] [directory...] +\& Usage: mp3report [options] [directory...] \& --help shows this help screen \& --printmode uses a smaller font for printing \& --title=TITLE sets the title used in the report @@ -223,14 +223,14 @@ .SH "INSTALLATION" .PP .Vb 11 -\& You should be able to run mp3report.pl directly after decompressing it: +\& You should be able to run mp3report directly after decompressing it: \& \& tar xfzv mp3report-1.0.2.tar.gz \& cd mp3report-1.0.2 \& ./mp3report.pl --help \& \& If your perl interpreter isn't in /usr/bin/perl, you'll need to change the first line -\& of mp3report.pl +\& of mp3report \& \& If you'd like to install the MP3::Info perl module so that other programs can \& use it, it is available at http://search.cpan.org/search?dist=MP3-Info. @@ -508,7 +508,7 @@ .rn }` '' .IX Title "MP3REPORT 1" -.IX Name "Neon Goat MP3 Report Generator - mp3report.pl" +.IX Name "Neon Goat MP3 Report Generator - mp3report" .IX Header "NAME" --- mp3report-1.0.2.orig/mp3report.pl +++ mp3report-1.0.2/mp3report.pl @@ -152,7 +152,12 @@ sub dodir { my $dir = shift; - print STDERR "\nScanning $dir..."; + if ( -r $dir ) { + print STDERR "\nScanning $dir..."; + } else { + print STDERR "\nSkipping $dir..."; + return + } opendir(DIR, $dir) || die("couldn't open dir $dir: $!"); my @files = sort grep { /\.mp3$/i } readdir(DIR); if (@files) {