SUNWevolution-webcal.spec revision 19096
15394N/A#
15394N/A# spec file for package SUNWevolution-webcal
15394N/A#
18022N/A# includes module(s): exchange-webcal
15394N/A#
15394N/A# Copyright 2009 Sun Microsystems, Inc.
15394N/A# This file and all modifications and additions to the pristine
17185N/A# package are under the same license as the package itself.
17093N/A#
15394N/A%define owner jedy
15394N/A#
18632N/A%include Solaris.inc
17176N/A%use webcal = evolution-webcal.spec
15394N/A
15394N/AName: SUNWevolution-webcal
15394N/ALicense: GPL v2
18513N/AIPS_package_name: mail/evolution/connector/evolution-webcal
15394N/AMeta(info.classification): %{classification_prefix}:Applications/Internet
15394N/ASummary: Webcal support for Evolution
18615N/AVersion: %{webcal.version}
15394N/ASUNW_Category: EVO25,%{default_category}
18379N/ASUNW_Copyright: %{name}.copyright
18565N/ASUNW_BaseDir: %{_basedir}
18271N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
15394N/ASource1: %{name}-manpages-0.1.tar.gz
17093N/A%include default-depend.inc
15394N/ARequires: SUNWgtk2
17093N/ARequires: SUNWevolution
17093N/ARequires: SUNWlibpopt
15394N/ARequires: SUNWevolution-data-server
15394N/ARequires: SUNWevolution-libs
15394N/ARequires: SUNWgnome-component
18007N/ARequires: SUNWgnome-config
17093N/ARequires: SUNWgnome-libs
15394N/ARequires: %{name}-root
15394N/ARequires: SUNWdesktop-cache
15394N/ABuildRequires: SUNWgtk2-devel
15394N/ABuildRequires: SUNWevolution-data-server-devel
15394N/ABuildRequires: SUNWevolution-libs-devel
18022N/ABuildRequires: SUNWgnome-component-devel
18022N/ABuildRequires: SUNWgnome-config-devel
18022N/ABuildRequires: SUNWgnome-libs-devel
18022N/ABuildRequires: SUNWlibpopt-devel
18022N/A
18022N/A%package root
18022N/ASummary: %{summary} - / filesystem
18022N/ASUNW_BaseDir: /
15394N/A%include default-depend.inc
15394N/A
15394N/A%if %build_l10n
15394N/A%package l10n
15394N/ASummary: %{summary} - l10n files
15394N/ASUNW_BaseDir: %{_basedir}
15394N/A%include default-depend.inc
15394N/ARequires: %{name}
18007N/A%endif
18007N/A
18007N/A%prep
15394N/Arm -rf %name-%version
15394N/Amkdir -p %name-%version
15394N/A%webcal.prep -d %name-%version
15394N/A
15394N/A# Expand manpages tarball
15394N/Acd %{_builddir}/%name-%version
15394N/Agzcat %SOURCE1 | tar xf -
15394N/A
15394N/A%build
15394N/Aexport LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir}"
15394N/Aexport CFLAGS="%optflags"
18513N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18513N/Aexport PKG_CONFIG_PATH="%_pkg_config_path"
18473N/A%webcal.build -d %name-%version
18473N/A
18379N/A%install
18379N/Arm -rf $RPM_BUILD_ROOT
18276N/A%webcal.install -d %name-%version
18276N/A
18276N/A%if %build_l10n
18271N/A%else
18271N/A# REMOVE l10n FILES
18271N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
18022N/Armdir $RPM_BUILD_ROOT%{_datadir}
18022N/A%endif
18022N/A
18007N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18007N/Acd %{_builddir}/%name-%version/sun-manpages
18007N/Amake install DESTDIR=$RPM_BUILD_ROOT
18007N/A
17577N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT}
17577N/A
17393N/A%clean
17393N/Arm -rf $RPM_BUILD_ROOT
17232N/A
17232N/A%post
17093N/A%restart_fmri gconf-cache
17232N/A
17232N/A%files
17232N/A%doc -d evolution-webcal-%{webcal.version} AUTHORS
17093N/A%doc(bzip2) -d evolution-webcal-%{webcal.version} ChangeLog
16716N/A%doc(bzip2) -d evolution-webcal-%{webcal.version} COPYING
17232N/A%defattr (-, root, bin)
16358N/A%dir %attr (0755, root, bin) %{_libexecdir}
17232N/A%{_libexecdir}/*
16325N/A%dir %attr (0755, root, sys) %{_datadir}
17232N/A%dir %attr (0755, root, other) %{_datadir}/doc
15956N/A%dir %attr(0755, root, bin) %{_mandir}
17232N/A%dir %attr(0755, root, bin) %{_mandir}/*
15600N/A%{_mandir}/*/*
15600N/A
15408N/A%files root
17232N/A%defattr (-, root, sys)
15408N/A%attr (0755, root, sys) %dir %{_sysconfdir}
15394N/A%{_sysconfdir}/gconf/schemas/evolution-webcal.schemas
15394N/A
15394N/A%if %build_l10n
15408N/A%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%endif
%changelog
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Fri Oct 10 2008 - jedy.wang@sun.com
- Ship manpage.
* Fri Sep 19 2008 - christian.kelly@sun.com
- Set permissions on /usr/share and /usr/share/doc.
* Tue Sep 16 2008 - jedy.wang@sun.com
- Add copyright files.
* Fri Aug 1 2008 - jedy.wang@sun.com
- Add the manpage.
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Sat Aug 12 2006 - laca@sun.com
- delete some unnecessary env variables
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Wed May 31 2006 - laca@sun.com
- use post/preun scripts to install schemas into the merged gconf files
* Thu May 11 2006 - halton.huo@sun.com
- Change %defattr to (-, root, other).
* Thu Apr 13 2006 - halton.huo@sun.com
- Add install schema script, fix bug #6408031.
* Thu Feb 23 2006 - damien.carbery@sun.com
- Use default pkg version to match other pkgs; add EVO25 to default category.
* Mon Feb 20 2006 - damien.carbery@sun.com
- Complete update of Build/Requires after running check-deps.pl script.
* Thu Feb 16 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Tue Sep 20 2005 - glynn.foster@sun.com
- Initial spec for SUNWevolution-webcal