14027N/A#
14027N/A# spec file for package SUNWgnome-nettool
14027N/A#
14027N/A# includes module(s): gnome-nettool
14027N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
14027N/A# This file and all modifications and additions to the pristine
14027N/A# package are under the same license as the package itself.
14027N/A#
17185N/A%define owner gheet
14027N/A#
14027N/A%include Solaris.inc
14027N/A%define makeinstall make install
14027N/A%use nettool = gnome-nettool.spec
14027N/A
14027N/AName: SUNWgnome-nettool
18688N/AIPS_package_name: desktop/network/gnome-nettool
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
14027N/ASummary: GNOME Network Tools
19102N/ALicense: GPLv2
14027N/AVersion: %{nettool.version}
14027N/ASource: %{name}-manpages-0.1.tar.gz
14027N/ASUNW_BaseDir: %{_basedir}
14027N/ASUNW_Copyright: %{name}.copyright
14027N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
14027N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWlibgtop
16401N/ARequires: SUNWlibglade
14027N/ARequires: SUNWgnome-libs
14027N/ARequires: SUNWgnome-config
16307N/ARequires: SUNWdesktop-cache
16401N/ABuildRequires: SUNWlibglade-devel
14027N/ABuildRequires: SUNWgnome-config-devel
18850N/ABuildRequires: SUNWgnome-doc-utils
14027N/A
14027N/A%package l10n
14027N/ASummary: %{summary} - l10n files
14027N/ARequires: %{name}
14027N/A
14027N/A%prep
14027N/Arm -rf %name-%version
14027N/Amkdir -p %name-%version
14027N/A%nettool.prep -d %name-%version
14027N/Acd %{_builddir}/%name-%version
14027N/Agzcat %SOURCE0 | tar xf -
14027N/A
14027N/A%build
14027N/Aexport LDFLAGS="%_ldflags"
14027N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
14027N/Aexport CFLAGS="%optflags"
14027N/Aexport RPM_OPT_FLAGS="$CFLAGS"
14027N/A%nettool.build -d %name-%version
14027N/A
14027N/A%install
14027N/Arm -rf $RPM_BUILD_ROOT
14027N/A%nettool.install -d %name-%version
14027N/Acd %{_builddir}/%name-%version/sun-manpages
14027N/Amake install DESTDIR=$RPM_BUILD_ROOT
14027N/A
14027N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT}
14027N/A
14027N/A%clean
14027N/Arm -rf $RPM_BUILD_ROOT
14027N/A
14027N/A%post
16307N/A%restart_fmri desktop-mime-cache
14027N/A
14027N/A%postun
16307N/A%restart_fmri desktop-mime-cache
14027N/A
14027N/A%files
14261N/A%doc -d gnome-nettool-%{nettool.version} README AUTHORS
14261N/A%doc(bzip2) -d gnome-nettool-%{nettool.version} COPYING NEWS ChangeLog
14261N/A%dir %attr (0755, root, other) %{_datadir}/doc
14027N/A%defattr (-, root, bin)
14027N/A%dir %attr (0755, root, bin) %{_bindir}
14027N/A%{_bindir}/*
14029N/A%dir %attr (-, root, sys) %{_datadir}
14029N/A%dir %attr (-, root, other) %{_datadir}/applications
14027N/A%{_datadir}/applications/*
14029N/A%dir %attr (-, root, other) %{_datadir}/icons
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
14029N/A%{_datadir}/icons/hicolor/16x16/apps/*.png
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
14029N/A%{_datadir}/icons/hicolor/22x22/apps/*.png
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
14029N/A%{_datadir}/icons/hicolor/24x24/apps/*.png
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
14029N/A%{_datadir}/icons/hicolor/32x32/apps/*.png
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
14029N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
14029N/A%{_datadir}/icons/hicolor/scalable/apps/*.svg
14027N/A%dir %attr (0755, root, other) %{_datadir}/%{nettool.name}
14029N/A%dir %attr (0755, root, other) %{_datadir}/%{nettool.name}/dialogs
14029N/A%{_datadir}/%{nettool.name}/dialogs/*
14029N/A%dir %attr (0755, root, other) %{_datadir}/%{nettool.name}/pixmaps
14029N/A%{_datadir}/%{nettool.name}/pixmaps/*
14029N/A%dir %attr (-, root, other) %{_datadir}/gnome
14029N/A%dir %attr (-, root, bin) %{_datadir}/gnome/help
14469N/A#%dir %attr (-, root, other) %{_datadir}/gnome/help/%{nettool.name}
14469N/A#%dir %attr (-, root, other) %{_datadir}/gnome/help/%{nettool.name}/C
14029N/A%{_datadir}/gnome/help/%{nettool.name}/C/*
14029N/A%dir %attr (-, root, bin) %{_datadir}/omf
14469N/A#%dir %attr (-, root, other) %{_datadir}/omf/%{nettool.name}
14234N/A%{_datadir}/omf/%{nettool.name}/*-C.omf
14027N/A%{_mandir}/*/*
14027N/A
14027N/A%files l10n
14027N/A%defattr (-, root, bin)
14027N/A%dir %attr (0755, root, sys) %{_datadir}
14027N/A%attr (-, root, other) %{_datadir}/locale
14068N/A%dir %attr (-, root, other) %{_datadir}/gnome
14068N/A%dir %attr (-, root, bin) %{_datadir}/gnome/help
14469N/A#%dir %attr (-, root, other) %{_datadir}/gnome/help/%{nettool.name}
14068N/A#%dir %attr (-, root, other) %{_datadir}/gnome/help/%{nettool.name}/C
14068N/A%{_datadir}/gnome/help/*/[a-z]*
14234N/A%dir %attr (-, root, bin) %{_datadir}/omf
14469N/A#%dir %attr (-, root, other) %{_datadir}/omf/%{nettool.name}
14234N/A%{_datadir}/omf/%{nettool.name}/*-[a-z]*.omf
14027N/A
14027N/A%changelog
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
14469N/A* Tue Sep 23 2008 - dave.lin@sun.com
14469N/A- Change attribute conflict with SUNWgnome-l10n*
14469N/A %{_datadir}/gnome/help/%{nettool.name}
14469N/A %{_datadir}/omf/%{nettool.name}
14261N/A* Wed Sep 10 2008 - ghee.teo@sun.com
14261N/A- add %doc for copyright files.
14234N/A* Wed Sep 10 2008 - takao.fujiwara@sun.com
14234N/A- Updated for l10n omf files.
14027N/A* Mon Aug 25 2008 - ghee.teo@sun.com
14027N/A- initial version created
16401N/A
19263N/A
19580N/A