File perl-Convert-UUlib.spec of Package perl-Convert-UUlib

#
# spec file for package perl-Convert-UUlib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           perl-Convert-UUlib
Version:        1.4
Release:        0
Summary:        Perl interface to the uulib library
License:        GPL-1.0+ or Artistic-1.0
Group:          Development/Libraries/Perl
Url:            http://search.cpan.org/~mlehmann/Convert-UUlib-1.4/UUlib.pm 
Source:         http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-%version.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  perl
BuildRequires:  perl-macros
Provides:       p_conulb
Obsoletes:      p_conulb

%description
A Perl interface to the uulib library

%prep
%setup -n Convert-UUlib-%{version} -q
# ---------------------------------------------------------------------------

%build
perl Makefile.PL
make %{?_smp_mflags}

%check
make test
# ---------------------------------------------------------------------------

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%files
%defattr(-,root,root)
%dir %{perl_vendorarch}/Convert
%{perl_vendorarch}/Convert/UUlib.pm
%dir %{perl_vendorarch}/auto/Convert
%{perl_vendorarch}/auto/Convert/UUlib
%doc /usr/share/man/man3/Convert::UUlib.3pm.gz
%doc COPYING COPYING.Artistic COPYING.GNU Changes MANIFEST README example-decoder doc

%changelog