SUNWperl-authen-pam.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16431 d7743d81b302
child 17864 337913e88a9d
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16431
diff changeset
    10
%define owner padraig
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
16431
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16297
diff changeset
    12
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16297
diff changeset
    13
%define OSR 8685:0.16
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16297
diff changeset
    14
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWperl-authen-pam
16297
62872aab867b 2009-08-17 Padraig O'Briain <[email protected]>
padraig
parents: 13643
diff changeset
    17
License:                 GPL 
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Summary:                 Authen-PAM PERL module
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Version:                 5.8.4
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    20
%define tarball_version 0.16
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    21
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
    22
#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
    23
Patch1:                  authen-pam-01-solaris.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
11975
b3604e7b11b2 2008-03-31 Padraig O'Briain <[email protected]>
padraig
parents: 9397
diff changeset
    26
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define perl_version 5.8.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%ifarch sparc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define perl_dir sun4-solaris-64int
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%define perl_dir i86pc-solaris-64int 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%setup -q            -c -n %name-%version
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
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%build
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    42
cd Authen-PAM-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
perl Makefile.PL \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
    PREFIX=$RPM_BUILD_ROOT%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
    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
    47
    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
    48
    INSTALLSITEMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
    INSTALLSITEMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
    INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
    INSTALLMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
make CC=$CC CCCDLFLAGS="%picflags" OPTIMIZE="%optflags" LD=$CC
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    56
cd Authen-PAM-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
make install
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
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%{?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
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%files
13489
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    67
%doc -d Authen-PAM-%{tarball_version} README
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%dir %attr(0755, root, bin) %{_prefix}/perl5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%dir %attr(0755, root, bin) %{_prefix}/perl5/vendor_perl
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%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
    72
%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
    73
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/Authen/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%if %is_s10
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%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
    76
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%dir %attr(0755, root, bin) %{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_mandir}/man3/*
13643
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    84
%dir %attr(0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%changelog
13643
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    87
* Wed Sep 17 2008 - [email protected]
29e412e5450e 2008-09-17 Christian Kelly <[email protected]>
chrisk
parents: 13581
diff changeset
    88
- Fix up pkg'ing section.
13581
13ca6ff9a5a7 2008-09-15 Christian Kelly <[email protected]>
chrisk
parents: 13489
diff changeset
    89
* Mon Sep 15 2008 - [email protected]
13ca6ff9a5a7 2008-09-15 Christian Kelly <[email protected]>
chrisk
parents: 13489
diff changeset
    90
- Remove /usr/share/doc from %files. 
13489
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    91
* Wed Sep 10 2006 - [email protected]
fc8a2bd90b3f 2008-09-10 Padraig O'Briain <[email protected]>
padraig
parents: 12841
diff changeset
    92
- Add %doc to %files for copyright
12841
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    93
* Thu Jul 17 2008 - [email protected]
929de71a28c3 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    94
- 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
    95
* Tue Jan 30 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
- Fix typo s/Autoconf/autoconf/.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
- 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
    99
* Mon Apr 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
- Initial spec file