gtkmm.spec revision 16801
10139N/A#
10139N/A# spec file for package gtkmm
10139N/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# Owner: gheet
10139N/A#
10139N/A
10139N/AName: gtkmm
10139N/ALicense: LGPL
10139N/AGroup: System/Libraries
11262N/AVersion: 2.17.2
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: gtkmm - C++ Interfaces for GTK+ and GNOME
10285N/ASource: http://download.gnome.org/sources/gtkmm/2.16/gtkmm-%{version}.tar.bz2
10142N/A
10139N/A#date:2008-02-14 owner:gheet type:feature
10139N/APatch1: gtkmm-01-ignore-defs.diff
10139N/A
10139N/A#date:2009-07-02 owner:chrisk type:bug
10139N/APatch2: gtkmm-02-const-char.diff
10139N/A
10139N/AURL: http://www.gtkmm.org/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%prep
10139N/A%setup -q -n gtkmm-%version
10139N/A%patch1 -p1
10139N/A%patch2 -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# background.jpg is required by gtkmm-demo, but not in the right directory
10139N/A# we simply copy the file into the proper directory
10139N/Acp ./demos/background.jpg ./demos/gtk-demo
10139N/A
10142N/A# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
10139N/A# gtkmm: 1.10.1)
10139N/Aaclocal -Iscripts
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* Fri Jul 17 2009 - christian.kelly@sun.com
10139N/A- Bump to 2.17.2.
10139N/A* Thu Jul 02 2009 - christian.kelly@sun.com
10139N/A- Add gtkmm-02-const-char to fix build issue.
10139N/A* Fri Jun 26 2009 - chris.wang@sun.com
10139N/A- Change spec and patch owner to gheet
10139N/A* Tue Mar 17 2009 - dave.lin@sun.com
10139N/A- Bump to 2.16.0
10139N/A* Fri Mar 13 2009 - dave.lin@sun.com
10139N/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.
10139N/A- Remove patch 02-gtk-deprecated, fix upstream.
10139N/A* Thu Jul 10 2008 - damien.carbery@sun.com
10139N/A- Add patch 02-gtk-deprecated.
10139N/A* Wed Apr 03 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.12.7.
11262N/A* Wed Mar 05 2008 - damien.carbery@sun.com
11262N/A- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now
11262N/A called 'gtkmm-demo'.
10285N/A* Mon Feb 25 2008 - damien.carbery@sun.com
10285N/A- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation.
10285N/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
10139N/A- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
10139N/A on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo
10139N/A* Thu Feb 14 2008 - chris.wang@sun.com
10139N/A- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they
10139N/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