File perl-Crypt-DES-openSUSE_10.2.spec of Package perl-Crypt-DES
# $Id: perl-Crypt-DES.spec 5523 2007-06-17 22:03:51Z dries $
# Authority: dries
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define rname Crypt-DES
Summary: Crypt-DES module for perl
Name: perl-Crypt-DES
Version: 2.05
%define releasesuffix opensuse10.2
Release: 3.2
License: distributable
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Crypt-DES/
Packager: Dries Verachtert <dries@ulyssis.org>
Vendor: Dries RPM Repository http://dries.ulyssis.org/rpm/
Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl(ExtUtils::MakeMaker), perl >= 0:5.00503
Requires: perl >= 0:5.00503
%description
Crypt-DES module for perl
%prep
%setup -n %{rname}-%{version}
%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL \
PREFIX="%{buildroot}%{_prefix}" \
INSTALLDIRS="vendor"
%{__make} %{?_smp_mflags} \
OPTIMIZE="%{optflags}"
%install
%{__rm} -rf %{buildroot}
%makeinstall
### Clean up buildroot
%{__rm} -rf %{buildroot}%{perl_archlib} \
%{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc COPYRIGHT MANIFEST README
%doc %{_mandir}/man3/*
%dir %{perl_vendorarch}/Crypt/
%{perl_vendorarch}/Crypt/DES.pm
%dir %{perl_vendorarch}/auto/Crypt/
%{perl_vendorarch}/auto/Crypt/DES/
%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.05-3.2
- Rebuild for Fedora Core 5.
* Sat Jan 7 2006 Dries Verachtert <dries@ulyssis.org> - 2.05-1
- Updated to release 2.05.
* Fri Jan 21 2005 Dag Wieers <dag@wieers.com> - 2.03-3
- Fixes to conform with new perl template. (C.Lee Taylor)
* Mon Feb 17 2003 Dag Wieers <dag@wieers.com> - 2.03-0
- Initial package. (using DAR)