SUNWseahorse-plugins.spec revision 18688
18861N/A#
18861N/A# spec file for package SUNWseahorse-plugins
18861N/A#
18861N/A# includes module(s): seahorse-plugins
18861N/A#
18861N/A# Copyright 2009 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner jefftsai
18861N/A#
18861N/A%include Solaris.inc
18861N/A
18861N/A%use sp = seahorse-plugins.spec
18861N/A
18861N/AName: SUNWseahorse-plugins
18861N/AIPS_package_name: gnome/security/seahorse/seahorse-plugins
18861N/AMeta(info.classification): %{classification_prefix}:System/Security
18861N/ASummary: Plugins for gedit and nautilus
18861N/A
18861N/AVersion: %{sp.version}
18861N/ASUNW_BaseDir: %{_basedir}
18861N/ASUNW_Copyright: %{name}.copyright
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/A
18861N/A%include default-depend.inc
18861N/ASource1: %{name}-manpages-0.1.tar.gz
18861N/ARequires: SUNWseahorse
19142N/ARequires: %{name}-root
18861N/ABuildRequires: SUNWseahorse-devel
18861N/A
18861N/A%if %build_l10n
18861N/A%package l10n
18861N/ASummary: %{summary} - l10n files
18861N/ASUNW_BaseDir: %{_basedir}
18861N/A%include default-depend.inc
18861N/ARequires: %{name}
18861N/A%endif
18861N/A
18861N/A%package root
18861N/ASummary: %{summary} - / filesystem
18861N/ASUNW_BaseDir: /
18885N/A%include default-depend.inc
18861N/A
18861N/A%prep
18861N/Arm -rf %name-%version
18861N/Amkdir %name-%version
18861N/A%sp.prep -d %name-%version
18885N/A
18885N/Acd %{_builddir}/%name-%version
18861N/Agzcat %SOURCE1 | tar xf -
18861N/A
18861N/A%build
18861N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
18861N/Aexport CFLAGS="%optflags -I%{_includedir}"
18861N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18861N/Aexport LDFLAGS="%_ldflags"
18861N/A
18861N/A%sp.build -d %name-%version
18861N/A
18861N/A%install
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A%sp.install -d %name-%version
18861N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
18861N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
18861N/A
18861N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18861N/Acd %{_builddir}/%name-%version/sun-manpages
18861N/Amake install DESTDIR=$RPM_BUILD_ROOT
18861N/A
18861N/A%if %build_l10n
18861N/A%else
18861N/A# REMOVE l10n FILES
18861N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
18861N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
18861N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
18861N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
18861N/A%endif
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%post
18861N/A%restart_fmri desktop-mime-cache gconf-cache
18861N/A
18861N/A%postun
18861N/A%restart_fmri desktop-mime-cache
18861N/A
18861N/A%files
19375N/A%doc -d seahorse-plugins-%{sp.version} AUTHORS README
%doc(bzip2) -d seahorse-plugins-%{sp.version} ChangeLog
%doc(bzip2) -d seahorse-plugins-%{sp.version} COPYING COPYING-DOCS
%doc(bzip2) -d seahorse-plugins-%{sp.version} NEWS
%dir %attr (0755, root, other) %{_datadir}/doc
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/omf
%{_datadir}/omf/seahorse-plugins/*-C.omf
%{_datadir}/omf/seahorse-applet/*-C.omf
%dir %attr (0755, root, other) %{_datadir}/applications
%{_datadir}/applications/*
%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0
%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0/ui
%{_datadir}/gnome-2.0/ui/*.xml
%dir %attr (0755, root, bin) %{_datadir}/seahorse-plugins
%{_datadir}/seahorse-plugins/*
%dir %attr (-, root, root) %{_datadir}/mime
%dir %attr (-, root, root) %{_datadir}/mime/packages
%{_datadir}/mime/packages/seahorse.xml
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
%{_datadir}/icons/hicolor/48x48/apps/*
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*
%dir %attr (0755, root, other) %{_datadir}/gnome
%dir %attr (0755, root, bin) %{_datadir}/gnome/help
%{_datadir}/gnome/help/*/C
%dir %attr (0755, root, other) %{_datadir}/pixmaps
%{_datadir}/pixmaps/*
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/*
%{_mandir}/*/*
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%{_datadir}/omf/*/*-[a-z][a-z].omf
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/help/*/[a-z]*
%endif
%files root
%defattr (-, root, sys)
%attr (0755, root, sys) %dir %{_sysconfdir}
%{_sysconfdir}/gconf/schemas/*.schemas
%changelog
* Fri Oct 16 2009 - jeff.cai@sun.com
- Initial spec