base-specs/gtkmm.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 17908 1cbee2c5f96e
child 18263 f0658ff8af6e
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     1
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     2
# spec file for package gtkmm
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
#
11642
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     6
# package are under the same license as the package itself.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16430
diff changeset
     8
%define owner gheet
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     9
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 17823
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16430
1630b44703c8 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16110
diff changeset
    12
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
Name:         gtkmm
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
License:      LGPL
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    15
Group:        System/Libraries
17908
1cbee2c5f96e 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    16
Version:      2.20.2
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    17
Release:      1
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    18
Distribution: Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    19
Vendor:       Gnome Community
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
Summary:      gtkmm - C++ Interfaces for GTK+ and GNOME
17792
ece276b4466f 2010-04-03 Christian Kelly <[email protected]>
chrisk
parents: 17764
diff changeset
    21
Source:       http://download.gnome.org/sources/gtkmm/2.20/gtkmm-%{version}.tar.bz2
15987
3205ed9cf1b2 2009-07-02 Christian Kelly <[email protected]>
chrisk
parents: 15966
diff changeset
    22
16110
730dff956212 2009-07-24 Ghee Teo <[email protected]>
gheet
parents: 16081
diff changeset
    23
#date:2009-07-02 owner:gheet type:branding doo:10178
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    24
Patch1:       gtkmm-01-std-advance.diff
16110
730dff956212 2009-07-24 Ghee Teo <[email protected]>
gheet
parents: 16081
diff changeset
    25
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
URL:          http://www.gtkmm.org/
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
%prep
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
%setup -q -n gtkmm-%version
11642
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    31
%patch1 -p1
14611
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13627
diff changeset
    32
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
%build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
if test "x$CPUS" = "x" -o $CPUS = 0; then
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    36
    CPUS=1
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    37
fi
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    38
%if %cc_is_gcc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
%else
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
export CXX="${CXX} -norunpath"
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
%endif
14611
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13627
diff changeset
    42
export CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__"
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
12658
c6eb92b012eb 2008-06-13 Damien Carbery <[email protected]>
dcarbery
parents: 12004
diff changeset
    44
# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
c6eb92b012eb 2008-06-13 Damien Carbery <[email protected]>
dcarbery
parents: 12004
diff changeset
    45
# gtkmm: 1.10.1)
16110
730dff956212 2009-07-24 Ghee Teo <[email protected]>
gheet
parents: 16081
diff changeset
    46
libtoolize --force
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    47
aclocal $ACLOCAL_FLAGS -Ibuild
11642
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    48
automake --add-missing
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
autoconf
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
            --libdir=%{_libdir}              \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
            --libexecdir=%{_libexecdir}      \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    53
            --sysconfdir=%{_sysconfdir}
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    54
make -j$CPUS 
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    55
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    56
%install
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    57
make install DESTDIR=$RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    58
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    59
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    60
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    61
%clean
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    63
11642
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    64
%files
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    65
%defattr (-, root, bin)
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    66
%dir %attr (0755, root, bin) %{_libdir}
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    67
%{_libdir}/lib*
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
    68
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    69
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    70
%changelog
17908
1cbee2c5f96e 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    71
* Thu Apr 22 2010 - [email protected]
1cbee2c5f96e 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    72
- Bump to 2.20.2.
17823
ce31c8e7155f 2010-04-12 Christian Kelly <[email protected]>
chrisk
parents: 17792
diff changeset
    73
* Mon Apr 12 2010 - [email protected]
ce31c8e7155f 2010-04-12 Christian Kelly <[email protected]>
chrisk
parents: 17792
diff changeset
    74
- Bump to 2.20.1.
17764
dc459e5a8ee0 2010-03-26 Christian Kelly <[email protected]>
chrisk
parents: 17711
diff changeset
    75
* Fri Mar 26 2010 - [email protected]
dc459e5a8ee0 2010-03-26 Christian Kelly <[email protected]>
chrisk
parents: 17711
diff changeset
    76
- Bump to 2.19.7.
17711
abdc9e4d43d6 2010-03-14 Christian Kelly <[email protected]>
chrisk
parents: 16834
diff changeset
    77
* Sun Mar 14 2010 - [email protected]
abdc9e4d43d6 2010-03-14 Christian Kelly <[email protected]>
chrisk
parents: 16834
diff changeset
    78
