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