SUNWlibgc.spec
author henryz
Wed, 09 Apr 2008 07:35:21 +0000
changeset 12065 ec40d145a28b
parent 11922 da6b0e630b7d
child 12410 72cd6319f51f
permissions -rw-r--r--
+2008-04-09 Henry Zhang <[email protected]> + + * patches/virt-manager-04-temporary-patch.diff: + Change the patch to fix AllY bug, 6686007 +
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for package SUNWlibgc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     4
# includes module(s): libgc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# package are under the same license as the package itself.
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    10
# Owner: halton
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    11
#
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    12
%include Solaris.inc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    13
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    14
%use libgc = libgc.spec
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    16
Name:                    SUNWlibgc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    17
Summary:                 Boehm-Demers-Weiser garbage collector for C/C++
11773
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11516
diff changeset
    18
Version:                 %{libgc.version}
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
11922
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11773
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
%include default-depend.inc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
Requires: SUNWlibms
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    26
%package devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    27
Summary:                 %{summary} - development files
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    28
SUNW_BaseDir:            %{_basedir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    29
%include default-depend.inc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    30
Requires:                %{name}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    31
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    32
%prep
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    33
rm -rf %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
mkdir %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
%libgc.prep -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
%build
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
export CFLAGS="%optflags"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
export LDFLAGS="%{_ldflags}"
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
%libgc.build -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
%install
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
%libgc.install -d %name-%version
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
%clean
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
%files
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
%dir %attr (0755, root, bin) %{_libdir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    53
%{_libdir}/lib*.so*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    54
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
%dir %attr (0755, root, bin) %{_libdir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
%{_libdir}/pkgconfig/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%dir %attr (0755, root, bin) %{_includedir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
%{_includedir}/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
%dir %attr (0755, root, sys) %{_datadir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
%{_datadir}/gc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%changelog
11922
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11773
diff changeset
    66
* Thu Mar 27 2008 - [email protected]
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11773
diff changeset
    67
- Add copyright file
11773
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11516
diff changeset
    68
* Sun Mar 02 2008 - [email protected]
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11516
diff changeset
    69
- Correct package version number.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
* Thu Jan 03 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
- Use base spec libgc.spec
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
* Mon Oct 15 2007 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    73
- Bump to 7.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    74
- s/gc%{version}/gc-%{version}/g
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
- Add *.pc to %files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
* Thu Jul  6 2006 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
- rename to SFEhp-gc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    78
- delete -share subpkg
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    79
- update file attributes
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
- delete unnecessary env variables
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
* Mon Jan 30 2006 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
- Initial version