SUNWseahorse-plugins.spec revision 20857
10139N/A#
10139N/A# spec file for package SUNWseahorse-plugins
10139N/A#
17185N/A# includes module(s): seahorse-plugins
13600N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
18644N/A# package are under the same license as the package itself.
18593N/A#
10139N/A%define owner jefftsai
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use sp = seahorse-plugins.spec
10139N/A
18930N/AName: SUNWseahorse-plugins
17928N/ALicense: GPL v2, FDL v1.1
17928N/AIPS_package_name: gnome/security/seahorse/seahorse-plugins
17928N/AMeta(info.classification): %{classification_prefix}:System/Security
17928N/ASummary: Plugins for gedit and nautilus
17928N/A
18930N/AVersion: %{sp.version}
10139N/ASUNW_BaseDir: %{_basedir}
18632N/ASUNW_Copyright: %{name}.copyright
18632N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
18593N/A%include desktop-incorporation.inc
17953N/ASource1: %{name}-manpages-0.1.tar.gz
10139N/ARequires: SUNWseahorse
10139N/ARequires: %{name}-root
18243N/ABuildRequires: SUNWseahorse-devel
18930N/ABuildRequires: SUNWgnome-file-mgr-devel
18243N/ABuildRequires: SUNWgnome-text-editor-devel
18243N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWfirefox-devel
16555N/A
16555N/A%package l10n
16555N/ASummary: %{summary} - l10n files
16555N/ARequires: %{name}
16633N/A
11999N/A%package root
16051N/ASummary: %{summary} - / filesystem
10354N/ASUNW_BaseDir: /
15191N/A%include default-depend.inc
17940N/A%include desktop-incorporation.inc
16051N/A
15191N/A%prep
16597N/Arm -rf %name-%version
16051N/Amkdir %name-%version
16051N/A%sp.prep -d %name-%version
15715N/A
18251N/Acd %{_builddir}/%name-%version
18251N/Agzcat %SOURCE1 | tar xf -
18251N/A
18251N/A%build
16845N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
17940N/Aexport CFLAGS="%optflags -I%{_includedir}"
16845N/Aexport RPM_OPT_FLAGS="$CFLAGS"
16845N/Aexport LDFLAGS="%_ldflags"
16053N/A
16053N/A%sp.build -d %name-%version
16053N/A
16053N/A%install
16053N/Arm -rf $RPM_BUILD_ROOT
16053N/A%sp.install -d %name-%version
16053N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
16053N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
17339N/A
17940N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
17339N/Acd %{_builddir}/%name-%version/sun-manpages
17339N/Amake install DESTDIR=$RPM_BUILD_ROOT
16053N/A
16053N/A%clean
16053N/Arm -rf $RPM_BUILD_ROOT
16555N/A
16555N/A%post
16555N/A%restart_fmri desktop-mime-cache gconf-cache
16555N/A
16555N/A%postun
16601N/A%restart_fmri desktop-mime-cache
16555N/A
16555N/A%files
17940N/A%doc -d seahorse-plugins-%{sp.version} AUTHORS README
16846N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} ChangeLog
16845N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} COPYING COPYING-DOCS
17214N/A%doc(bzip2) -d seahorse-plugins-%{sp.version} NEWS
17214N/A%dir %attr (0755, root, other) %{_datadir}/doc
17214N/A
18012N/A%defattr (-, root, bin)
18012N/A%dir %attr (0755, root, bin) %{_bindir}
18012N/A%{_bindir}/*
18012N/A
18012N/A%dir %attr (0755, root, bin) %{_libdir}
18012N/A%{_libdir}/bonobo/servers
18728N/A%{_libdir}/gedit-2/plugins
18728N/A%{_libdir}/nautilus/extensions-2.0
18728N/A%{_libdir}/seahorse
18930N/A
18930N/A%dir %attr (0755, root, sys) %{_datadir}
18930N/A%dir %attr (0755, root, bin) %{_datadir}/omf
18930N/A%{_datadir}/omf/seahorse-plugins/*-C.omf
18930N/A%{_datadir}/omf/seahorse-applet/*-C.omf
18930N/A%dir %attr (0755, root, other) %{_datadir}/applications
18930N/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
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
10139N/A%{_datadir}/icons/hicolor/48x48/apps/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable
10139N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps
10139N/A%{_datadir}/icons/hicolor/scalable/apps/*
10139N/A
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help
10139N/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%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
17953N/A%attr (-, root, other) %{_datadir}/locale
17953N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
17953N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf
17953N/A%dir %attr (0755, root, other) %{_datadir}/gnome
17953N/A%{_datadir}/gnome/help/*/[a-z]*
18930N/A
18930N/A%files root
10139N/A%defattr (-, root, sys)
18930N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/*.schemas
10139N/A
18251N/A%changelog
16849N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
16053N/A- Updated BuildRequires to fit SourceJuicer.
16053N/A* Fri Oct 16 2009 - jeff.cai@sun.com
17339N/A- Initial spec
16053N/A
16555N/A
18930N/A
18930N/A