SUNWseahorse-plugins.spec revision 19093
12248N/A#
12251N/A# spec file for package SUNWseahorse-plugins
12248N/A#
12248N/A# includes module(s): seahorse-plugins
12248N/A#
12248N/A# Copyright 2009 Sun Microsystems, Inc.
12248N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
12248N/A#
17178N/A%define owner jefftsai
17178N/A#
17178N/A%include Solaris.inc
12248N/A
12248N/A%use sp = seahorse-plugins.spec
12248N/A
12248N/AName: SUNWseahorse-plugins
17570N/ALicense: GPL v2, FDL v1.1
12248N/AIPS_package_name: gnome/security/seahorse/seahorse-plugins
12248N/AMeta(info.classification): %{classification_prefix}:System/Security
12248N/ASummary: Plugins for gedit and nautilus
12248N/A
17394N/AVersion: %{sp.version}
12773N/ASUNW_BaseDir: %{_basedir}
12773N/ASUNW_Copyright: %{name}.copyright
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12248N/A
12248N/A%include default-depend.inc
12248N/ASource1: %{name}-manpages-0.1.tar.gz
12248N/ARequires: SUNWseahorse
15622N/ARequires: %{name}-root
15338N/ABuildRequires: SUNWseahorse-devel
12248N/ABuildRequires: SUNWgnome-doc-utils
12248N/A
12248N/A%if %build_l10n
12248N/A%package l10n
12248N/ASummary: %{summary} - l10n files
12248N/ASUNW_BaseDir: %{_basedir}
12254N/A%include default-depend.inc
12361N/ARequires: %{name}
14531N/A%endif
14429N/A
14472N/A%package root
14472N/ASummary: %{summary} - / filesystem
16384N/ASUNW_BaseDir: /
16372N/A%include default-depend.inc
16384N/A
16384N/A%prep
16972N/Arm -rf %name-%version
16972N/Amkdir %name-%version
12248N/A%sp.prep -d %name-%version
12248N/A
12248N/Acd %{_builddir}/%name-%version
12248N/Agzcat %SOURCE1 | tar xf -
12248N/A
12248N/A%build
12248N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
12248N/Aexport CFLAGS="%optflags -I%{_includedir}"
12248N/Aexport RPM_OPT_FLAGS="$CFLAGS"
12248N/Aexport LDFLAGS="%_ldflags"
12248N/A
12248N/A%sp.build -d %name-%version
12248N/A
12248N/A%install
12248N/Arm -rf $RPM_BUILD_ROOT
12248N/A%sp.install -d %name-%version
12248N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
12248N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
12248N/A
12248N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
12248N/Acd %{_builddir}/%name-%version/sun-manpages
12248N/Amake install DESTDIR=$RPM_BUILD_ROOT
12248N/A
12248N/A%if %build_l10n
12248N/A%else
12248N/A# REMOVE l10n FILES
12248N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
12248N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
12248N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
12248N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
12248N/A%endif
12248N/A
12248N/A%clean
12248N/Arm -rf $RPM_BUILD_ROOT
12248N/A
12248N/A%post
12248N/A%restart_fmri desktop-mime-cache gconf-cache
12248N/A
12248N/A%postun
12248N/A%restart_fmri desktop-mime-cache
12248N/A
12248N/A%files
12248N/A%doc -d seahorse-plugins-%{sp.version} AUTHORS README
12248N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} ChangeLog
12248N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} COPYING COPYING-DOCS
12248N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} NEWS
12248N/A%dir %attr (0755, root, other) %{_datadir}/doc
12248N/A
12248N/A%defattr (-, root, bin)
12248N/A%dir %attr (0755, root, bin) %{_bindir}
12248N/A%{_bindir}/*
12248N/A
12248N/A%dir %attr (0755, root, bin) %{_libdir}
12248N/A%{_libdir}/*
12248N/A
12248N/A%dir %attr (0755, root, sys) %{_datadir}
12248N/A%dir %attr (0755, root, bin) %{_datadir}/omf
12248N/A%{_datadir}/omf/seahorse-plugins/*-C.omf
12248N/A%{_datadir}/omf/seahorse-applet/*-C.omf
12248N/A%dir %attr (0755, root, other) %{_datadir}/applications
12248N/A%{_datadir}/applications/*
13941N/A%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0
12293N/A%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0/ui
12397N/A%{_datadir}/gnome-2.0/ui/*.xml
14472N/A%dir %attr (0755, root, bin) %{_datadir}/seahorse-plugins
16270N/A%{_datadir}/seahorse-plugins/*
16384N/A%dir %attr (-, root, root) %{_datadir}/mime
16972N/A%dir %attr (-, root, root) %{_datadir}/mime/packages
12293N/A%{_datadir}/mime/packages/seahorse.xml
12263N/A
12263N/A%dir %attr (0755, root, other) %{_datadir}/icons
12330N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
12248N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
12248N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
12248N/A%{_datadir}/icons/hicolor/48x48/apps/*
12248N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable
12248N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps
12248N/A%{_datadir}/icons/hicolor/scalable/apps/*
12248N/A
12248N/A%dir %attr (0755, root, other) %{_datadir}/gnome
12248N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help
12248N/A%{_datadir}/gnome/help/*/C
12248N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
12248N/A%{_datadir}/pixmaps/*
12248N/A%dir %attr(0755, root, bin) %{_mandir}
12248N/A%dir %attr(0755, root, bin) %{_mandir}/*
12248N/A%{_mandir}/*/*
12248N/A
12248N/A%if %build_l10n
12248N/A%files l10n
12248N/A%defattr (-, root, bin)
12248N/A%dir %attr (0755, root, sys) %{_datadir}
12248N/A%attr (-, root, other) %{_datadir}/locale
12773N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
12773N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
12773N/A%dir %attr (0755, root, other) %{_datadir}/gnome
12773N/A%{_datadir}/gnome/help/*/[a-z]*
12773N/A%endif
12248N/A
12248N/A%files root
12248N/A%defattr (-, root, sys)
12248N/A%attr (0755, root, sys) %dir %{_sysconfdir}
12248N/A%{_sysconfdir}/gconf/schemas/*.schemas
12248N/A
12248N/A%changelog
12248N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
12248N/A- Updated BuildRequires to fit SourceJuicer.
12248N/A* Fri Oct 16 2009 - jeff.cai@sun.com
12248N/A- Initial spec
12248N/A
12248N/A