SUNWperl-authen-pam.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 13643 29e412e5450e
child 16297 62872aab867b
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWperl-authen-pam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
     6
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: padraig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:                    SUNWperl-authen-pam
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Summary:                 Authen-PAM PERL module
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Version:                 5.8.4
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    16
%define tarball_version 0.16
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    17
Source:                  http://www.cpan.org/modules/by-module/Authen/Authen-PAM-%{tarball_version}.tar.gz
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
#owner:padraig date:2006-04-10 type:bug state:upstream
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Patch1:                  authen-pam-01-solaris.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
11975
b3604e7b11b2 2008-03-31 Padraig O'Briain <[email protected]>
padraig
parents: 9397
diff changeset
    22
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%define perl_version 5.8.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%ifarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%define perl_dir sun4-solaris-64int
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define perl_dir i86pc-solaris-64int 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%setup -q            -c -n %name-%version
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    34
cd Authen-PAM-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%build
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    38
cd Authen-PAM-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
perl Makefile.PL \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
    PREFIX=$RPM_BUILD_ROOT%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
    INSTALLSITELIB=$RPM_BUILD_ROOT%{_prefix}/perl5/vendor_perl/%{perl_version} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
    INSTALLSITEARCH=$RPM_BUILD_ROOT%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
    INSTALLSITEMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
    INSTALLSITEMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
    INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
    INSTALLMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
make CC=$CC CCCDLFLAGS="%picflags" OPTIMIZE="%optflags" LD=$CC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
rm -rf $RPM_BUILD_ROOT
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    52
cd Authen-PAM-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
make install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%files
13489
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    63
%doc -d Authen-PAM-%{tarball_version} README
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%dir %attr(0755, root, bin) %{_prefix}/perl5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%dir %attr(0755, root, bin) %{_prefix}/perl5/vendor_perl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%dir %attr(0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%dir %attr(0755, root, bin) %{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/Authen
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/Authen/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%if %is_s10
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%dir %attr(0755, root, other) %{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%dir %attr(0755, root, bin) %{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%{_mandir}/man3/*
13643
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    80
%dir %attr(0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%changelog
13643
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    83
* Wed Sep 17 2008 - [email protected]
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    84
- Fix up pkg'ing section.
13581
13ca6ff9a5a7 2008-09-15 Christian Kelly <[email protected]>
chrisk
parents: 13489
diff changeset
    85
* Mon Sep 15 2008 - [email protected]
13ca6ff9a5a7 2008-09-15 Christian Kelly <[email protected]>
chrisk
parents: 13489
diff changeset
    86
- Remove /usr/share/doc from %files. 
13489
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    87
* Wed Sep 10 2006 - [email protected]
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    88
- Add %doc to %files for copyright
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    89
* Thu Jul 17 2008 - [email protected]
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    90
- s/authen_pam_version/tarball_version/ to be consistent with other spec files.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Tue Jan 30 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Fix typo s/Autoconf/autoconf/.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- update %file so that dir attributes work on both s10 and nevada
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
* Mon Apr 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- Initial spec file