SUNWtgnome-tsoljdsselmgr.spec
author mattman
Wed, 18 Feb 2009 15:07:13 +0000
changeset 15143 d2d90ead6862
parent 12793 731c97a30fe3
child 15650 dbcf7e3715dd
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-tsoljdsselmgr
#
# 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

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

%include Solaris.inc

Name:                    SUNWtgnome-tsoljdsselmgr
Summary:                 GNOME Trusted Extensions Selection Manager
Version:                 %{default_pkg_version}
Source:			 http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljdsselmgr-%{tsoljdsselmgr_version}.tar.bz2
# date:2008-07-10 owner:dcarbery type:bug
Patch1:                  tsoljdsselmgr-01-gtk-disable-deprecated.diff
%if %build_l10n
Source1:                 l10n-configure.sh
%endif
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%include default-depend.inc
BuildRequires: SUNWtsu
BuildRequires: SUNWtgnome-tsol-libs-devel
BuildRequires: SUNWgnome-component-devel
BuildRequires: SUNWgnome-config-devel
BuildRequires: SUNWgnome-libs-devel
BuildRequires: SUNWgnome-vfs-devel
Requires: SUNWtsu
Requires: SUNWtgnome-tsol-libs
Requires: SUNWgnome-component
Requires: SUNWgnome-config
Requires: SUNWgnome-libs
Requires: SUNWgnome-vfs

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

%prep
%setup -q -n tsoljdsselmgr-%{tsoljdsselmgr_version}
%patch1 -p1

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

libtoolize -f
intltoolize --copy --force --automake

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

aclocal $ACLOCAL_FLAGS
autoconf
autoheader
automake -acf

./configure --with-gnome-prefix=%{_prefix} \
            --prefix=%{_prefix} \
	    --sysconfdir=%{_sysconfdir} \
	    --mandir=%{_mandir}

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, other)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/tsoljdsselmgr
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr(0755, root, other) %{_datadir}/locale
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/sel_config

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


%changelog
* Thu Jul 10 2008 - [email protected]
- Add 01-gtk-disable-deprecated to get module to build with new gtk+ tarball.

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

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

* Tue Mar 25 2008 - [email protected]
- Remove upstreamed scripts.

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

* Wed Oct 17 2007 - [email protected]
- remove damiens patch.  Fix is now in source

* Wed Jul 25 2007 - [email protected]
- Add patch, 01-gtk-tooltips, to build with latest gtk+.

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

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

* Wed Jul 19 2006 - [email protected]
- Update Build/BuildRequires after check-deps.pl run.

* Thu Jul 13 2006 - [email protected]
- Add %{_datadir}/locale to %files, a byproduct of intltool up-rev.

* 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 29 2006 - [email protected]
- Add Build/Requires SUNWtsu.

* Tue Jan 31 2006 - <[email protected]>
- created