SUNWtgnome-tsol-libs.spec revision 19759
10139N/A#
10139N/A# spec file for package SUNWtgnome-tsol-libs
10139N/A#
12158N/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
12825N/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
12586N/AName: SUNWtgnome-tsol-libs
10142N/AIPS_package_name: gnome/trusted/libgnometsol
12132N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Trusted Extensions
12132N/ASummary: GNOME Trusted Extensions Libraries - platform dependent
10142N/ALicense: cr_Oracle
12773N/AVendor: gnu.org
12773N/AVersion: %{libgnometsol_version}
12773N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/tjds/libgnometsol-%{libgnometsol_version}.tar.bz2
10139N/A%if %build_l10n
12107N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/APatch1: libgnometsol-01-LB_CLI.diff
10139N/APatch2: libgnometsol-02-invalid-sl.diff
12796N/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/A%include gnome-consolidation.inc
10139N/ARequires: SUNWgtk2
12107N/ARequires: SUNWgnome-libs
11438N/ABuildRequires: SUNWgtk2-devel
12107N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWlibgnome-keyring
11419N/A
12131N/A%if %build_l10n
11419N/A%package l10n
12174N/AIPS_package_name: gnome/trusted/libgnometsol/l10n
11419N/ASummary: %{summary} - l10n files
11419N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_tgnome_il10n_basedir}
11419N/A%include default-depend.inc
11438N/A%include gnome-consolidation.inc
12107N/ARequires: %{name}
11981N/A%endif
12127N/A
10139N/A%package devel
10139N/ASummary: GNOME Trusted Extensions Libraries - platform independent
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.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}
10139N/A%{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, other)
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/pkgconfig
10139N/A
10139N/A%changelog
10139N/A* Tue Apr 20 2010 - christian.kelly@oracle.com
10139N/A- Set LDFLAGS.
10139N/A* Fri May 16 2008 - stephen.browne@sun.com
10139N/A- Uprev version, remove upstream patch, remove conditional build
10139N/A
10142N/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>
12176N/A
10139N/A* Tue Mar 25 2008 - takao.fujiwara@sun.com
12796N/A- remove upstreamed scripts.
12125N/A
10139N/A* Fri Mar 14 2008 - stephen.browne@sun.com
10139N/A- update version. point source at dlc.sun.com
12825N/A
12104N/A* Fri Sep 15 2006 - takao.fujiwara@sun.com
11855N/A- Add *-10n package.
12825N/A
11855N/A* Sun Jul 30 2006 - damien.carbery@sun.com
11855N/A- Always use nightly tarballs as source.
12629N/A
11855N/A* Wed Jul 19 2006 - damien.carbery@sun.com
11855N/A- Update Build/BuildRequires after check-deps.pl run.
10981N/A
12825N/A* Tue Jul 11 2006 - damien.carbery@sun.com
10981N/A- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.
12127N/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.
10142N/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
10139N/A
10139N/A