SUNWtgnome-tstripe.spec
author mattman
Wed, 18 Feb 2009 15:07:13 +0000
changeset 15143 d2d90ead6862
parent 14921 21d2c4860264
child 15594 e1b3752ab3f2
permissions -rw-r--r--
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string * SUNWtgnome-tsol-libs.spec : Update Owner format string * SUNWPython25.spec : Update Owner format string * SUNWdesktop-search.spec : Update Owner format string * SUNWlibtasn1.spec : Update Owner format string * SUNWtelepathy-glib.spec : Update Owner format string * SUNWtgnome-xagent.spec : Update Owner format string * SUNWlibgsf.spec : Update Owner format string * SUNWw3m.spec : Update Owner format string * SUNWtgnome-tsoljdslabel.spec : Update Owner format string * SUNWlibgc.spec : Update Owner format string * SUNWmission-control.spec : Update Owner format string * SUNWfirefox.spec : Update Owner format string * SUNWtgnome-tstripe.spec : Update Owner format string * SUNWtgnome-tsoljdsselmgr.spec : Update Owner format string * SUNWlibgmime.spec : Update Owner format string * SUNWlibtelepathy.spec : Update Owner format string * SUNWPython26.spec : Update Owner format string * base-specs/nautilus-open-terminal.spec : Update Owner format string * base-specs/brltty.spec : Update Owner format string * base-specs/dmz-cursor-aa.spec : Update Owner format string * base-specs/telepathy-mission-control.spec : Update Owner format string * base-specs/libIDL.spec : Update Owner format string * base-specs/dmz-cursor.spec : Update Owner format string * base-specs/w3m.spec : Update Owner format string * base-specs/tracker.spec : Update Owner format string * base-specs/gmime.spec : Update Owner format string * base-specs/nautilus.spec : Update Owner format string * base-specs/libgsf.spec : Update Owner format string * base-specs/vinagre.spec : Update Owner format string * base-specs/gnome-volume-manager.spec : Update Owner format string * base-specs/GConf.spec : Update Owner format string * base-specs/gnome-mount.spec : Update Owner format string * base-specs/libtelepathy.spec : Update Owner format string * base-specs/gtk-vnc.spec : Update Owner format string * base-specs/telepathy-glib.spec : Update Owner format string * base-specs/eel.spec : Update Owner format string * base-specs/ORBit2.spec : Update Owner format string * base-specs/unique.spec : Update Owner format string * base-specs/libgc.spec : Update Owner format string

#
# spec file for package SUNWtgnome-tstripe
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: stephen

%include Solaris.inc

# NOTE: If the version is bumped the new tarball must be uploaded to the
#       Sun Download Center. Contact GNOME RE for assistance.
%define tstripe_version 0.6.4

Name:                    SUNWtgnome-tstripe
Summary:                 GNOME Trusted Stripe
Version:                 %{default_pkg_version}
Source:			 http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljds-tstripe-%{tstripe_version}.tar.bz2
%if %build_l10n
Source1:                 l10n-configure.sh
%endif
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:		 %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%include default-depend.inc
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-panel
Requires: SUNWtgnome-tsol-libs
BuildRequires: SUNWgnome-base-libs-devel
BuildRequires: SUNWgnome-panel-devel
BuildRequires: SUNWtgnome-tsol-libs-devel

%if %build_l10n
%package l10n
Summary:                 %{summary} - l10n files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
Requires:                %{name}
%endif

%prep
%setup -q -n tsoljds-tstripe-%{tstripe_version}

%build
export ACLOCAL_FLAGS="-I /usr/share/aclocal"

libtoolize -f
intltoolize -c -f --automake

%if %build_l10n
bash -x %SOURCE1 --enable-copyright
%endif

aclocal $ACLOCAL_FLAGS
autoconf
autoheader
automake -acf

CFLAGS="%optflags -D_POSIX_PTHREAD_SEMANTICS" \
./configure --with-gnome-prefix=%{_prefix} \
            --prefix=%{_prefix} \
            --sysconfdir=%{_sysconfdir} \
	    --mandir=%{_mandir}
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, other)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/tsoljds-tstripe
%{_bindir}/tsoljds-setssheight
%{_bindir}/tsoljds-xagent-proxy
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/TrustedPathExecutables
%{_datadir}/gnome/gtkrc.tjds

%if %build_l10n
%files l10n
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/locale
%endif

%changelog
* Thu Jul 07 2008 - [email protected]
- Uprev version, remove updtream patch

* Fri May 16 2008 - [email protected]
- Uprev version, remove upstream patches, remove conditional build

* Thu May 08 2008 - [email protected]
- Add SUNWtgnome-tstripe-02-po.diff for cs.po
  Contributed l10n from Hana Zalska <[email protected]>

* Tue Mar 25 2008 - [email protected]
- Removed upstreamed scripts.
- Removed upstreamed tsoljds-tstripe-01-pwd-fns.diff

* Tue Mar 25 2008 - [email protected]
- Revert to 0.1.5 because 0.6 tarball missing po dir and breaking build.

* Fri Mar 14 2008 - [email protected]
- update version. point source at dlc.sun.com

* Wed Sep 19 2007 - [email protected]
- Add two new binaries to match the new tarball

* Wed Sep 19 2007 - [email protected]
- Remove getpwuid_r patch, tsoljds-tstripe-01-pwd-fns.diff, as they it is not
  needed from snv_73 on.

* Tue Aug 14 2007 - [email protected]
- Add patch tsoljds-tstripe-01-pwd-fns.diff to use the correct versions of the
  password functions. The issue only

* Tue Mar 27 2007 - [email protected]
- Remove instances of mkinstalldirs as it is not needed and the mkinstalldirs
  file has been removed from the svn repository.

* Tue Jan 20 2007 - [email protected]
- Added new configuration file to %files section

* Tue Oct 17 2006 - [email protected]
- Add '-lnsl' to LDFLAGS to fix build.

* Tue Oct 17 2006 - [email protected]
- Add 'make' to the %build section as only having 'make install' was populating
  $RPM_BUILD_ROOT even when the package failed.

* Fri Sep 15 2006 - [email protected]
- Add *-10n package.

* Sun Jul 30 2006 - [email protected]
- Always use nightly tarballs as source.

* Tue Jul 11 2006 - [email protected]
- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.

* Wed May 24 2006 - [email protected]
- remove man page from files and shorten summary

* Wed Mar  8 2006 - [email protected]
- Add %dir %attr for %{_datadir} as %defattr is wrong for this dir.

* Mon Mar  6 2006 - Damien Carbery <[email protected]>
- Added Build/BuildRequires for SUNWtgnome-tsol-libs/-devel.

* Thu Mar  2 2006 - Damien Carbery <[email protected]>
- Added Build/BuildRequires for SUNWgnome-panel/-devel.

* Tue Feb 14 2006 - <[email protected]>
- Added Build/BuildRequires for SUNWgnome-base-libs/-devel.

* Fri Jan 27 2006 - <[email protected]>
- Erwann moved tsolmetacity changes back to base metacity so renamed this file
- and make it only build the stripe now

* Mon Oct 03 2005 - <[email protected]>
- added trusted stripe

* Fri Aug 19 2005 - <[email protected]>
- moved patch to base metacity spec file
- edited references to not pass in build dir - must be used with Laca's relative
- path pkgbuild patch

* Wed Aug 17 2005 - <[email protected]>
- created