- Bump to 2.19.6.
16834
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    79
* Thu Oct 22 2009 - [email protected]
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    80
- Bump to 2.18.2
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    81
- Removed 01-ignore-defs.diff.
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    82
- Removed 02-const-char.diff.
a913fcb72d66 2009-10-22 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
    83
- Reordered patch.
16110
730dff956212 2009-07-24 Ghee Teo <[email protected]>
gheet
parents: 16081
diff changeset
    84
* Fri Jul 24 2009 - [email protected]
730dff956212 2009-07-24 Ghee Teo <[email protected]>
gheet
parents: 16081
diff changeset
    85
- Bumped to 2.17.2 and added gtkmm-03-std-advance.diff which replace usage of C++ std template.
16081
674710e607a1 2009-07-21 Christian Kelly <[email protected]>
chrisk
parents: 16050
diff changeset
    86
* Tue Jul 21 2009 - [email protected]
674710e607a1 2009-07-21 Christian Kelly <[email protected]>
chrisk
parents: 16050
diff changeset
    87
- Un-bump to 2.16.0, build issues.
16050
24ad2811fc69 2009-07-19 Christian Kelly <[email protected]>
chrisk
parents: 15988
diff changeset
    88
* Fri Jul 17 2009 - [email protected]
24ad2811fc69 2009-07-19 Christian Kelly <[email protected]>
chrisk
parents: 15988
diff changeset
    89
- Bump to 2.17.2.
15988
eceb2abd17e0 2009-07-02 Christian Kelly <[email protected]>
chrisk
parents: 15987
diff changeset
    90
* Thu Jul 02 2009 - [email protected]
eceb2abd17e0 2009-07-02 Christian Kelly <[email protected]>
chrisk
parents: 15987
diff changeset
    91
- Add gtkmm-02-const-char to fix build issue.
15966
338a9de124ea 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15440
diff changeset
    92
* Fri Jun 26 2009 - [email protected]
338a9de124ea 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15440
diff changeset
    93
- Change spec and patch owner to gheet
15440
095a3990b787 bump to 2.16.0
davelam
parents: 15394
diff changeset
    94
* Tue Mar 17 2009 - [email protected]
095a3990b787 bump to 2.16.0
davelam
parents: 15394
diff changeset
    95
- Bump to 2.16.0
15394
cb0cd5b46196 * base-specs/glibmm.spec: Bump to 2.19.8.
davelam
parents: 15093
diff changeset
    96
* Fri Mar 13 2009 - [email protected]
cb0cd5b46196 * base-specs/glibmm.spec: Bump to 2.19.8.
davelam
parents: 15093
diff changeset
    97
- Bump to 2.15.5
15093
eaf49ccee8e3 2009-02-16 Dave Lin <[email protected]>
davelam
parents: 14883
diff changeset
    98
* Mon Feb 16 2009 - [email protected]
eaf49ccee8e3 2009-02-16 Dave Lin <[email protected]>
davelam
parents: 14883
diff changeset
    99
- Bump to 2.15.3
14883
471df290f9e4 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14611
diff changeset
   100
* Thu Jan 08 2009 - [email protected]
471df290f9e4 2009-01-08 Christian Kelly <[email protected]>
chrisk
parents: 14611
diff changeset
   101
- Bump to 2.15.0.
14611
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13627
diff changeset
   102
* Mon Nov 17 2008 - [email protected]
575f4859d881 2008-11-17 Chris Wang <[email protected]>
bewitche
parents: 13627
diff changeset
   103
- Add _RWSTD_NO_WSTR to CXXFLAG
13619
d1eccd3364d8 2008-09-17 Chris Wang <[email protected]>
bewitche
parents: 13248
diff changeset
   104
* Fri Sep 12 2008 - chris,[email protected]
d1eccd3364d8 2008-09-17 Chris Wang <[email protected]>
bewitche
parents: 13248
diff changeset
   105
- Bump to 2.13.8
d1eccd3364d8 2008-09-17 Chris Wang <[email protected]>
bewitche
parents: 13248
diff changeset
   106
- remove patch 02-widget, as the community has revert the code
13248
50cafc8c077a 2008-08-22 Dave Lin <[email protected]>
davelam
parents: 13087
diff changeset
   107
