12366N/A#
12366N/A# spec file for package SUNWglibmm
12366N/A#
12366N/A# includes module(s): glibmm
12366N/A#
16307N/A# Copyright 2009 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#
17185N/A%define owner gheet
12366N/A#
12366N/A%include Solaris.inc
12366N/A%use glibmm = glibmm.spec
12366N/A
12366N/AName: SUNWglibmm
18688N/AIPS_package_name: library/c++/glibmm
19102N/ALicense: LGPL v2.1
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
12366N/ASummary: glibmm - C++ Wrapper for the Glib2 Library
12515N/AVersion: %{glibmm.version}
13698N/ASource: %{name}-manpages-0.1.tar.gz
12366N/ASUNW_BaseDir: %{_basedir}
12666N/ASUNW_Copyright: %{name}.copyright
12366N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12366N/A
12366N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
20857N/ABuildRequires: SUNWglib2
16401N/ABuildRequires: SUNWglib2-devel
20857N/ABuildRequires: SUNWsigcpp
12366N/ABuildRequires: SUNWsigcpp-devel
17581N/ABuildRequires: SUNWmm-common
20857N/ABuildRequires: runtime/perl-512
16307N/ARequires: SUNWdesktop-cache
12366N/A
12366N/A%package devel
12366N/ASummary: %{summary} - development files
12366N/ASUNW_BaseDir: %{_basedir}
12366N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
12366N/ARequires: %name
16401N/ARequires: SUNWglib2-devel
12366N/A
12366N/A%prep
12366N/Arm -rf %name-%version
12366N/Amkdir %name-%version
12366N/A%glibmm.prep -d %name-%version
12366N/Acd %{_builddir}/%name-%version
13698N/Agzcat %SOURCE0 | tar xf -
12366N/A
12366N/A%build
12366N/A%if %cc_is_gcc
12366N/A%else
12366N/Aexport CXX="${CXX} -norunpath"
12366N/A%endif
12366N/Aexport CXXFLAGS="%cxx_optflags"
12366N/Aexport PERL_PATH=/usr/perl5/bin/perl
12366N/A%glibmm.build -d %name-%version
12366N/A
12366N/A%install
12366N/Arm -rf $RPM_BUILD_ROOT
12366N/A%glibmm.install -d %name-%version
12366N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
12366N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
12366N/A
13698N/Acd %{_builddir}/%name-%version/sun-manpages
13698N/Amake install DESTDIR=$RPM_BUILD_ROOT
13698N/A
12366N/A%clean
12366N/Arm -rf $RPM_BUILD_ROOT
12366N/A
12366N/A%post
16307N/A%restart_fmri desktop-mime-cache
12366N/A
12366N/A%postun
16307N/A%restart_fmri desktop-mime-cache
12366N/A
12366N/A%files
12366N/A%defattr (-, root, bin)
12366N/A%dir %attr (0755, root, bin) %{_libdir}
12366N/A%{_libdir}/lib*
13699N/A%dir %attr (0755, root, sys) %{_datadir}
14364N/A%doc -d glibmm-%{glibmm.version} README AUTHORS
14364N/A%doc(bzip2) -d glibmm-%{glibmm.version} COPYING NEWS ChangeLog
14364N/A%dir %attr (0755, root, other) %{_datadir}/doc
13698N/A%{_mandir}/*/*
17581N/A%dir %attr (0755, root, other) %{_datadir}/glibmm-2.4/*
17581N/A%dir %attr (0755, root, other) %{_datadir}/glibmm-2.4/*/*
17581N/A
12366N/A
12366N/A%files devel
12366N/A%defattr (-, root, bin)
12366N/A%dir %attr (0755, root, bin) %{_libdir}
12366N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
12366N/A%{_libdir}/pkgconfig/*
12366N/A%{_libdir}/glibmm*
12383N/A%{_libdir}/giomm*
12366N/A%dir %attr (0755, root, sys) %{_datadir}
12366N/A%dir %attr (0755, root, other) %{_datadir}/doc
14406N/A%{_datadir}/doc/glibmm*
12507N/A%dir %attr (0755, root, bin) %{_datadir}/devhelp
12507N/A%{_datadir}/devhelp/*
12366N/A%dir %attr (0755, root, other) %{_datadir}/aclocal
12366N/A%{_datadir}/aclocal/*
12366N/A%dir %attr (0755, root, bin) %{_includedir}
12366N/A%{_includedir}/*
12366N/A
12366N/A%changelog
16717N/A* Fri Jun 26 2009 - chris.wang@sun.com
16717N/A- Change owner to gheet
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16224N/A* Mon Mar 23 2009 - jeff.cai@sun.com
16224N/A- Since /usr/lib/glibmm-2.4/proc/beautify_docs.pl (SUNWglibmm) requires
16224N/A /usr/perl5/5.8.4/bin/perl5.8.4 which is found in SUNWperl584core, add
16224N/A the dependency.
15323N/A* Mon Nov 10 2008 - chris.wang@sun.com
15323N/A- Change the owner of the spec to chris wang
14406N/A* Thu Sep 18 2008 - dave.lin@sun.com
14406N/A- Fix the conflicts in /usr/share/doc between base & devel pkgs
13698N/A* Wed Jul 20 2008 - simon.zheng@sun.com
13698N/A- Add manpage.
12666N/A* Thu Mar 27 2008 - simon.zheng@sun.com
12666N/A- Add SUNWglibmm.copyright.
12515N/A* Sun Mar 02 2008 - simon.zheng@sun.com
12515N/A- Correct package version number.
12507N/A* Fri 29 2008 - simon.zheng@sun.com
12507N/A- Pack devhelp index file.
12383N/A* Wed Feb 15 2008 - simon.zheng@sun.com
12383N/A- Pack file /usr/lib/giomm-2.4/giommconfig.h.
12378N/A* Thu Feb 14 2008 - simon.zheng@sun.com
12378N/A- Remove useless m4, pm and extra_gen_defs files.
12366N/A* Mon Jau 28 2008 - simon.zheng@sun.com
12366N/A- Split into SUNWglibmm.spec and glibmm.spec.
12366N/A- Change download URL to GNOME official website.
12366N/A* Fri Aug 17 2007 - trisk@acm.jhu.edu
12366N/A- Bump to 2.12.10
12366N/A* Tue Apr 17 2007 - daymobrew@users.sourceforge.net
12366N/A- Bump to 2.12.8.
12366N/A* Fri Mar 16 2007 - laca@sun.com
12366N/A- bump to 2.12.7
12366N/A* Wed Jan 03 2007 - daymobrew@users.sourceforge.net
12366N/A- Bump to 2.12.4
12366N/A* Fri Jun 23 2006 - laca@sun.com
12366N/A- rename to SFEglibmm
12366N/A- update permissions
12366N/A- bump to 2.10.4
12366N/A* Fri May 12 2006 - damien.carbery@sun.com
12366N/A- Bump to 2.10.2.
12366N/A* Fri Mar 10 2006 - damien.carbery@sun.com
12366N/A- Bump to 2.10.0.
12366N/A* Thu Nov 17 2005 - laca@sun.com
12366N/A- create
16401N/A
19205N/A
19522N/A