base-specs/glibmm.spec
author dcarbery
Fri, 18 Jul 2008 10:00:24 +0000
changeset 12849 1911e6a26dbb
parent 12848 906c6e7d791c
child 12850 30128ccf58a6
permissions -rw-r--r--
Correct %changelog entry.
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 glibmm
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     4
# Copyright 2008 Sun Microsystems, Inc.
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
#
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     8
# Owner: simonzheng
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
%include Solaris.inc
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    11
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    12
Name:                    glibmm
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
License:        	 LGPL
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
Group:                   System/Libraries
12848
906c6e7d791c 2008-07-18 Damien Carbery <[email protected]>
dcarbery
parents: 12684
diff changeset
    15
Version:                 2.17.1
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
Release:                 1
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    17
Distribution:            Java Desktop System
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    18
Vendor:                  Sun Microsystems, Inc.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    19
Summary:                 glibmm - C++ Wrapper for the Glib2 Library
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
URL:                     http://www.gtkmm.org/
12684
4c1b414923a9 2008-06-17 Damien Carbery <[email protected]>
dcarbery
parents: 12241
diff changeset
    21
Source:                  http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.17/%{name}-%{version}.tar.bz2
11636
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
    22
# date:2008-02-14 owner:xz159989 type:branding
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
    23
Patch1:                  glibmm-01-build.diff
11663
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
    24
# date:2008-02-18 owner:dcarbery type:bug bugzilla:423990
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
    25
Patch2:                  glibmm-02-m4-macro.diff
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
BuildRequires:           libsigc++-devel >= 2.0.0
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
BuildRequires:           glib2-devel >= 2.9.0
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
%package devel
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    31
Summary:                 Headers for developing programs that will use %{name}.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    32
Group:                   System/Libraries
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
Requires:                libsigc++-devel >= 1.2.0
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
Requires:                glib2-devel >= 2.9.0
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    36
%prep
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    37
%setup -q -n glibmm-%version
11636
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
    38
%patch1 -p0
11663
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
    39
%patch2 -p1
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
%build
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
%ifos linux
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
if [ -x /usr/bin/getconf ]; then
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
  CPUS=`getconf _NPROCESSORS_ONLN`
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
fi
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
%else
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
%endif
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
if test "x$CPUS" = "x" -o $CPUS = 0; then
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
    CPUS=1
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
fi
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
11663
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
    53
aclocal $ACLOCAL_FLAGS -Iscripts
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
    54
autoconf
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    55
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    56
            --libdir=%{_libdir}              \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    57
            --libexecdir=%{_libexecdir}      \
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    58
            --sysconfdir=%{_sysconfdir} --disable-python
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    59
make -j$CPUS 
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
%install
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
make install DESTDIR=$RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
cp examples/child_watch/.libs/child_watch $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/child_watch/child_watch
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    66
cp examples/iochannel_stream/.libs/example $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/iochannel_stream/example
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    67
cp examples/markup/.libs/parser $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/markup/parser
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    68
cp examples/markup/test.xml $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/markup/test.xml
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    69
cp examples/options/.libs/example $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/options/example
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    70
cp examples/regex/.libs/example $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/regex/example
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    71
cp examples/thread/.libs/dispatcher $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/thread/dispatcher
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    72
cp examples/thread/.libs/dispatcher2 $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/thread/dispatcher2
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    73
cp examples/thread/.libs/thread $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/thread/thread
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    74
cp examples/thread/.libs/threadpool $RPM_BUILD_ROOT%{_datadir}/doc/glibmm-2.4/examples/thread/threadpool
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    75
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    76
%clean
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    78
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    79
%changelog
12849
1911e6a26dbb Correct %changelog entry.
dcarbery
parents: 12848
diff changeset
    80
* Fri Jul 18 2008 - [email protected]
12848
906c6e7d791c 2008-07-18 Damien Carbery <[email protected]>
dcarbery
parents: 12684
diff changeset
    81
- Bump to 2.17.1.
12684
4c1b414923a9 2008-06-17 Damien Carbery <[email protected]>
dcarbery
parents: 12241
diff changeset
    82
* Tue Jun 17 2008 - [email protected]
4c1b414923a9 2008-06-17 Damien Carbery <[email protected]>
dcarbery
parents: 12241
diff changeset
    83
- Bump to 2.17.0.
12241
775afd0023d9 2008-05-02 simon.zheng <[email protected]>
xz159989
parents: 11978
diff changeset
    84
