[suggest] perl module HTML::Widget
Mike Weisenborn
rpmforge.net at mailmw.org
Sat Mar 8 17:18:49 CET 2008
On Fri, Mar 07, 2008 at 10:59:17PM +0100, Dag Wieers wrote:
>
> You don't have to do all that, just send me the name(s) of the perl module
> and I will add them and do that work. I have added it, and it will appear
> the next push.
Ah, I didn't know that :-)
Well, I already created some other ones, so if it's any help, here they
are, or you can ignore them. Either way, thanks!
Data::JavaScript::Anon
Data::Validate::Email
Data::Validate::Domain (prerequisite for Data::Validate::Email)
Thanks again,
Mike
> On Fri, 7 Mar 2008, Mike Weisenborn wrote:
>
>> I have created (using dar-perl.py) this spec file to create a
>> perl-HTML-Widget package.
>>
>> The only changes I made to the spec file were:
>>
>> - I added some prerequisite packages
>> - I added all the files that needed to be installed (is there an
>> easier/shorter way to specify this?)
>> - I added my name in the revision log, and at the top for "Authority"
>>
>> Can you please check it out and if you think it's OK, add it to your
>> repository?
--
Mike Weisenborn, Senior Partner
mw at clearbuilt.com 770-886-0443 www.clearbuilt.com
Clearbuilt Technologies - consulting, development and education
for the real estate and construction industries
-------------- next part --------------
# $Id: perl-Data-JavaScript-Anon.spec,v 1.2 2008/03/07 21:31:16 mdw Exp mdw $
# Authority: mdw
# Upstream: Adam Kennedy <adamk at cpan.org>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name Data-JavaScript-Anon
Summary: Dump big dumb Perl structs to anonymous JavaScript structs
Name: perl-Data-JavaScript-Anon
Version: 1.00
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-JavaScript-Anon/
Source: http://www.cpan.org/modules/by-module/Data/Data-JavaScript-Anon-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl >= 0:5.005
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(Test::More) >= 0.47
%description
Dump big dumb Perl structs to anonymous JavaScript structs.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes LICENSE MANIFEST META.yml README
%doc %{_mandir}/man3/Data::JavaScript::Anon.3pm*
%dir %{perl_vendorlib}/Data/
%dir %{perl_vendorlib}/Data/JavaScript/
#%{perl_vendorlib}/Data/JavaScript/Anon/
%{perl_vendorlib}/Data/JavaScript/Anon.pm
%changelog
* Fri Mar 07 2008 Mike Weisenborn <mw at clearbuilt.com> - 1.00-1
- fix up initial package, update to 1.00
* Fri Mar 07 2008 Dag Wieers <dag at wieers.com> - 0.9-1
- Initial package. (using DAR)
-------------- next part --------------
# $Id: perl-Data-Validate-Email.spec,v 1.2 2008/03/07 21:31:28 mdw Exp mdw $
# Authority: mdw
# Upstream: Richard Sonnen <sonnen$richardsonnen,com>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name Data-Validate-Email
Summary: common email validation methods
Name: perl-Data-Validate-Email
Version: 0.04
Release: 2
License: Perl
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Validate-Email/
Source: http://www.cpan.org/modules/by-module/Data/Data-Validate-Email-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-Data-Validate-Domain
BuildRequires: perl-Email-Address
%description
This module collects common email validation routines to make input
validation, and untainting easier and more readable.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes INSTALL MANIFEST META.yml README
%doc %{_mandir}/man3/Data::Validate::Email.3pm*
%dir %{perl_vendorlib}/Data/
%dir %{perl_vendorlib}/Data/Validate/
#%{perl_vendorlib}/Data/Validate/Email/
%{perl_vendorlib}/Data/Validate/Email.pm
%{perl_vendorlib}/auto/Data/Validate/Email/autosplit.ix
%{perl_vendorlib}/auto/Data/Validate/Email/is_domain.al
%{perl_vendorlib}/auto/Data/Validate/Email/is_email.al
%{perl_vendorlib}/auto/Data/Validate/Email/is_email_rfc822.al
%{perl_vendorlib}/auto/Data/Validate/Email/is_username.al
%{perl_vendorlib}/auto/Data/Validate/Email/new.al
%changelog
* Fri Mar 07 2008 Mike Weisenborn <mw at clearbuilt.com> - 0.04-2
- fix up initial
* Fri Mar 07 2008 Dag Wieers <dag at wieers.com> - 0.04-1
- Initial package. (using DAR)
-------------- next part --------------
# $Id: perl-Data-Validate-Domain.spec,v 1.2 2008/03/07 21:31:23 mdw Exp mdw $
# Authority: mdw
# Upstream: Neil A. Neely <neil$neely,cx>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name Data-Validate-Domain
Summary: domain validation methods
Name: perl-Data-Validate-Domain
Version: 0.09
Release: 2
License: Perl
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Validate-Domain/
Source: http://www.cpan.org/modules/by-module/Data/Data-Validate-Domain-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-Net-Domain-TLD
%description
This module collects domain validation routines to make input
validation, and untainting easier and more readable.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Data::Validate::Domain.3pm*
%dir %{perl_vendorlib}/Data/
%dir %{perl_vendorlib}/Data/Validate/
#%{perl_vendorlib}/Data/Validate/Domain/
%{perl_vendorlib}/Data/Validate/Domain.pm
%changelog
* Fri Mar 07 2008 Mike Weisenborn <mw at clearbuilt.com> - 0.09-2
- fix up initial
* Fri Mar 07 2008 Dag Wieers <dag at wieers.com> - 0.09-1
- Initial package. (using DAR)
More information about the suggest
mailing list