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