Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-Crypt-DH
> perl-Crypt-DH.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Crypt-DH.spec of Package perl-Crypt-DH (Revision 4)
Currently displaying revision
4
,
show latest
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name Crypt-DH Summary: Diffie-Hellman key exchange system Name: perl-Crypt-DH Version: 0.06 Release: 1 License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Crypt-DH/ Source: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DH-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl, perl(Math::BigInt) >= 1.60 %description This module implements the Diffie-Hellman key exchange system. %prep %setup -n %{real_name}-%{version} %build %__perl Makefile.PL %__make %makeinstall DESTDIR=$RPM_BUILD_ROOT %if 0%{?suse_version} %perl_process_packlist %else find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null %endif %__install -m 755 -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cp README $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %doc Changes README %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release