SUNWtgnome-tsol-libs.spec revision 18993
10139N/A#
10139N/A# spec file for package SUNWtgnome-tsol-libs
10139N/A#
10139N/A# includes module(s): libgnometsol
10139N/A#
10139N/A# Copyright (c) 2005 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%define owner stephen
10139N/A
10139N/A%define OSR 6160:n/a
10139N/A
10615N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
10615N/A# Sun Download Center. Contact GNOME RE for assistance.
11172N/A%define libgnometsol_version 0.6.2
10139N/A
10139N/A%include Solaris.inc
10139N/A
10139N/AName: SUNWtgnome-tsol-libs
10613N/AIPS_package_name: gnome/trusted/libgnometsol
10794N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Trusted Extensions
10139N/ASummary: GNOME Trusted Extensions Libraries - platform dependent
10794N/ALicense: cr_Oracle
10794N/AVendor: gnu.org
10139N/AVersion: %{default_pkg_version}
10640N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/tjds/libgnometsol-%{libgnometsol_version}.tar.bz2
10139N/A%if %build_l10n
10640N/ASource1: l10n-configure.sh
10139N/A%endif
10820N/APatch1: libgnometsol-01-LB_CLI.diff
10139N/APatch2: libgnometsol-02-invalid-sl.diff
10820N/APatch3: libgnometsol-03-perzoneauth.diff
10339N/ASUNW_BaseDir: %{_basedir}
10820N/ASUNW_Copyright: %{name}.copyright
10535N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10820N/A
10861N/A%include default-depend.inc
10917N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-libs
10139N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWlibgnome-keyring
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%package devel
10139N/ASummary: GNOME Trusted Extensions Libraries - platform independent
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: SUNWtgnome-tsol-libs
10139N/A
10139N/A%prep
10139N/A%setup -q -n libgnometsol-%{libgnometsol_version}
10139N/A%patch1
10139N/A%patch2
10139N/A%patch3 -p1
10139N/A
10139N/A%build
10139N/Aexport ACLOCAL_FLAGS="-I /usr/share/aclocal"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/Alibtoolize -f
10139N/Aintltoolize --copy --force --automake
10139N/A
10139N/A%if %build_l10n
10139N/Abash -x %SOURCE1 --enable-copyright
10139N/A%endif
10139N/A
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautoconf
10139N/Aautoheader
10139N/Aautomake -acf
10139N/A
10139N/A./configure --with-gnome-prefix=%{_prefix} \
10139N/A --prefix=%{_prefix}
10139N/A
10139N/A%install
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/libgnometsol.la
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/libgnometsol.a
10139N/A%if %build_l10n
10139N/A%else
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}
10139N/A%endif
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, other)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/libgnometsol.so*
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/tgnome-selectlabel
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, other)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10794N/A%{_datadir}/locale
10794N/A%endif
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, other)
11087N/A%dir %attr (0755, root, bin) %{_includedir}
11087N/A%{_includedir}/*
11087N/A%dir %attr (0755, root, bin) %{_libdir}
11087N/A%{_libdir}/pkgconfig
11087N/A
10139N/A%changelog
10535N/A* Tue Apr 20 2010 - christian.kelly@oracle.com
10820N/A- Set LDFLAGS.
10535N/A* Fri May 16 2008 - stephen.browne@sun.com
10535N/A- Uprev version, remove upstream patch, remove conditional build
11087N/A
10861N/A* Thu May 08 2008 - takao.fujiwara@sun.com
10139N/A- Add SUNWtgnome-tsol-libs-01-po.diff for cs.po
10139N/A Contributed l10n from Hana Zalska <Hana.Zalska@sun.com>
10139N/A
10139N/A* Tue Mar 25 2008 - takao.fujiwara@sun.com
10139N/A- remove upstreamed scripts.
10139N/A
10139N/A* Fri Mar 14 2008 - stephen.browne@sun.com
10139N/A- update version. point source at dlc.sun.com
10139N/A
10139N/A* Fri Sep 15 2006 - takao.fujiwara@sun.com
10139N/A- Add *-10n package.
10139N/A
10139N/A* Sun Jul 30 2006 - damien.carbery@sun.com
10139N/A- Always use nightly tarballs as source.
10139N/A
10139N/A* Wed Jul 19 2006 - damien.carbery@sun.com
10139N/A- Update Build/BuildRequires after check-deps.pl run.
10139N/A
10139N/A* Tue Jul 11 2006 - damien.carbery@sun.com
10139N/A- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.
10139N/A
10139N/A* Fri Jun 30 2006 - <stephen.browne@sun.com>
10139N/A- changed version to default for port to vermillion
10139N/A
10139N/A* Tue Feb 14 2006 - <ghee.teo@sun.com>
10139N/A- Added Build/BuildRequires for SUNWgnome-base-libs/-devel.
10139N/A
10139N/A* Mon Feb 13 2006 - <ghee.teo@sun.com>
10139N/A- Added Build/BuildRequires for SUNWxwts
10139N/A
10139N/A* Thu Aug 25 2005 - <stephen.browne@sun.com>
10139N/A- created
10139N/A
10139N/A