gtkmm.spec revision 13829
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
12366N/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
12366N/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
12384N/APatch2: gtkmm-02-widget.diff
12384N/AURL: http://www.gtkmm.org/
12384N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12384N/A
12444N/A%prep
12444N/A%setup -q -n gtkmm-%version
12366N/A%patch1 -p1
12366N/A%patch2 -p1
12366N/A
12366N/A%build
12366N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12384N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12384N/A CPUS=1
12384N/Afi
12444N/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
12366N/A# background.jpg is required by gtkmm-demo, but not in the right directory
12366N/A# we simply copy the file into the proper directory
12366N/Acp ./demos/background.jpg ./demos/gtk-demo
12366N/A
12366N/A# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
12366N/A# gtkmm: 1.10.1)
12366N/Aaclocal -Iscripts
12384N/Aautomake --add-missing
12384N/Aautoconf
12384N/A./configure --prefix=%{_prefix} --mandir=%{_mandir} \
12384N/A --libdir=%{_libdir} \
12384N/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
12366N/A%defattr (-, root, bin)
12366N/A%dir %attr (0755, root, bin) %{_libdir}
12366N/A%{_libdir}/lib*
12366N/A
12384N/A
12384N/A%changelog
12384N/A* Fri Aug 08 2008 - damien.carbery@sun.com
12384N/A- Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder.
12384N/A* Tue Aug 05 2008 - damien.carbery@sun.com
12366N/A- Bump to 2.13.6.
12366N/A* Thu Jul 30 2008 - chris.wang@sun.com
12444N/A- Bump to 2.13.5, we added pangomm spec
12444N/A* Fri Jul 18 2008 - christian.kelly@sun.com
12384N/A- Add patch gtkmm-03-widget, fix build issue, widget.cc use of & operator.
12384N/A* Thu Jul 17 2008 - christian.kelly@sun.com
12384N/A- Bump to 2.13.4.
12384N/A- Remove patch 02-gtk-deprecated, fix upstream.
12384N/A* Thu Jul 10 2008 - damien.carbery@sun.com
12384N/A- Add patch 02-gtk-deprecated.
12384N/A* Wed Apr 03 2008 - damien.carbery@sun.com
12384N/A- Bump to 2.12.7.
12384N/A* Wed Mar 05 2008 - damien.carbery@sun.com
12366N/A- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now
called 'gtkmm-demo'.
* Mon Feb 25 2008 - damien.carbery@sun.com
- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation.
* Fri Feb 22 2008 - damien.carbery@sun.com
- Add glibmm-02-m4-macro to fix #423990. Use glibmm patch as issue is identical.
* Thu Feb 14 2008 - chris.wang@sun.com
- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo
* Thu Feb 14 2008 - chris.wang@sun.com
- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they
are delivered with tarball and libglibmm_generate_extra_defs.so is not
delivered. We have raise this issue to module owner, and will remove the
patch if the module owner agree to remove .def file from tarball
* Tue Jan 29 2008 - chris.wang@sun.com
- create