- initial package 1.03

* created by cpanspec 1.78.03

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Define?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2011-01-21 15:18:49 +00:00
committed by Git OBS Bridge
commit d84e7de751
5 changed files with 92 additions and 0 deletions

59
perl-Data-Define.spec Normal file
View File

@@ -0,0 +1,59 @@
#
# spec file for package perl-Data-Define (Version 1.03)
#
# Copyright (c) 2010 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-Data-Define
Version: 1.03
Release: 1
License: GPL+ or Artistic
%define cpan_name Data-Define
Summary: Make undef's defined
Url: http://search.cpan.org/dist/Data-Define/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/S/ST/STRO/Data-Define-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
Data::Define
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc CHANGES README
%changelog