commit 0d81c3c1cdf0fa0fafb4c9f09fc50f1e33a19bb7 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Thu Oct 27 16:14:51 2011 +0200 Initial import (#747437) .gitignore | 1 + LICENSE | 21 +++++++++++++++ perl-Data-Properties.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 84 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..d5cc5f9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Data-Properties-0.02.tar.gz diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..70d2348 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +*** The original email message, with full headers is held by Fedora +Legal. If there is a need to see it, please email +legal@xxxxxxxxxxxxxxxxx. *** + +Subject: Re: Perl Data::Properties +From: Brian Moseley <bcm@xxxxxxx> +Date: 08/10/2010 07:00 PM +To: OMITTED + +huh, I'm surprised that you find it that useful, but okay. it doesn't +look like I included a license in the distribution, but if I were to +do so today, it would be under the most recent Apache license. + +On Tue, Aug 10, 2010 at 9:18 AM, OMITTED wrote: +> Hi +> +> I was trying to package this Perl module for inclusion in Fedora Linux, +> and I am stumbling on the license. On CPAN the license is listed as +> 'unknown'. Could you let me know what license it should be please? +> +> Many thanks diff --git a/perl-Data-Properties.spec b/perl-Data-Properties.spec new file mode 100644 index 0000000..a8bd594 --- /dev/null +++ b/perl-Data-Properties.spec @@ -0,0 +1,61 @@ +Name: perl-Data-Properties +Version: 0.02 +Release: 3%{?dist} +Summary: Persistent properties + +# The upstream source itself does not specify a license. +# When asked how he wanted to distribute it, the author replied: +# "huh, I'm surprised that you find it that useful, but okay. it doesn't +# look like I included a license in the distribution, but if I were to +# do so today, it would be under the most recent Apache license." +# Fedora Legal has a copy of the email (see the LICENSE file). +License: ASL 2.0 + +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Properties/ +Source0: http://www.cpan.org/authors/id/I/IX/IX/Data-Properties-%{version}.tar.gz +Source1: LICENSE +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Data-Properties is a Perl version of Java's java.util.Properties and aims to be +format-compatible with that class. + +%prep +%setup -q -n Data-Properties-%{version} +cp %{SOURCE1} . + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE +%{perl_vendorlib}/Data* +%{_mandir}/man3/* + +%changelog +* Thu Oct 27 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.02-3 +- Fix perms on LICENSE +- Use SOURCE1 instead of _sourcedir + +* Wed Oct 26 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.02-2 +- Add LICENSE file to clarify distribution + +* Wed Oct 19 2011 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..31744b7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c60600639265a20c9678a720527e3941 Data-Properties-0.02.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel