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