/[smeserver]/rpms/perl-Crypt-Cracklib/sme8/perl-Crypt-Cracklib.spec
ViewVC logotype

Annotation of /rpms/perl-Crypt-Cracklib/sme8/perl-Crypt-Cracklib.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Mar 30 20:55:54 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Packages maintained upstream

1 slords 1.1 %define _use_internal_dependency_generator 0
2    
3     Summary: Crypt-Cracklib module for perl
4     Name: perl-Crypt-Cracklib
5     Version: 0.01
6     Release: 3%{?dist}
7     License: distributable
8     Group: Applications/CPAN
9     Source0: Crypt-Cracklib-%{version}.tar.gz
10     Patch0: Crypt-Cracklib-0.01-makefile.patch
11     Url: http://search.cpan.org/search?query=Crypt%3A%3ACracklib
12     BuildRoot: /var/tmp/perl-Crypt-Cracklib-buildroot/
13     Requires: perl >= 0:5.8.0
14     Requires: cracklib >= 2.7
15     BuildRequires: cracklib >= 2.7
16    
17     %description
18     Crypt::Cracklib - Perl interface to Alec Muffett's Cracklib.
19    
20    
21     # Provide perl-specific find-{provides,requires}.
22     %define __find_provides /usr/lib/rpm/find-provides.perl
23     %define __find_requires /usr/lib/rpm/find-requires.perl
24    
25     %prep
26     %setup -q -n Crypt-Cracklib-%{version}
27     %patch0 -p1
28    
29     %build
30     CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
31     make
32    
33     %clean
34     rm -rf $RPM_BUILD_ROOT
35    
36     %install
37     rm -rf $RPM_BUILD_ROOT
38     make install
39    
40     [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
41    
42     find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
43    
44     find $RPM_BUILD_ROOT/usr -type f -print |
45     sed "s@^$RPM_BUILD_ROOT@@g" |
46     grep -v perllocal.pod |
47     grep -v "\.packlist" > Crypt-Cracklib-%{version}-filelist
48     if [ "$(cat Crypt-Cracklib-%{version}-filelist)X" = "X" ] ; then
49     echo "ERROR: EMPTY FILE LIST"
50     exit -1
51     fi
52    
53     %files -f Crypt-Cracklib-%{version}-filelist
54     %defattr(-,root,root)
55     %dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/Crypt
56     %dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/auto/Crypt
57    
58     %changelog
59     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
60     - Clean up spec so package can be built by koji/plague
61    
62     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
63     - Update to new release naming. No functional changes.
64     - Make Packager generic
65    
66     * Tue Aug 10 2004 Shad L. Lords <slords@mail.com>
67     - update to latest version from CPAN

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed