12955
|
1 |
#
|
|
2 |
#
|
|
3 |
# spec file for package SUNWpangomm
|
|
4 |
#
|
|
5 |
# includes module(s): pangomm
|
|
6 |
#
|
|
7 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
8 |
# This file and all modifications and additions to the pristine
|
|
9 |
# package are under the same license as the package itself.
|
|
10 |
#
|
|
11 |
# Owner: bewitche
|
|
12 |
|
|
13 |
%include Solaris.inc
|
|
14 |
|
|
15 |
%use pangomm = pangomm.spec
|
|
16 |
|
|
17 |
Name: SUNWpangomm
|
|
18 |
Summary: pangomm - C++ Wrapper for the pango Library
|
|
19 |
Version: %{pangomm.version}
|
13149
|
20 |
Source: %{name}-manpages-0.1.tar.gz
|
12955
|
21 |
SUNW_BaseDir: %{_basedir}
|
13000
|
22 |
SUNW_Copyright: %{name}.copyright
|
12955
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
%include default-depend.inc
|
15650
|
25 |
Requires: SUNWpango
|
|
26 |
Requires: SUNWgtkmm
|
12955
|
27 |
Requires: SUNWsigcpp
|
|
28 |
Requires: SUNWcairomm
|
|
29 |
Requires: SUNWglibmm
|
15650
|
30 |
BuildRequires: SUNWpango-devel
|
12955
|
31 |
BuildRequires: SUNWsigcpp-devel
|
|
32 |
BuildRequires: SUNWcairomm-devel
|
|
33 |
BuildRequires: SUNWglibmm-devel
|
|
34 |
|
|
35 |
%package devel
|
|
36 |
Summary: pangomm - C++ Wrapper for the pango Library - developer files
|
|
37 |
SUNW_BaseDir: %{_basedir}
|
|
38 |
%include default-depend.inc
|
|
39 |
Requires: %name
|
15650
|
40 |
Requires: SUNWpango-devel
|
12955
|
41 |
Requires: SUNWsigcpp-devel
|
|
42 |
|
|
43 |
%prep
|
|
44 |
rm -rf %name-%version
|
|
45 |
mkdir %name-%version
|
|
46 |
%pangomm.prep -d %name-%version
|
13152
|
47 |
cd %{_builddir}/%name-%version
|
|
48 |
gzcat %SOURCE0 | tar -xf -
|
12955
|
49 |
|
|
50 |
%build
|
|
51 |
export CFLAGS="%optflags"
|
|
52 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
53 |
export LDFLAGS="%_ldflags"
|
|
54 |
%pangomm.build -d %name-%version
|
|
55 |
|
|
56 |
%install
|
|
57 |
%pangomm.install -d %name-%version
|
13149
|
58 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
59 |
make install DESTDIR=$RPM_BUILD_ROOT
|
12955
|
60 |
|
|
61 |
%clean
|
|
62 |
rm -rf $RPM_BUILD_ROOT
|
|
63 |
|
|
64 |
%files
|
|
65 |
%defattr (-, root, bin)
|
|
66 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
67 |
%{_libdir}/lib*
|
13244
|
68 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
69 |
%dir %attr(0755, root, bin) %{_mandir}
|
13152
|
70 |
%{_mandir}/*/*
|
12955
|
71 |
|
|
72 |
%files devel
|
|
73 |
%defattr (-, root, bin)
|
|
74 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
75 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
76 |
%{_libdir}/pkgconfig/*
|
|
77 |
%{_libdir}/pangomm*
|
|
78 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
79 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
80 |
%{_datadir}/doc/*
|
|
81 |
%{_datadir}/devhelp
|
|
82 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
83 |
%{_includedir}/*
|
|
84 |
|
|
85 |
%changelog
|
15486
|
86 |
* Mon Mar 25 2009 - [email protected]
|
|
87 |
- Remove dependency on SUNWgtkmm
|
15481
|
88 |
* Tue Mar 24 2009 - [email protected]
|
|
89 |
- Add dependency on SUNWgtkmm(CR#6821116).
|
13244
|
90 |
* Fri Aug 22 2008 - [email protected]
|
|
91 |
- Fixed /usr/share attribute issue.
|
13149
|
92 |
* Mon Aug 18 2008 - [email protected]
|
|
93 |
- add manpage
|
12995
|
94 |
* Fri Aug 01 2008 - [email protected]
|
|
95 |
- set copyright to gtkmm.copyright, Chris Wang will update later.
|
12955
|
96 |
* Thu Jul 24 2008 - [email protected]
|
|
97 |
- create
|
15650
|
98 |
|