* Thu Aug 21 2008 - [email protected]
50cafc8c077a 2008-08-22 Dave Lin <[email protected]>
davelam
parents: 13087
diff changeset
   108
- Bump to 2.13.7
13087
a53dbc79facd 2008-08-08 Damien Carbery <[email protected]>
dcarbery
parents: 13038
diff changeset
   109
* Fri Aug 08 2008 - [email protected]
a53dbc79facd 2008-08-08 Damien Carbery <[email protected]>
dcarbery
parents: 13038
diff changeset
   110
- Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder.
13038
35e741a1b5a6 2008-08-05 Damien Carbery <[email protected]>
dcarbery
parents: 12955
diff changeset
   111
* Tue Aug 05 2008 - [email protected]
35e741a1b5a6 2008-08-05 Damien Carbery <[email protected]>
dcarbery
parents: 12955
diff changeset
   112
- Bump to 2.13.6.
12955
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents: 12905
diff changeset
   113
* Thu Jul 30 2008 - [email protected]
ccc02c06a76d 2008-07-30 Chris Wang <chris.wang@sun,com>
bewitche
parents: 12905
diff changeset
   114
- Bump to 2.13.5, we added pangomm spec
12852
b3b9765c5dfb 2008-07-18 Christian Kelly <[email protected]>
chrisk
parents: 12847
diff changeset
   115
* Fri Jul 18 2008 - [email protected]
b3b9765c5dfb 2008-07-18 Christian Kelly <[email protected]>
chrisk
parents: 12847
diff changeset
   116
- Add patch gtkmm-03-widget, fix build issue, widget.cc use of & operator.
12847
51154c527d73 Add missing ChangeLog entry. Fix typo in %changelog entry.
dcarbery
parents: 12842
diff changeset
   117
* Thu Jul 17 2008 - [email protected]
12842
f73fea3baf78 2008-07-17 Christian Kelly <[email protected]>
chrisk
parents: 12791
diff changeset
   118
- Bump to 2.13.4.
f73fea3baf78 2008-07-17 Christian Kelly <[email protected]>
chrisk
parents: 12791
diff changeset
   119
- Remove patch 02-gtk-deprecated, fix upstream.
12791
88ccd614917c 2008-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 12658
diff changeset
   120
* Thu Jul 10 2008 - [email protected]
88ccd614917c 2008-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 12658
diff changeset
   121
- Add patch 02-gtk-deprecated.
12004
0990d104c565 2008-04-02 Damien Carbery <[email protected]>
dcarbery
parents: 11796
diff changeset
   122
* Wed Apr 03 2008 - [email protected]
0990d104c565 2008-04-02 Damien Carbery <[email protected]>
dcarbery
parents: 11796
diff changeset
   123
- Bump to 2.12.7.
11796
f6b9ff1c5819 2008-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 11709
diff changeset
   124
* Wed Mar 05 2008 - [email protected]
f6b9ff1c5819 2008-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 11709
diff changeset
   125
- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now
f6b9ff1c5819 2008-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 11709
diff changeset
   126
  called 'gtkmm-demo'.
11709
fdf69cf35651 2008-02-25 Damien Carbery <[email protected]>
dcarbery
parents: 11702
diff changeset
   127
* Mon Feb 25 2008 - [email protected]
fdf69cf35651 2008-02-25 Damien Carbery <[email protected]>
dcarbery
parents: 11702
diff changeset
   128
- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation.
fdf69cf35651 2008-02-25 Damien Carbery <[email protected]>
dcarbery
parents: 11702
diff changeset
   129
* Fri Feb 22 2008 - [email protected]
11702
7516e81834ed 2008-02-22 Damien Carbery <[email protected]>
dcarbery
parents: 11642
diff changeset
   130
- Add glibmm-02-m4-macro to fix #423990. Use glibmm patch as issue is identical.
11642
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   131
* Thu Feb 14 2008 - [email protected]
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   132
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   133
  on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   134
* Thu Feb 14 2008 - [email protected]
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   135
- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   136
  are delivered with tarball and libglibmm_generate_extra_defs.so is not 
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   137
  delivered. We have raise this issue to module owner, and will remove the 
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   138
  patch if the module owner agree to remove .def file from tarball
25ab97488db2 - Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
bewitche
parents: 11624
diff changeset
   139
* Tue Jan 29 2008 - [email protected]
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   140
- create