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