gtkmm.spec revision 16717
20120N/A#
20120N/A# spec file for package gtkmm
20120N/A#
20120N/A# Copyright 2008 Sun Microsystems, Inc.
20120N/A# This file and all modifications and additions to the pristine
20120N/A# package are under the same license as the package itself.
20120N/A#
20120N/A# Owner: gheet
20120N/A#
20120N/A
20120N/AName: gtkmm
20120N/ALicense: LGPL
20120N/AGroup: System/Libraries
20120N/AVersion: 2.16.0
20120N/ARelease: 1
20120N/ADistribution: Java Desktop System
20120N/AVendor: Sun Microsystems, Inc.
20120N/ASummary: gtkmm - C++ Interfaces for GTK+ and GNOME
20120N/ASource: http://download.gnome.org/sources/gtkmm/2.16/gtkmm-%{version}.tar.bz2
20120N/A
20120N/A#date:2008-02-14 owner:gheet type:feature
20120N/APatch1: gtkmm-01-ignore-defs.diff
20120N/A
20120N/AURL: http://www.gtkmm.org/
20120N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20120N/A
20120N/A%prep
20120N/A%setup -q -n gtkmm-%version
20120N/A%patch1 -p1
20120N/A
20120N/A
20120N/A%build
20120N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20120N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
20120N/A CPUS=1
20120N/Afi
20120N/A%if %cc_is_gcc
20120N/A%else
20120N/Aexport CXX="${CXX} -norunpath"
20120N/A%endif
20120N/Aexport CXXFLAGS="%cxx_optflags -D_XPG4_2 -D_RWSTD_NO_WSTR -D__EXTENSIONS__"
20120N/A
20120N/A# background.jpg is required by gtkmm-demo, but not in the right directory
20120N/A# we simply copy the file into the proper directory
20120N/Acp ./demos/background.jpg ./demos/gtk-demo
20120N/A
20120N/A# Recreate aclocal.m4 because of automake version mismatch (CBE: 1.10,
20120N/A# gtkmm: 1.10.1)
20120N/Aaclocal -Iscripts
20120N/Aautomake --add-missing
20120N/Aautoconf
20120N/A./configure --prefix=%{_prefix} --mandir=%{_mandir} \
20120N/A --libdir=%{_libdir} \
20120N/A --libexecdir=%{_libexecdir} \
20120N/A --sysconfdir=%{_sysconfdir}
20120N/Amake -j$CPUS
20120N/A
20120N/A%install
20120N/Amake install DESTDIR=$RPM_BUILD_ROOT
20120N/A
20120N/Arm -f $RPM_BUILD_ROOT%{_libdir}/lib*a
20120N/A
20120N/A%clean
20120N/Arm -rf $RPM_BUILD_ROOT
20120N/A
20120N/A%files
20120N/A%defattr (-, root, bin)
20120N/A%dir %attr (0755, root, bin) %{_libdir}
20120N/A%{_libdir}/lib*
20120N/A
20120N/A
20120N/A%changelog
20120N/A* Fri Jun 26 2009 - chris.wang@sun.com
20120N/A- Change spec and patch owner to gheet
20120N/A* Tue Mar 17 2009 - dave.lin@sun.com
20120N/A- Bump to 2.16.0
20120N/A* Fri Mar 13 2009 - dave.lin@sun.com
20120N/A- Bump to 2.15.5
20120N/A* Mon Feb 16 2009 - dave.lin@sun.com
20120N/A- Bump to 2.15.3
20120N/A* Thu Jan 08 2009 - christian.kelly@sun.com
20120N/A- Bump to 2.15.0.
20120N/A* Mon Nov 17 2008 - chris.wang@sun.com
20120N/A- Add _RWSTD_NO_WSTR to CXXFLAG
20120N/A* Fri Sep 12 2008 - chris,wang@sun.com
20120N/A- Bump to 2.13.8
20120N/A- remove patch 02-widget, as the community has revert the code
20120N/A* Thu Aug 21 2008 - dave.lin@sun.com
20120N/A- Bump to 2.13.7
20120N/A* Fri Aug 08 2008 - damien.carbery@sun.com
20120N/A- Remove reference to upstream patch glibmm-02-m4-macro.diff. Rename remainder.
20239N/A* Tue Aug 05 2008 - damien.carbery@sun.com
20239N/A- Bump to 2.13.6.
20120N/A* Thu Jul 30 2008 - chris.wang@sun.com
20120N/A- Bump to 2.13.5, we added pangomm spec
20120N/A* Fri Jul 18 2008 - christian.kelly@sun.com
20120N/A- Add patch gtkmm-03-widget, fix build issue, widget.cc use of & operator.
20120N/A* Thu Jul 17 2008 - christian.kelly@sun.com
20120N/A- Bump to 2.13.4.
20120N/A- Remove patch 02-gtk-deprecated, fix upstream.
20120N/A* Thu Jul 10 2008 - damien.carbery@sun.com
20120N/A- Add patch 02-gtk-deprecated.
20120N/A* Wed Apr 03 2008 - damien.carbery@sun.com
20120N/A- Bump to 2.12.7.
20120N/A* Wed Mar 05 2008 - damien.carbery@sun.com
20120N/A- Don't need to rename 'demo' to 'gtkmm-demo' as the installed file is now
20120N/A called 'gtkmm-demo'.
20120N/A* Mon Feb 25 2008 - damien.carbery@sun.com
20120N/A- Bump to 2.12.5. Remove upstream patches, 02-demo and 03-demo-installation.
20120N/A* Fri Feb 22 2008 - damien.carbery@sun.com
20120N/A- Add glibmm-02-m4-macro to fix #423990. Use glibmm patch as issue is identical.
20120N/A* Thu Feb 14 2008 - chris.wang@sun.com
20120N/A- Add patches gtkmm-02-demo, gtkmm-03-demo-installation to deliver gtkmm-demo
20120N/A on /usr/demo/jds/bin and resource files on /usr/share/gtkmm-2.4/demo
20120N/A* Thu Feb 14 2008 - chris.wang@sun.com
20120N/A- Add patch gtkmm-01-ignore-defs to remove the build of defs files since they
20120N/A are delivered with tarball and libglibmm_generate_extra_defs.so is not
20120N/A delivered. We have raise this issue to module owner, and will remove the
20120N/A patch if the module owner agree to remove .def file from tarball
20120N/A* Tue Jan 29 2008 - chris.wang@sun.com
20120N/A- create
20120N/A