base-specs/pangomm.spec
author davelam
Thu, 22 Oct 2009 06:08:48 +0000
changeset 16834 a913fcb72d66
parent 16434 f21f22550fe9
child 17852 edfc096bfd70
permissions -rw-r--r--
2009-10-22 Dave Lin <[email protected]> * base-specs/gnome-utils.spec: Bump to 2.28.1. * base-specs/pangomm.spec: Bump to 2.26.0 * patches/pangomm-01-ignore-defs.diff: Removed the useless patch. * base-specs/gtkmm.spec: Bump to 2.18.2. * patches/gtkmm-01-ignore-defs.diff: Removed. * patches/gtkmm-02-const-char.diff: Removed. * patches/gtkmm-03-std-advance.diff: Removed. * patches/gtkmm-01-std-advance.diff: Added. * SUNWgtkmm.spec: Set ACLOCAL_FLAGS to fix libtool issue. Removed the obsoleted grogram ${_bindir}/demo/jds/bin/gtkmm-demo from %files.
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
# spec file for package pangomm
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     3
#
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     6
# package are under the same license as the package itself.
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16431
diff changeset
     8
%define owner gheet
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
     9
#
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    10
16431
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15966
diff changeset
    11
%define OSR gnome.org:0
d7743d81b302 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15966
diff changeset
    12
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    13
Name:         pangomm
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    14
License:      LGPL
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    15
Group:        System/Libraries
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    16
Version:      2.26.0
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    17
Release:      1
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    18
Distribution: Java Desktop System
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    19
Vendor:       Sun Microsystems, Inc.
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    20
Summary:      pangomm - C++ Interfaces for pango 
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    21
Source:       http://download.gnome.org/sources/pangomm/2.26/pangomm-%{version}.tar.bz2
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    22
URL:          http://www.gtkmm.org/
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
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    25
%prep
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    26
%setup -q -n pangomm-%version
13087
a53dbc79facd 2008-08-08 Damien Carbery <[email protected]>
dcarbery
parents: 13027
diff changeset
    27
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    28
%build
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    29
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    30
if test "x$CPUS" = "x" -o $CPUS = 0; then
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    31
    CPUS=1
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    32
fi
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    33
%if %cc_is_gcc
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    34
%else
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    35
export CXX="${CXX} -norunpath"
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    36
%endif
14611
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13791
diff changeset
    37
export CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__"
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    38
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    39
aclocal -Ibuild
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    40
automake --add-missing
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    41
autoconf
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    42
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    43
            --libdir=%{_libdir}              \
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    44
            --libexecdir=%{_libexecdir}      \
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    45
            --sysconfdir=%{_sysconfdir}
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    46
make -j$CPUS 
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    47
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    48
%install
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    49
make install DESTDIR=$RPM_BUILD_ROOT
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    50
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    51
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    52
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    53
%clean
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT
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
%files
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    57
%defattr (-, root, bin)
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    58
%dir %attr (0755, root, bin) %{_libdir}
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    59
%{_libdir}/lib*
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
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    62
%changelog
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    63
* Thu Oct 22 2009 - [email protected]
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    64
- Bump to 2.26.0.
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    65
- Removed the patch 01-ignore-defs.diff.
15966
338a9de124ea 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15392
diff changeset
    66
* Fri Jun 26 2009 - [email protected]
338a9de124ea 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15392
diff changeset
    67
- Change spec and patch owner to gheet
15392
fda7ad891679 * base-specs/sound-juicer.spec: Bump to 2.25.92.
davelam
parents: 15183
diff changeset
    68
* Fri Mar 13 2009 - [email protected]
fda7ad891679 * base-specs/sound-juicer.spec: Bump to 2.25.92.
davelam
parents: 15183
diff changeset
    69
- Bump to 2.24.0
15183
68215df36192 2009-02-20 Chris Wang <[email protected]
bewitche
parents: 14882
diff changeset
    70
* Mone Feb 16 2009 - [email protected]
68215df36192 2009-02-20 Chris Wang <[email protected]
bewitche
parents: 14882
diff changeset
    71
- Bump to 2.14.1
14882
f35efba9fd31 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14611
diff changeset
    72
* Thu Jan 08 2009 - [email protected]
f35efba9fd31 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14611
diff changeset
    73
- Bump to 2.14.0.
14611
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13791
diff changeset
    74
* Mon Nov 17 2008 - [email protected]
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13791
diff changeset
    75
- Add _RWSTD_NO_WSTR to CXXFLAG to pass SS12 build
13087
a53dbc79facd 2008-08-08 Damien Carbery <[email protected]>
dcarbery
parents: 13027
diff changeset
    76
* Fri Aug 08 2008 - [email protected]
a53dbc79facd 2008-08-08 Damien Carbery <[email protected]>
dcarbery
parents: 13027
diff changeset
    77
- Remove reference to upstream patch glibmm-02-m4-macro.diff.
13027
4d26853c826b 2008-08-05 Damien Carbery <[email protected]>
dcarbery
parents: 12955
diff changeset
    78
* Tue Aug 05 2008 - [email protected]
4d26853c826b 2008-08-05 Damien Carbery <[email protected]>
dcarbery
parents: 12955
diff changeset
    79
- Bump to 2.13.7.
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    80
* Thu Jul 24 2008 - [email protected]
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents:
diff changeset
    81
- create