SUNWpangomm.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 13244 fa0a3ed345ec
child 15481 7d2abbbae4b8
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
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
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    25
Requires: SUNWgnome-base-libs
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    26
Requires: SUNWsigcpp
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    27
Requires: SUNWcairomm
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    28
Requires: SUNWglibmm
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    29
BuildRequires: SUNWsigcpp-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    30
BuildRequires: SUNWgnome-base-libs-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    31
BuildRequires: SUNWcairomm-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    32
BuildRequires: SUNWglibmm-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    33
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    34
%package devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    35
Summary:                 pangomm - C++ Wrapper for the pango Library - developer files
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    36
SUNW_BaseDir:            %{_basedir}
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    37
%include default-depend.inc
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    38
Requires: %name
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    39
Requires: SUNWgnome-base-libs-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    40
Requires: SUNWsigcpp-devel
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    41
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
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    86
%changelog
13244
fa0a3ed345ec 2008-08-22 Dave Lin <[email protected]>
davelam
parents: 13152
diff changeset
    87
* Fri Aug 22 2008 - [email protected]
fa0a3ed345ec 2008-08-22 Dave Lin <[email protected]>
davelam
parents: 13152
diff changeset
    88
- Fixed /usr/share attribute issue.
13149
889286d0639f 008-08-18 Chris Wang <[email protected]>
bewitche
parents: 13000
diff changeset
    89
* Mon Aug 18 2008 - [email protected]
889286d0639f 008-08-18 Chris Wang <[email protected]>
bewitche
parents: 13000
diff changeset
    90
- add manpage
12995
8c6d10415119 Forgot to update changelog in SUNWpangomm
chrisk
parents: 12994
diff changeset
    91
* Fri Aug 01 2008 - [email protected]
8c6d10415119 Forgot to update changelog in SUNWpangomm
chrisk
parents: 12994
diff changeset
    92
- 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
    93
* Thu Jul 24 2008 - [email protected]
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    94
- create