SUNWseahorse-plugins.spec revision 20140
10139N/A#
10139N/A# spec file for package SUNWseahorse-plugins
10139N/A#
10139N/A# includes module(s): seahorse-plugins
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
12173N/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 jefftsai
17185N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use sp = seahorse-plugins.spec
10139N/A
10139N/AName: SUNWseahorse-plugins
18688N/ALicense: GPL v2, FDL v1.1
18688N/AIPS_package_name: gnome/security/seahorse/seahorse-plugins
10139N/AMeta(info.classification): %{classification_prefix}:System/Security
19013N/ASummary: Plugins for gedit and nautilus
10139N/A
12695N/AVersion: %{sp.version}
19140N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
13685N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13685N/A
10139N/A%include default-depend.inc
19142N/A%include gnome-consolidation.inc
16401N/ASource1: %{name}-manpages-0.1.tar.gz
16401N/ARequires: SUNWseahorse
10139N/ARequires: %{name}-root
10139N/ABuildRequires: SUNWseahorse-devel
10139N/ABuildRequires: SUNWgnome-file-mgr-devel
10139N/ABuildRequires: SUNWgnome-text-editor-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
16401N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: gnome/security/seahorse/seahorse-plugins/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
19142N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
19126N/A
10139N/A%prep
19126N/Arm -rf %name-%version
10139N/Amkdir %name-%version
19142N/A%sp.prep -d %name-%version
10139N/A
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE1 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags -I%{_includedir}"
13685N/Aexport RPM_OPT_FLAGS="$CFLAGS"
13685N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/A%sp.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%sp.install -d %name-%version
12173N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
13685N/A%restart_fmri desktop-mime-cache gconf-cache
13685N/A
13685N/A%postun
13685N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%doc -d seahorse-plugins-%{sp.version} AUTHORS README
10139N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} ChangeLog
10139N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} COPYING COPYING-DOCS
14371N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} NEWS
14371N/A%dir %attr (0755, root, other) %{_datadir}/doc
14371N/A
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
13685N/A
13685N/A%dir %attr (0755, root, bin) %{_libdir}
13685N/A%{_libdir}/bonobo/servers
10139N/A%{_libdir}/gedit-2/plugins
10139N/A%{_libdir}/nautilus/extensions-2.0
10139N/A%{_libdir}/seahorse
10139N/A
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, bin) %{_datadir}/omf
10139N/A%{_datadir}/omf/seahorse-plugins/*-C.omf
10139N/A%{_datadir}/omf/seahorse-applet/*-C.omf
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0
10139N/A%dir %attr (0755, root, bin) %{_datadir}/gnome-2.0/ui
10139N/A%{_datadir}/gnome-2.0/ui/*.xml
10139N/A%dir %attr (0755, root, bin) %{_datadir}/seahorse-plugins
10139N/A%{_datadir}/seahorse-plugins/*
10139N/A%dir %attr (-, root, root) %{_datadir}/mime
10139N/A%dir %attr (-, root, root) %{_datadir}/mime/packages
10139N/A%{_datadir}/mime/packages/seahorse.xml
10139N/A
17286N/A%dir %attr (0755, root, other) %{_datadir}/icons
17286N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
16228N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
16228N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
14372N/A%{_datadir}/icons/hicolor/48x48/apps/*
14372N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable
13685N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps
13685N/A%{_datadir}/icons/hicolor/scalable/apps/*
12173N/A
12173N/A%dir %attr (0755, root, other) %{_datadir}/gnome
11311N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help
11311N/A%{_datadir}/gnome/help/*/C
10139N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
10139N/A%{_datadir}/pixmaps/*
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
16401N/A%dir %attr (0755, root, sys) %{_datadir}
19346N/A%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
* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
- Updated BuildRequires to fit SourceJuicer.
* Fri Oct 16 2009 - jeff.cai@sun.com
- Initial spec