12366N/A#
12366N/A# spec file for package gtkmm
12366N/A#
12384N/A# Copyright 2008 Sun Microsystems, Inc.
12366N/A# This file and all modifications and additions to the pristine
12366N/A# package are under the same license as the package itself.
12366N/A#
17185N/A%define owner gheet
12366N/A#
12366N/A
18603N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17181N/A
12366N/AName: gtkmm
12366N/ALicense: LGPL
12366N/AGroup: System/Libraries
18659N/AVersion: 2.20.2
12366N/ARelease: 1
12366N/ADistribution: Java Desktop System
18615N/AVendor: Gnome Community
12366N/ASummary: gtkmm - C++ Interfaces for GTK+ and GNOME
18543N/ASource: http://download.gnome.org/sources/gtkmm/2.20/gtkmm-%{version}.tar.bz2
16738N/A
16861N/A#date:2009-07-02 owner:gheet type:branding doo:10178
17585N/APatch1: gtkmm-01-std-advance.diff
16861N/A
12366N/AURL: http://www.gtkmm.org/
12366N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12366N/A
12366N/A%prep
12366N/A%setup -q -n gtkmm-%version
12384N/A%patch1 -p1
15362N/A
12366N/A%build
12366N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12366N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12366N/A CPUS=1
12366N/Afi
12366N/A%if %cc_is_gcc
12366N/A%else
12366N/Aexport CXX="${CXX} -norunpath"
12366N/A%endif
15362N/Aexport CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__"
12366N/A
13400N/A# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
13400N/A# gtkmm: 1.10.1)
16861N/Alibtoolize --force
17585N/Aaclocal $ACLOCAL_FLAGS -Ibuild
12384N/Aautomake --add-missing
12366N/Aautoconf
12366N/A./configure --prefix=%{_prefix} --mandir=%{_mandir} \
12366N/A --libdir=%{_libdir} \
12366N/A --libexecdir=%{_libexecdir} \
12366N/A --sysconfdir=%{_sysconfdir}
12366N/Amake -j$CPUS
12366N/A
12366N/A%install
12366N/Amake install DESTDIR=$RPM_BUILD_ROOT
12366N/A
12366N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
12366N/A
12366N/A%clean
12366N/Arm -rf $RPM_BUILD_ROOT
12366N/A
12384N/A%files
12384N/A%defattr (-, root, bin)
12384N/A%dir %attr (0755, root, bin) %{_libdir}
12384N/A%{_libdir}/lib*
12384N/A
12366N/A
12366N/A%changelog
18659N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
18659N/A- Bump to 2.20.2.
18574N/A* Mon Apr 12 2010 - christian.kelly@oracle.com
18574N/A- Bump to 2.20.1.
18515N/A* Fri Mar 26 2010 - christian.kelly@sun.com
18515N/A- Bump to 2.19.7.
18462N/A* Sun Mar 14 2010 - christian.kelly@sun.com
18462N/A- Bump to 2.19.6.
17585N/A* Thu Oct 22 2009 - dave.lin@sun.com
17585N/A- Bump to 2.18.2
17585N/A- Removed 01-ignore-defs.diff.
17585N/A- Removed 02-const-char.diff.
17585N/A- Reordered patch.
16861N/A* Fri Jul 24 2009 - ghee.teo@sun.com
16861N/A- Bumped to 2.17.2 and added gtkmm-03-std-advance.diff which replace usage of C++ std template.
16832N/A* Tue Jul 21 2009 - christian.kelly@sun.com
16832N/A- Un-bump to 2.16.0, build issues.
16801N/A* Fri Jul 17 2009 - christian.kelly@sun.com
16801N/A- Bump to 2.17.2.
16739N/A* Thu Jul 02 2009 - christian.kelly@sun.com
16739N/A- Add gtkmm-02-const-char to fix build issue.
16717N/A* Fri Jun 26 2009 - chris.wang@sun.com
16717N/A- Change spec and patch owner to gheet
16191N/A* Tue Mar 17 2009 - dave.lin@sun.com
16191N/A- Bump to 2.16.0
16145N/A* Fri Mar 13 2009 - dave.lin@sun.com
16145N/A- Bump to 2.15.5
15844N/A* Mon Feb 16 2009 - dave.lin@sun.com
15844N/A- Bump to 2.15.3
15634N/A* Thu Jan 08 2009 - christian.kelly@sun.com
15634N/A- Bump to 2.15.0.
15362N/A* Mon Nov 17 2008 - chris.wang@sun.com
15362N/A- Add _RWSTD_NO_WSTR to CXXFLAG
14361N/A* Fri Sep 12 2008 - chris,wang@sun.com
14361N/A- Bump to 2.13.8
14361N/A- remove patch 02-widget, as the community has revert the code
13990N/A* Thu Aug 21 2008 - dave.lin@sun.com
13990N/A- Bump to 2.13.7
13829N/A* Fri Aug 08 2008 - damien.carbery@sun.com
13829N/A- Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder.
13780N/A* Tue Aug 05 2008 - damien.carbery@sun.com
13780N/A- Bump to 2.13.6.
13697N/A* Thu Jul 30 2008 - chris.wang@sun.com
13697N/A- Bump to 2.13.5, we added pangomm spec
13594N/A* Fri Jul 18 2008 - christian.kelly@sun.com
13594N/A- Add patch gtkmm-03-widget, fix build issue, widget.cc use of & operator.
13589N/A* Thu Jul 17 2008 - christian.kelly@sun.com
13584N/A- Bump to 2.13.4.
13584N/A- Remove patch 02-gtk-deprecated, fix upstream.
13533N/A* Thu Jul 10 2008 - damien.carbery@sun.com
13533N/A- Add patch 02-gtk-deprecated.
12746N/A* Wed Apr 03 2008 - damien.carbery@sun.com
12746N/A- Bump to 2.12.7.
12538N/A* Wed Mar 05 2008 - damien.carbery@sun.com
12538N/A- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now
12538N/A called 'gtkmm-demo'.
12451N/A* Mon Feb 25 2008 - damien.carbery@sun.com
12451N/A- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation.
12451N/A* Fri Feb 22 2008 - damien.carbery@sun.com
12444N/A- Add glibmm-02-m4-macro to fix #423990. Use glibmm patch as issue is identical.
12384N/A* Thu Feb 14 2008 - chris.wang@sun.com
12384N/A- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
12384N/A on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo
12384N/A* Thu Feb 14 2008 - chris.wang@sun.com
12384N/A- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they
12384N/A are delivered with tarball and libglibmm_generate_extra_defs.so is not
12384N/A delivered. We have raise this issue to module owner, and will remove the
12384N/A patch if the module owner agree to remove .def file from tarball
12384N/A* Tue Jan 29 2008 - chris.wang@sun.com
12366N/A- create