15859N/A#
15859N/A# spec file for package SUNWdrivel
15859N/A#
15859N/A# includes module(s): drivel
15859N/A#
15859N/A# Copyright 2009 Sun Microsystems, Inc.
15859N/A# This file and all modifications and additions to the pristine
15859N/A# package are under the same license as the package itself.
15859N/A#
18886N/A%define owner ydzhang
15859N/A#
15859N/A
15859N/A%include Solaris.inc
15859N/A
15859N/A%use drivel = drivel.spec
15859N/A
15859N/AName: SUNWdrivel
18688N/AIPS_package_name: editor/blog/drivel
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
15859N/ASummary: Drivel - Blog Editor
15859N/AVersion: %{drivel.version}
15859N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{drivel.license}
15859N/ASUNW_BaseDir: %{_basedir}
15859N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15859N/ASource1: %{name}-manpages-0.1.tar.gz
15859N/A
16100N/A# these packages are only available on i386/x64
16100N/A%ifnarch sparc
16100N/A
15859N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWlibgnomecanvas
15859N/ARequires: SUNWgnome-libs
15859N/ARequires: SUNWgnome-gtksourceview
15859N/ARequires: SUNWgtkspell
15859N/ARequires: SUNWgnu-idn
15859N/ARequires: SUNWcurl
16307N/ARequires: %{name}-root
16307N/ARequires: SUNWdesktop-cache
19860N/ARequires: SUNWlibsoup
16401N/ABuildRequires: SUNWlibgnomecanvas-devel
15859N/ABuildRequires: SUNWgnome-libs-devel
15859N/ABuildRequires: SUNWgnome-gtksourceview-devel
15859N/ABuildRequires: SUNWgtkspell-devel
18850N/ABuildRequires: SUNWgnome-doc-utils
15859N/A
15859N/A%package l10n
15859N/ASummary: %{summary} - l10n files
15859N/ARequires: %{name}
15859N/A
15859N/A%package root
15859N/ASummary: %{summary} - / filesystem
15859N/ASUNW_BaseDir: /
15859N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
15859N/A
15859N/A%prep
15859N/Arm -rf %name-%version
15859N/Amkdir -p %name-%version
15859N/A%drivel.prep -d %name-%version
15859N/Acd %{_builddir}/%name-%version
15859N/Agzcat %SOURCE1 | tar xf -
15859N/A
15859N/A%build
17052N/Aexport CFLAGS="%optflags"
17052N/Aexport LDFLAGS="%{_ldflags}"
15859N/A%drivel.build -d %name-%version
15859N/A
15859N/A%install
15859N/Arm -rf $RPM_BUILD_ROOT
15859N/A%drivel.install -d %name-%version
15859N/A
15859N/A# install man page
15859N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
15859N/Acd %{_builddir}/%name-%version/sun-manpages
15859N/Amake install DESTDIR=$RPM_BUILD_ROOT
15859N/A
15859N/A%clean
15859N/Arm -rf $RPM_BUILD_ROOT
15859N/A
15859N/A%post
16307N/A%restart_fmri desktop-mime-cache icon-cache gconf-cache
15859N/A
15859N/A%postun
16307N/A%restart_fmri desktop-mime-cache
15859N/A
15859N/A%files
15859N/A%doc -d drivel-%{drivel.version} README AUTHORS
15859N/A%doc(bzip2) -d drivel-%{drivel.version} COPYING ChangeLog po/ChangeLog NEWS
15859N/A%dir %attr (0755, root, other) %{_datadir}/doc
15859N/A%defattr (-, root, bin)
15859N/A%dir %attr (0755, root, bin) %{_bindir}
15859N/A%{_bindir}/drivel
15859N/A%dir %attr (0755, root, sys) %{_datadir}
15859N/A%{_datadir}/drivel
15859N/A%dir %attr (0755, root, other) %{_datadir}/applications
15859N/A%{_datadir}/applications/*
15859N/A%dir %attr (0755, root, bin) %{_datadir}/omf
19067N/A%dir %attr (0755, root, bin) %{_datadir}/omf/drivel
15859N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
15859N/A%{_datadir}/pixmaps/*.png
15859N/A%dir %attr (0755, root, other) %{_datadir}/mime-info
15859N/A%{_datadir}/mime-info/*
15859N/A%dir %attr (0755, root, root) %{_datadir}/mime
15859N/A%dir %attr (0755, root, root) %{_datadir}/mime/packages
15859N/A%{_datadir}/mime/packages/*
15859N/A%dir %attr (0755, root, other) %{_datadir}/application-registry
15859N/A%{_datadir}/application-registry/*
15859N/A%dir %attr (0755, root, other) %{_datadir}/icons
15859N/A%dir %attr (0755, root, other) %{_datadir}/icons/gnome
15859N/A%dir %attr (0755, root, other) %{_datadir}/icons/gnome/*
15859N/A%{_datadir}/icons/gnome/*/mimetypes/*
15859N/A%dir %attr (0755, root, other) %{_datadir}/gnome
15859N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help
15859N/A%dir %attr (0755, root, bin) %{_datadir}/gnome/help/drivel
19067N/A%{_datadir}/gnome/help/drivel/*/drivel.xml
19067N/A%{_datadir}/gnome/help/drivel/C/legal.xml
19067N/A%{_datadir}/omf/drivel/drivel-C.omf
15859N/A%dir %attr(0755, root, bin) %{_mandir}
15859N/A%dir %attr(0755, root, bin) %{_mandir}/*
15859N/A%{_mandir}/*/*
15859N/A
15859N/A%files l10n
15859N/A%defattr (-, root, bin)
15859N/A%dir %attr (0755, root, sys) %{_datadir}
18896N/A%dir %attr (0755, root, other) %{_datadir}/gnome
19067N/A%dir %attr (0755, root, bin) %{_datadir}/omf/drivel
19067N/A%{_datadir}/omf/drivel/drivel-[a-z][a-z].omf
15859N/A%attr (-, root, other) %{_datadir}/locale
15859N/A
15859N/A%files root
15859N/A%defattr (-, root, sys)
15859N/A%attr (0755, root, sys) %dir %{_sysconfdir}
15859N/A%{_sysconfdir}/gconf/schemas/drivel.schemas
15859N/A
16100N/A#endif for "ifnarch sparc"
16100N/A%endif
16100N/A
15859N/A%changelog
19067N/A* Mon Aug 02 2010 - christian.kelly@oracle.com
19067N/A- Fix %files.
19067N/A* Mon Jul 05 2010 - christian.kelly@oracle.com
19067N/A- Fix %files.
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16100N/A* Mon Mar 9 2009 - david.zhang@sun.com
16100N/A- Add ifnarch sparc so that it only build at i386/x64 platform
15859N/A* Wed Feb 11 2009 - david.zhang@sun.com
15859N/A- Initial spec
16401N/A
19186N/A
19503N/A