SUNWlibgc.spec
author davelam
Wed, 24 Feb 2010 04:10:23 +0000
branchgnome-2-28
changeset 18642 478b5460cc36
parent 16434 f21f22550fe9
permissions -rw-r--r--
add new proto file for b133
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15297
diff changeset
    10
%define owner jerrytan
11516
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
13624
1f9eef047ca0 update copyright for libgc
jerrytan
parents: 12966
diff changeset
    51
%doc -d gc-%{libgc.version} doc/README README.QUICK
1f9eef047ca0 update copyright for libgc
jerrytan
parents: 12966
diff changeset
    52
%doc(bzip2) -d gc-%{libgc.version} ChangeLog
1f9eef047ca0 update copyright for libgc
jerrytan
parents: 12966
diff changeset
    53
%dir %attr (0755, root, other) %{_datadir}/doc
13656
095e82f6b549 update for datadir attribute
jerrytan
parents: 13624
diff changeset
    54
%dir %attr (0755, root, sys) %{_datadir}
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    55
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
%dir %attr (0755, root, bin) %{_libdir}
15297
b3e56452f826 rename libgc.so to libbgc.so
jerrytan
parents: 15176
diff changeset
    57
%{_libdir}/lib*.so*
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
%files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
%defattr (-, root, bin)
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_libdir}
12966
a28c5890b40c Add ARC comment into man page for realplayer,libgc,gthumb,tracker
jerrytan
parents: 12563
diff changeset
    62
%{_mandir}/man?/*
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%{_libdir}/pkgconfig/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
%dir %attr (0755, root, bin) %{_includedir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
%{_includedir}/*
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
%dir %attr (0755, root, sys) %{_datadir}
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
%{_datadir}/gc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
%changelog
11922
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11773
diff changeset
    71
* Thu Mar 27 2008 - [email protected]
da6b0e630b7d 2008-03-27 Halton Huo <[email protected]>
halton
parents: 11773
diff changeset
    72
- Add copyright file
11773
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11516
diff changeset
    73
* Sun Mar 02 2008 - [email protected]
b0c56dfc4139 2008-03-02 simon.zheng <[email protected]>
xz159989
parents: 11516
diff changeset
    74
- Correct package version number.
11516
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
* Thu Jan 03 2008 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
- Use base spec libgc.spec
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
* Mon Oct 15 2007 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    78
- Bump to 7.0
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    79
- s/gc%{version}/gc-%{version}/g
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
- Add *.pc to %files devel
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
* Thu Jul  6 2006 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
- rename to SFEhp-gc
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    83
- delete -share subpkg
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    84
- update file attributes
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    85
- delete unnecessary env variables
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    86
* Mon Jan 30 2006 - [email protected]
78f2ff195ca5 2008-01-24 Halton Huo <[email protected]>
halton
parents:
diff changeset
    87
- Initial version