Net-DBus
view release on metacpan or search on metacpan
META.yml.PL view on Meta::CPAN
# Copyright (C) 2008 Daniel Berrange <dan@berrange.com>
use strict;
use warnings;
die unless (scalar @ARGV == 1);
open SRC, "lib/Net/DBus.pm"
or die "lib/Net/DBus.pm: $!";
our $VERSION;
while (<SRC>) {
if (/\$VERSION\s*=\s*'(.*)'/) {
$VERSION=$1;
}
}
close SRC;
local $/ = undef;
$_ = <DATA>;
s/\@VERSION\@/$VERSION/g;
open SPEC, ">$ARGV[0]" or die "$!";
print SPEC $_;
close SPEC;
__DATA__
--- #YAML:1.0
name: Net-DBus
abstract: Extension for the DBus bindings
version: @VERSION@
author:
- Daniel P. Berrange <dan@berrange.com>
license: perl
generated_by: ExtUtils::MakeMaker version 6.30
requires:
Time::HiRes: 0
XML::Twig: 0
build_requires:
Test::More: 0
Test::Pod: 0
Test::Pod::Coverage: 0
resources:
license: http://dev.perl.org/licenses/
homepage: http://www.freedesktop.org/wiki/Software/dbus
repository: https://gitlab.com/berrange/perl-net-dbus
MailingList: http://lists.freedesktop.org/mailman/listinfo/dbus/
distribution_type: module
meta-spec:
version: 1.3
url: http://module-build.sourceforge.net/META-spec-v1.3.html
( run in 0.631 second using v1.01-cache-2.11-cpan-39bf76dae61 )