12606N/A#
12606N/A# spec file for package SUNWtgnome-tstripe
18951N/A#Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
12606N/A#
12606N/A# This file and all modifications and additions to the pristine
12606N/A# package are under the same license as the package itself.
12606N/A#
17185N/A%define owner stephen
12606N/A
18644N/A%define OSR 6160:n/a
17182N/A
12606N/A%include Solaris.inc
12606N/A
12747N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
12747N/A# Sun Download Center. Contact GNOME RE for assistance.
18951N/A%define tstripe_version 0.6.8
12606N/A
12606N/AName: SUNWtgnome-tstripe
19939N/AIPS_package_name: gnome/trusted/trusted-stripe
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Trusted Extensions
12606N/ASummary: GNOME Trusted Stripe
18970N/ALicense: cr_Oracle
19013N/AVersion: %{tstripe_version}
12645N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljds-tstripe-%{tstripe_version}.tar.bz2
19934N/APatch1: tsoljds-tstripe-01-dont-set-DISPLAY.diff
20096N/APatch2: tsoljds-tstripe-02-TPEXEC.diff
20127N/APatch3: tsoljds-tstripe-03-pfexec.diff
20829N/APatch4: tsoljds-tstripe-04-l10n-updates.diff
12773N/ASource1: l10n-configure.sh
12606N/ASUNW_BaseDir: %{_basedir}
12771N/ASUNW_Copyright: %{name}.copyright
12606N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12606N/A
12606N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
16401N/ARequires: SUNWlibgnomecanvas
12606N/ARequires: SUNWgnome-panel
12606N/ARequires: SUNWtgnome-tsol-libs
18993N/ABuildRequires: SUNWlibgnome-keyring
20348N/ABuildRequires: x11/trusted/libxtsol
20857N/ABuildRequires: consolidation/desktop/desktop-incorporation
17266N/A#BuildRequires: SUNWlibgnomecanvas-devel
17266N/A#BuildRequires: SUNWgnome-panel-devel
17266N/A#BuildRequires: SUNWtgnome-tsol-libs-devel
12606N/A
12606N/A%package l10n
12606N/ASummary: %{summary} - l10n files
12606N/ARequires: %{name}
12606N/A
12606N/A%prep
12606N/A%setup -q -n tsoljds-tstripe-%{tstripe_version}
12606N/A
19934N/A%patch1 -p1
20096N/A%patch2 -p1
20127N/A%patch3 -p1
20829N/A%patch4 -p1
19934N/A
12606N/A%build
12606N/Aexport ACLOCAL_FLAGS="-I /usr/share/aclocal"
12606N/A
12606N/Alibtoolize -f
12645N/Aintltoolize -c -f --automake
12773N/A
12773N/Abash -x %SOURCE1 --enable-copyright
12773N/A
12606N/Aaclocal $ACLOCAL_FLAGS
12606N/Aautoconf
12606N/Aautoheader
12606N/Aautomake -acf
12606N/A
12606N/ACFLAGS="%optflags -D_POSIX_PTHREAD_SEMANTICS" \
12606N/A./configure --with-gnome-prefix=%{_prefix} \
12606N/A --prefix=%{_prefix} \
12606N/A --sysconfdir=%{_sysconfdir} \
12606N/A --mandir=%{_mandir}
12606N/Amake
12606N/A
12606N/A%install
12606N/Amake install DESTDIR=$RPM_BUILD_ROOT
20096N/Acd $RPM_BUILD_ROOT/%{_datadir}/gnome
20096N/Amkdir -p trusted/applications
20096N/Acd trusted/applications
20096N/Aln -sf ../../../applications/at-properties.desktop .
20096N/Aln -sf ../../../applications/display-properties.desktop .
20096N/Aln -sf ../../../applications/window-properties.desktop .
20096N/Aln -sf ../../../applications/keyboard.desktop .
20096N/Aln -sf ../../../applications/keybinding.desktop .
20096N/Aln -sf ../../../applications/gnome-settings-mouse.desktop .
20096N/Aln -sf ../../../applications/gnome-appearance-properties.desktop .
20096N/Aln -sf ../../../applications/alacarte.desktop .
20096N/Aln -sf ../../../applications/iiim-properties.desktop .
20096N/Aln -sf ../../../applications/gnome-power-preferences.desktop .
20096N/Aln -sf ../../../applications/gnome-power-statistics.desktop .
20096N/Aln -sf ../../../applications/time-slider.desktop .
20096N/Aln -sf ../../../applications/at-properties.desktop .
20096N/Aln -sf ../../../applications/imf-selector.desktop .
12606N/A
12606N/A%clean
12606N/Arm -rf $RPM_BUILD_ROOT
12606N/A
12606N/A%files
12606N/A%defattr (-, root, other)
12606N/A%dir %attr (0755, root, bin) %{_bindir}
12606N/A%{_bindir}/tsoljds-tstripe
12606N/A%{_bindir}/tsoljds-setssheight
12606N/A%{_bindir}/tsoljds-xagent-proxy
12606N/A%dir %attr (0755, root, sys) %{_datadir}
12606N/A%dir %attr (0755, root, other) %{_datadir}/gnome
12606N/A%{_datadir}/gnome/TrustedPathExecutables
13825N/A%{_datadir}/gnome/gtkrc.tjds
20096N/A%dir %attr (0755, root, other) %{_datadir}/gnome/trusted
20096N/A%dir %attr (0755, root, other) %{_datadir}/gnome/trusted/applications
20096N/A%{_datadir}/gnome/trusted/applications/*
12606N/A
12606N/A%files l10n
12606N/A%defattr (-, root, other)
12606N/A%dir %attr (0755, root, sys) %{_datadir}
12606N/A%{_datadir}/locale
12606N/A
13056N/A%changelog
20115N/A* Wed Mar 09 2011 - brian.cameron@oracle.com
20127N/A- Add patch tsoljds-tstripe-03-pfexec.diff so that the proxy always calls
20127N/A tsoljds-xagent with pfexec.
20127N/A
20127N/A* Wed Mar 09 2011 - brian.cameron@oracle.com
20115N/A- Add code to remove l10n if %build_l10n is not true.
20114N/A
20096N/A* Tue Mar 01 2011 - stephen.browne@oracle.com
20096N/A- add TPEXEC desktop symlinks and update TPEXECS
20096N/A
18951N/A* Wed Jul 28 2010 - stephen.browne@oracle.com
18951N/A- uprev version, update copyright, remove upstream patches
18951N/A
18951N/A* Thu Jul 07 2008 - stephen.browne@sun.com
13825N/A- Uprev version, remove updtream patch
13825N/A
13056N/A* Fri May 16 2008 - stephen.browne@sun.com
13056N/A- Uprev version, remove upstream patches, remove conditional build
12606N/A
13015N/A* Thu May 08 2008 - takao.fujiwara@sun.com
13015N/A- Add SUNWtgnome-tstripe-02-po.diff for cs.po
13015N/A Contributed l10n from Hana Zalska <Hana.Zalska@sun.com>
13015N/A
12645N/A* Tue Mar 25 2008 - takao.fujiwara@sun.com
12645N/A- Removed upstreamed scripts.
12645N/A- Removed upstreamed tsoljds-tstripe-01-pwd-fns.diff
12645N/A
12643N/A* Tue Mar 25 2008 - damien.carbery@sun.com
12643N/A- Revert to 0.1.5 because 0.6 tarball missing po dir and breaking build.
12643N/A
12606N/A* Fri Mar 14 2008 - stephen.browne@sun.com
12606N/A- update version. point source at dlc.sun.com
12606N/A
12606N/A* Wed Sep 19 2007 - stephen.browne@sun.com
12606N/A- Add two new binaries to match the new tarball
12606N/A
12606N/A* Wed Sep 19 2007 - damien.carbery@sun.com
12606N/A- Remove getpwuid_r patch, tsoljds-tstripe-01-pwd-fns.diff, as they it is not
12606N/A needed from snv_73 on.
12606N/A
12606N/A* Tue Aug 14 2007 - damien.carbery@sun.com
12606N/A- Add patch tsoljds-tstripe-01-pwd-fns.diff to use the correct versions of the
12606N/A password functions. The issue only
12606N/A
12606N/A* Tue Mar 27 2007 - damien.carbery@sun.com
12606N/A- Remove instances of mkinstalldirs as it is not needed and the mkinstalldirs
12606N/A file has been removed from the svn repository.
12606N/A
12606N/A* Tue Jan 20 2007 - stephen.browne@sun.com
12606N/A- Added new configuration file to %files section
12606N/A
12606N/A* Tue Oct 17 2006 - damien.carbery@sun.com
12606N/A- Add '-lnsl' to LDFLAGS to fix build.
12606N/A
12606N/A* Tue Oct 17 2006 - damien.carbery@sun.com
12606N/A- Add 'make' to the %build section as only having 'make install' was populating
12606N/A $RPM_BUILD_ROOT even when the package failed.
12606N/A
12606N/A* Fri Sep 15 2006 - takao.fujiwara@sun.com
12606N/A- Add *-10n package.
12606N/A
12606N/A* Sun Jul 30 2006 - damien.carbery@sun.com
12606N/A- Always use nightly tarballs as source.
12606N/A
12606N/A* Tue Jul 11 2006 - damien.carbery@sun.com
12606N/A- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.
12606N/A
12606N/A* Wed May 24 2006 - stephen.browne@sun.com
12606N/A- remove man page from files and shorten summary
12606N/A
12606N/A* Wed Mar 8 2006 - damien.carbery@sun.com
12606N/A- Add %dir %attr for %{_datadir} as %defattr is wrong for this dir.
12606N/A
12606N/A* Mon Mar 6 2006 - Damien Carbery <damien.carbery@sun.com>
12606N/A- Added Build/BuildRequires for SUNWtgnome-tsol-libs/-devel.
12606N/A
12606N/A* Thu Mar 2 2006 - Damien Carbery <damien.carbery@sun.com>
12606N/A- Added Build/BuildRequires for SUNWgnome-panel/-devel.
12606N/A
12606N/A* Tue Feb 14 2006 - <ghee.teo@sun.com>
12606N/A- Added Build/BuildRequires for SUNWgnome-base-libs/-devel.
12606N/A
12606N/A* Fri Jan 27 2006 - <stephen.browne@sun.com>
12606N/A- Erwann moved tsolmetacity changes back to base metacity so renamed this file
12606N/A- and make it only build the stripe now
12606N/A
12606N/A* Mon Oct 03 2005 - <stephen.browne@sun.com>
12606N/A- added trusted stripe
12606N/A
12606N/A* Fri Aug 19 2005 - <stephen.browne@sun.com>
12606N/A- moved patch to base metacity spec file
12606N/A- edited references to not pass in build dir - must be used with Laca's relative
12606N/A- path pkgbuild patch
12606N/A
12606N/A* Wed Aug 17 2005 - <stephen.browne@sun.com>
12606N/A- created
16401N/A
19446N/A
19763N/A