SUNWtgnome-tsol-libs.spec revision 18970
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
16367N/A# NOTE: If the version is bumped the new tarball must be uploaded to the
10752N/A# Sun Download Center. Contact GNOME RE for assistance.
10139N/A%define libgnometsol_version 0.6.2
10139N/A
10139N/A%include Solaris.inc
16168N/A
10139N/AName: SUNWtgnome-tsol-libs
10139N/AIPS_package_name: gnome/trusted/libgnometsol
10318N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Trusted Extensions
10943N/ASummary: GNOME Trusted Extensions Libraries - platform dependent
10139N/ALicense: cr_Oracle
10139N/AVendor: gnu.org
10139N/AVersion: %{default_pkg_version}
10139N/ASource: http://dlc.sun.com/osol/jds/downloads/extras/tjds/libgnometsol-%{libgnometsol_version}.tar.bz2
10139N/A%if %build_l10n
13922N/ASource1: l10n-configure.sh
10139N/A%endif
13922N/APatch1: libgnometsol-01-LB_CLI.diff
10139N/APatch2: libgnometsol-02-invalid-sl.diff
13922N/APatch3: libgnometsol-03-perzoneauth.diff
10139N/ASUNW_BaseDir: %{_basedir}
13922N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13922N/A
10139N/A%include default-depend.inc
13922N/ARequires: SUNWgtk2
10928N/ARequires: SUNWgnome-libs
13922N/ABuildRequires: SUNWgtk2-devel
11883N/ABuildRequires: SUNWgnome-libs-devel
13922N/A
15613N/A%if %build_l10n
15613N/A%package l10n
12177N/ASummary: %{summary} - l10n files
13922N/ASUNW_BaseDir: %{_basedir}
12644N/A%include default-depend.inc
13923N/ARequires: %{name}
16168N/A%endif
16168N/A
16387N/A%package devel
16387N/ASummary: GNOME Trusted Extensions Libraries - platform independent
16422N/ASUNW_BaseDir: %{_basedir}
16420N/A%include default-depend.inc
16423N/ARequires: SUNWtgnome-tsol-libs
16423N/A
16425N/A%prep
16425N/A%setup -q -n libgnometsol-%{libgnometsol_version}
16168N/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
13922N/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}
10463N/A%{_libdir}/pkgconfig
10463N/A
10139N/A%changelog
10139N/A* Tue Apr 20 2010 - christian.kelly@oracle.com
10139N/A- Set LDFLAGS.
10943N/A* Fri May 16 2008 - stephen.browne@sun.com
12754N/A- Uprev version, remove upstream patch, remove conditional build
10943N/A
10318N/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
13922N/A- remove upstreamed scripts.
10139N/A
10139N/A* Fri Mar 14 2008 - stephen.browne@sun.com
13922N/A- update version. point source at dlc.sun.com
10139N/A
10139N/A* Fri Sep 15 2006 - takao.fujiwara@sun.com
13922N/A- Add *-10n package.
10752N/A
10553N/A* Sun Jul 30 2006 - damien.carbery@sun.com
10139N/A- Always use nightly tarballs as source.
11239N/A
10752N/A* Wed Jul 19 2006 - damien.carbery@sun.com
10553N/A- Update Build/BuildRequires after check-deps.pl run.
11883N/A
12020N/A* Tue Jul 11 2006 - damien.carbery@sun.com
16168N/A- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.
16387N/A
16420N/A* Fri Jun 30 2006 - <stephen.browne@sun.com>
16423N/A- changed version to default for port to vermillion
16425N/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