* Thu May 02 2008 - [email protected]
775afd0023d9 2008-05-02 simon.zheng <[email protected]>
xz159989
parents: 11978
diff changeset
    85
- Bump to 2.16.2.
11978
7085937ed0af 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11842
diff changeset
    86
* Mon Mar 31 2008 - [email protected]
7085937ed0af 2008-03-27 Damien Carbery <[email protected]>
dcarbery
parents: 11842
diff changeset
    87
- Bump to 2.16.1.
11842
ef341ae585f3 2008-03-11 Damien Carbery <[email protected]>
dcarbery
parents: 11792
diff changeset
    88
* Tue Mar 11 2008 - [email protected]
ef341ae585f3 2008-03-11 Damien Carbery <[email protected]>
dcarbery
parents: 11792
diff changeset
    89
- Bump to 2.16.0. Remove upstream patch 03-overloading-ambiguity.
11792
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    90
* Wed Mar  5 2008 - [email protected]
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    91
- To fix failure of building with SS11 compiler, add patch
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    92
  04-overloading-ambiguity. Add an explicit template specification
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    93
  to avoid ction to avoid ambiguity. Fix is from glibmm maintainer
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    94
  [email protected], and also go upstream.
b8b983f87e83 2008-03-05 simon.zheng <[email protected]>
xz159989
parents: 11787
diff changeset
    95
  available on next tarball.
11787
e69f17985b15 2008-03-04 Damien Carbery <[email protected]>
dcarbery
parents: 11725
diff changeset
    96
* Tue Mar  4 2008 - [email protected]
e69f17985b15 2008-03-04 Damien Carbery <[email protected]>
dcarbery
parents: 11725
diff changeset
    97
- Bump to 2.15.8.
11725
b731d2d412a2 2008-02-26 Damien Carbery <[email protected]>
dcarbery
parents: 11709
diff changeset
    98
* Tue Feb 26 2008 - [email protected]
b731d2d412a2 2008-02-26 Damien Carbery <[email protected]>
dcarbery
parents: 11709
diff changeset
    99
- Bump to 2.15.7.
11709
fdf69cf35651 2008-02-25 Damien Carbery <[email protected]>
dcarbery
parents: 11663
diff changeset
   100
* Mon Feb 25 2008 - [email protected]
fdf69cf35651 2008-02-25 Damien Carbery <[email protected]>
dcarbery
parents: 11663
diff changeset
   101
- Bump to 2.15.6.
11663
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
   102
* Mon Feb 18 2008 - [email protected]
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
   103
- Add patch 02-m4-macro to build on sparc. The GNU m4 check was failing because
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
   104
  '[Mm]' in the aclocal code was losing the brackets when aclocal/autoconf
b3fc863ea076 2008-02-18 Damien Carbery <[email protected]>
dcarbery
parents: 11641
diff changeset
   105
  created the configure script.
11641
0be7e5444dad 2008-02-15 simon.zheng <[email protected]>
xz159989
parents: 11636
diff changeset
   106
* Wed Feb 15 2008 - [email protected]
0be7e5444dad 2008-02-15 simon.zheng <[email protected]>
xz159989
parents: 11636
diff changeset
   107
- Correct download URL.
11636
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
   108
* Tue Feb 14 2008 - [email protected]
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
   109
- Bump to Version 2.15.5.
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
   110
- Add glibmm-01-build.diff.
3ada0c8e3831 2008-02-14 simon.zheng <[email protected]>
xz159989
parents: 11635
diff changeset
   111
- Remove glimm-01-gtestutils.diff.
11635
9fa096fe7e3e 2008-02-14 Damien Carbery <[email protected]>
dcarbery
parents: 11624
diff changeset
   112
* Thu Feb 14 2008 - [email protected]
9fa096fe7e3e 2008-02-14 Damien Carbery <[email protected]>
dcarbery
parents: 11624
diff changeset
   113
- Add patch 01-gtestutils to include glib/gtestutils.h in some source files to
9fa096fe7e3e 2008-02-14 Damien Carbery <[email protected]>
dcarbery
parents: 11624
diff changeset
   114
  define g_assert macro.
11624
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   115
* Tue Feb 12 2008 - [email protected]
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   116
- Added all the examples to the /usr/share/doc.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   117
  Also cleaned out %files and %files-devel where are not used here.
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   118
* Mon Jan 28 2008 - [email protected]
1147178b8480 2008-02-12 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   119
- Create. Split from SFEglibmm and bump to version 2.14.2.