12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- Summary: Crypt-OpenSSL-Random Perl module
- Name: perl-Crypt-OpenSSL-Random
- Version: 0.06
- Release: 2%{_dist_release}
- License: GPL or Artistic
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/Crypt-OpenSSL-Random/
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- Source0: Crypt-OpenSSL-Random-%{version}.tar.gz
- BuildRequires: openssl-devel
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: tomop
- %description
- This package contains the Crypt::OpenSSL::Random module.
- %prep
- %setup -q -n Crypt-OpenSSL-Random-%{version}
- %build
- CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS="vendor"
- make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
- %install
- rm -rf $RPM_BUILD_ROOT
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
- -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
- chmod -R u+w $RPM_BUILD_ROOT/*
- for brp in %{_prefix}/lib/rpm/%{_build_vendor}/brp-compress \
- %{_prefix}/lib/rpm/brp-compress
- do
- [ -x $brp ] && $brp && break
- done
- find $RPM_BUILD_ROOT -type f \
- | sed "s@^$RPM_BUILD_ROOT@@g" \
- > %{name}-%{version}-%{release}-filelist
- eval `%{__perl} -V:archname -V:installsitelib -V:installvendorlib -V:installprivlib`
- for d in $installsitelib $installvendorlib $installprivlib; do
- [ -z "$d" -o "$d" = "UNKNOWN" -o ! -d "$RPM_BUILD_ROOT$d" ] && continue
- find $RPM_BUILD_ROOT$d/* -type d \
- | grep -v "/$archname\(/auto\)\?$" \
- | sed "s@^$RPM_BUILD_ROOT@%dir @g" \
- >> %{name}-%{version}-%{release}-filelist
- done
- if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit 1
- fi
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files -f %{name}-%{version}-%{release}-filelist
- %defattr(-,root,root,-)
- %doc Changes LICENSE
- %changelog
- * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.06-2
- - rebuilt with perl-5.16.3.
- * Thu Mar 27 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.06-1
- - new upstream release.
- * Tue Apr 29 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 0.04-1
- - initial build.
|