SUNWlibgcrypt.spec
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 13602 4ebedd0437f8
child 15278 3c1b53c123ee
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.
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 SUNWlibgcrypt
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): libgcrypt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
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: jefftsai
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
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    13
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    14
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    15
%include arch64.inc
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    16
%use libgcrypt64 = libgcrypt.spec
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    17
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    18
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    19
%include base.inc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%use libgcrypt = libgcrypt.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Name:          SUNWlibgcrypt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Summary:       libgcrypt - cryptographic library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Version:       %{libgcrypt.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
SUNW_BaseDir:  %{_basedir}
11931
5421e285b730 2008-03-27 Irene Huang <[email protected]>
sh162551
parents: 9632
diff changeset
    26
SUNW_Copyright:%{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWlibgpg-error
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWlibgpg-error-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
12968
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    32
Source1:    %{name}-manpages-0.1.tar.gz
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    33
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires: SUNWlibgcrypt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
mkdir -p %name-%version
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    43
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    44
mkdir -p %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    45
%libgcrypt64.prep -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    46
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    47
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    48
mkdir -p %name-%version/%base_arch
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    49
%libgcrypt.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
12968
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    51
# Expand manpages tarball
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    52
cd %{_builddir}/%name-%version
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    53
gzcat %SOURCE1 | tar xf -
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    54
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    55
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    57
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    58
%libgcrypt64.build -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    59
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    60
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    61
%libgcrypt.build -d %name-%version/%base_arch
9397
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
%install
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    64
rm -rf $RPM_BUILD_ROOT
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    65
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    66
%libgcrypt64.install -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    67
#rm -rf $RPM_BUILD_ROOT%{_bindir}/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    68
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    69
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    70
%libgcrypt.install -d %name-%version/%base_arch
12615
8e2cb65bdbc8 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12612
diff changeset
    71
rm -r $RPM_BUILD_ROOT%{_datadir}/info
8e2cb65bdbc8 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12612
diff changeset
    72
rm -r $RPM_BUILD_ROOT%{_sbindir}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
12968
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    74
cd %{_builddir}/%name-%version/sun-manpages
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    76
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%{?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
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
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
%files
13602
4ebedd0437f8 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 13599
diff changeset
    83
%doc -d %{base_arch}/libgcrypt-%{libgcrypt.version} AUTHORS README
4ebedd0437f8 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 13599
diff changeset
    84
%doc(bzip2) -d %{base_arch}/libgcrypt-%{libgcrypt.version} ChangeLog
4ebedd0437f8 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 13599
diff changeset
    85
%doc(bzip2) -d %{base_arch}/libgcrypt-%{libgcrypt.version} COPYING COPYING.LIB
4ebedd0437f8 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 13599
diff changeset
    86
%doc(bzip2) -d %{base_arch}/libgcrypt-%{libgcrypt.version} NEWS
13599
064ea819f42e 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 12968
diff changeset
    87
%dir %attr (0755, root, other) %{_datadir}/doc
064ea819f42e 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 12968
diff changeset
    88
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_libdir}/lib*.so*
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    92
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    93
%{_libdir}/%{_arch64}
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    94
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
12968
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    96
%dir %attr (0755, root, sys) %{_datadir}
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    97
%dir %attr(0755, root, bin) %{_mandir}
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    98
%dir %attr(0755, root, bin) %{_mandir}/man1
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
    99
%{_mandir}/man1/*
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
   100
%dir %attr(0755, root, bin) %{_mandir}/man3
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
   101
%{_mandir}/man3/*
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
   102
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%changelog
13599
064ea819f42e 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 12968
diff changeset
   114
* Wed Sep 16 2008 - [email protected]
064ea819f42e 2008-09-16 Jeff Cai <[email protected]>
qc161282
parents: 12968
diff changeset
   115
- Add copyright.
12968
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
   116
* Thu Jul 31 2008 - [email protected]
b94c5e15a3d6 2008-07-31 Jeff Cai <[email protected]>
qc161282
parents: 12615
diff changeset
   117
- Add man pages for libgcrypt.
12615
8e2cb65bdbc8 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12612
diff changeset
   118
* Fri Jun 06 2008 - [email protected]
8e2cb65bdbc8 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12612
diff changeset
   119
- Change 'rm -rf' to 'rm -r' so that changes to installed dirs will be noticed
8e2cb65bdbc8 2008-06-06 Damien Carbery <[email protected]>
dcarbery
parents: 12612
diff changeset
   120
  in build logs.
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   121
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
   122
- enable 64-bit build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Thu Apr 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- Move -config file to -devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Alter remove .a/.la files part into linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Thu Mar 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- Remove all *.a/*.la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Fri Sep 09 2005 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Wed Sep 07 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Add Build/Requires SUNWlibgpg-error/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Change SUNW_Category for open solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Fri Sep 10 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Added Requires: SUNWlibcrypt for devel package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
* Mon Aug 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Bug 5091588 : include files should be in a separate devel package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
* Thu Mar 11 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
- initial version created