SUNWcontact-lookup-applet.spec revision 19171
10139N/A#
10139N/A# spec file for package SUNWcontact-lookup-applet
10139N/A#
10139N/A# includes module(s): contact-lookup-applet
10139N/A#
10139N/A%define owner jedy
10139N/A#
10139N/A# Copyright 2008 Sun Microsystems, Inc.
10139N/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
10295N/A%include Solaris.inc
10280N/A
10139N/A%define OSR 9206:0.x
10139N/A
10139N/AName: SUNWcontact-lookup-applet
10139N/AIPS_package_name: gnome/applet/contact-lookup-applet
10280N/AMeta(info.classification): %{classification_prefix}:Applications/Panels and Applets
10139N/ASummary: Contact lookup applet
10139N/AVersion: 0.17
10139N/AURL: http://burtonini.com
10139N/ALicense: GPL v2
10139N/ASource: http://burtonini.com/computing/contact-lookup-applet-%{version}.tar.gz
10139N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/A# date:2008-06-25 owner:jedy type:branding
10139N/APatch1: contact-lookup-applet-01-suncc.diff
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWevolution-data-server
10139N/ARequires: SUNWgnome-panel
10139N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWevolution-data-server-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-common-devel
10139N/ABuildRequires: SUNWgnome-keyring
10139N/ABuildRequires: SUNWlibgnome-keyring
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: gnome/applet/contact-lookup-applet/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_dto_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/A%setup -q -n contact-lookup-applet-%version
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/ACPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/Alibtoolize --copy --force
10139N/Aintltoolize --force --copy --automake
10139N/A
10139N/A%if %build_l10n
10139N/Ash %SOURCE1 --enable-copyright
10139N/A%endif
10139N/A
10139N/Aaclocal
10139N/Aautomake -a -f
10139N/Aautoconf -f
10139N/A
10139N/A./configure --prefix=%{_prefix} \
10139N/A --libexecdir=%{_libexecdir}
10139N/A
10139N/Amake -j$CPUS
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
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%files
10139N/A%doc AUTHORS
10139N/A%doc(bzip2) ChangeLog COPYING
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755,root,bin) %{_libdir}
10139N/A%{_libdir}/*
10139N/A%dir %attr(0755, root, sys) %{_datadir}
10139N/A%{_datadir}/lookup-applet
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10280N/A%attr (-, root, other) %{_datadir}/locale
10295N/A%endif
10295N/A
10295N/A%changelog
10280N/A* Wed Oct 27 2010 - brian.cameron@oracle.com
10280N/A- Bump to 0.17.
10139N/A* Wed Nov 05 2008 - Jedy Wang (jedy.wang@sun.com)
10280N/A- Update license.
10139N/A* Tue Sep 16 2008 - Jedy Wang (jedy.wang@sun.com)
10139N/A- Add copyright files.
10139N/A* Mon Jun 30 2008 - Jedy Wang (jedy.wang@sun.com)
10139N/A- Updated patch comment
10139N/A* Wed Jun 25 2008 - Jedy Wang (jedy.wang@sun.com)
10139N/A- Moved from spec-files-extra
10139N/A* Fri May 30 2008 - Jedy Wang (jedy.wang@sun.com)
10139N/A- Initial spec
10139N/A
10139N/A
10139N/A