gtkmm.spec revision 13780
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#
12366N/A# Owner: bewitche
12366N/A#
12366N/A
12366N/AName: gtkmm
12366N/ALicense: LGPL
12366N/AGroup: System/Libraries
13780N/AVersion: 2.13.6
12366N/ARelease: 1
12366N/ADistribution: Java Desktop System
12366N/AVendor: Sun Microsystems, Inc.
12366N/ASummary: gtkmm - C++ Interfaces for GTK+ and GNOME
13400N/ASource: http://download.gnome.org/sources/gtkmm/2.13/gtkmm-%{version}.tar.bz2
12384N/A
12384N/A#date:2008-02-14 owner:bewitche type:feature
12384N/APatch1: gtkmm-01-ignore-defs.diff
12444N/A# date:2008-02-18 owner:dcarbery type:bug bugzilla:423990
12451N/APatch2: glibmm-02-m4-macro.diff
13594N/APatch3: gtkmm-03-widget.diff
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
12384N/A%patch2 -p1
13594N/A%patch3 -p1
12366N/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
12366N/Aexport CXXFLAGS="%cxx_optflags -D_XPG4_2 -D__EXTENSIONS__"
12366N/A
12384N/A# background.jpg is required by gtkmm-demo, but not in the right directory
12384N/A# we simply copy the file into the proper directory
12384N/Acp ./demos/background.jpg ./demos/gtk-demo
12384N/A
13400N/A# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
13400N/A# gtkmm: 1.10.1)
13400N/Aaclocal -Iscripts
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
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