SUNWlibgcrypt.spec
author laca
Tue, 05 Aug 2008 04:33:16 +0000
branchgnome-2-22
changeset 12486 7fa2b2b0dddb
parent 11931 5421e285b730
child 12612 84f3f5e4d351
permissions -rw-r--r--
2008-08-05 Laszlo (Laca) Peter <[email protected]> * indiana/SUNWgetting-started-guide.spec: bump to 0.7.0; delete patches * patches/getting-started-guide-01-refresh-0.diff: delete * patches/getting-started-guide-02-po.diff: delete * indiana/SUNWopensolaris-welcome.spec: bump to 0.0.6 for bts release
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Summary:       %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
SUNW_BaseDir:  %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires: SUNWlibgcrypt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
mkdir -p %name-%version
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    41
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    42
mkdir -p %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    43
%libgcrypt64.prep -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    44
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    45
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    46
mkdir -p %name-%version/%base_arch
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    47
%libgcrypt.prep -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%build
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    50
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    51
%libgcrypt64.build -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    52
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    53
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    54
%libgcrypt.build -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%install
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    58
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    59
%libgcrypt64.install -d %name-%version/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    60
#rm -rf $RPM_BUILD_ROOT%{_bindir}/%_arch64
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    61
%endif
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    62
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    63
%libgcrypt.install -d %name-%version/%base_arch
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT%{_datadir}/info
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
%{?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
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%{_libdir}/lib*.so*
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    75
%ifarch amd64 sparcv9
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    76
%{_libdir}/%{_arch64}
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    77
%endif
9397
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%dir %attr (0755, root, bin) %{_includedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%dir %attr (0755, root, other) %{_datadir}/aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_datadir}/aclocal/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%changelog
9632
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    90
* Tue Mar 27 2007 - [email protected]
9dc8ece60fdb 2007-03-27 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    91
- enable 64-bit build
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Thu Apr 06 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Move -config file to -devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Tue Apr 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- Alter remove .a/.la files part into linux spec. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
* Thu Mar 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
- Remove all *.a/*.la files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
* Fri Sep 09 2005 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
- remove unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
* Wed Sep 07 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
- Add Build/Requires SUNWlibgpg-error/-devel.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
* Wed Aug 31 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
- Change SUNW_Category for open solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Fri Sep 10 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- Added Requires: SUNWlibcrypt for devel package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Mon Aug 30 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- 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
   112
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Thu Mar 11 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- initial version created