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