SUNWperl-authen-pam.spec
author jerrytan
Mon, 11 Aug 2008 07:35:57 +0000
branchgnome-2-22
changeset 12497 f4743e0d8120
parent 12475 87c12796cb9f
child 13489 fc8a2bd90b3f
permissions -rw-r--r--
update spec for tracker from vermillion
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
#
12475
87c12796cb9f 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
12475
87c12796cb9f 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    16
%define tarball_version 0.16
87c12796cb9f 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
12475
87c12796cb9f 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
12475
87c12796cb9f 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
12475
87c12796cb9f 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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%dir %attr(0755, root, bin) %{_prefix}/perl5
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%dir %attr(0755, root, bin) %{_prefix}/perl5/vendor_perl
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/%{perl_version}
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}/%{perl_dir}/Authen
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%{_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
%if %is_s10
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
%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
    71
%{_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
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%{_prefix}/perl5/vendor_perl/%{perl_version}/%{perl_dir}/auto
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%dir %attr(0755, root, bin) %{_mandir}/man3
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%{_mandir}/man3/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%changelog
12475
87c12796cb9f 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    81
* Thu Jul 17 2008 - [email protected]
87c12796cb9f 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents: 11975
diff changeset
    82
- 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
    83
* Tue Jan 30 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- Fix typo s/Autoconf/autoconf/.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- 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
    87
* Mon Apr 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
- Initial spec file