Browse Source

* new packages

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5834 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
3486e45c0b
2 changed files with 134 additions and 0 deletions
  1. 89 0
      p/perl-Apache-Htpasswd/perl-Apache-Htpasswd-vl.spec
  2. 45 0
      p/perl-Net-MAC/perl-Net-MAC.spec

+ 89 - 0
p/perl-Apache-Htpasswd/perl-Apache-Htpasswd-vl.spec

@@ -0,0 +1,89 @@
+Name:           perl-Apache-Htpasswd
+Version:        1.8
+Release:        1%{?_dist_release}
+Summary:        Manage Unix crypt-style password file
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/Apache-Htpasswd/
+Source0:        http://search.cpan.org/CPAN/authors/id/K/KM/KMELTZ/Apache-Htpasswd-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Crypt::PasswdMD5)
+BuildRequires:  perl(Digest::SHA1)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+
+%description
+This module comes with a set of methods to use with htaccess password files.
+These files (and htaccess) are used to do Basic Authentication on a web server.
+The passwords file is a flat-file with login name and their associated
+encrypted password. You can use this for non-Apache files if you wish, but it
+was written specifically for .htaccess style files.
+
+
+%prep
+%setup -q -n Apache-Htpasswd-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
+
+
+%check
+make test
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Fri Mar 03 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
+- initial build for Vine Linux
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.8-8
+- Perl mass rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-6
+- 661697 rebuild for fixing problems with vendorach/lib
+
+* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.8-5
+- Mass rebuild with perl-5.12.0
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.8-4
+- rebuild against perl 5.10.1
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Mar 13 2009 Xavier Bachelot <xavier@bachelot.org> - 1.8-2
+- Use %%{version} macro in Source0.
+- Spelling fix in Description.
+
+* Tue Feb 12 2008 Xavier Bachelot <xavier@bachelot.org> - 1.8-1
+- Initial build.

+ 45 - 0
p/perl-Net-MAC/perl-Net-MAC.spec

@@ -0,0 +1,45 @@
+Name:           perl-Net-MAC
+Summary:        Perl extension for representing and manipulating MAC addresses
+Version:        2.103622
+Release:        1%{?_dist_release}
+License:        GPLv2+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Net-MAC/
+
+Source:         http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/Net-MAC-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Perl extension for representing and manipulating MAC addresses.
+
+%prep
+%setup -q -n Net-MAC-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install DESTDIR=%{buildroot}
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes LICENSE MANIFEST META.* README
+%doc %{_mandir}/man3/Net::MAC.3pm*
+%dir %{perl_vendorlib}/Net/
+%{perl_vendorlib}/Net/MAC.pm
+
+%changelog
+* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.103622-1
+- initial build for Vine Linux