seahorse.spec revision 15279
10139N/A#
10139N/A# spec file for package seahorse
10139N/A#
10139N/A# Copyright (c) 2008 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# Owner: jefftsai
10139N/A#
10139N/AName: seahorse
10139N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 2.24.1
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Seahorse
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.24/%{name}-%{version}.tar.bz2
10139N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/A
10139N/A# date:2008-10-22 bugzilla:551318 owner:jefftsai type:bug
10139N/APatch1: seahorse-01-input-password.diff
10139N/A# date:2008-10-22 owner:jefftsai type:branding
10139N/APatch2: seahorse-02-disable-remote.diff
10139N/A# date:2008-10-23 bugzilla:557537 owner:jefftsai type:bug
10464N/APatch3: seahorse-03-a11y-hang.diff
10464N/A# date:2008-10-30 bugzilla:558491 owner:jefftsai type:bug
10139N/APatch4: seahorse-04-show-error.diff
10139N/A# date:2008-10-30 bugzilla:558494 owner:jefftsai type:bug
10139N/APatch5: seahorse-05-dialog-markup.diff
10139N/A
10139N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
10139N/A
10139N/A%define gtk2_version 2.4.0
10139N/A%define pkgconfig_version 0.15.0
10139N/A%define gtk_doc_version 1.1
10139N/A
10139N/ARequires: gtk2 >= %{gtk2_version}
10464N/ABuildRequires: gtk2-devel >= %{gtk2_version}
10139N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
10139N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
10139N/A
10139N/A%description
10139N/ASeahorse is a GNOME application for managing encryption keys. It also
10139N/Aintegrates with nautilus, gedit and other places for encryption, decrption
10139N/Aand other operations.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -p1
10139N/A%patch4 -p1
10139N/A%patch5 -p1
10139N/A
10464N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
10139N/Alibtoolize --force
10139N/Aintltoolize -f -c --automake
10139N/A
10139N/A%if %build_l10n
10139N/Abash -x %SOURCE1 --enable-copyright
10464N/A%endif
10139N/A
10139N/Agnome-doc-prepare --force
10139N/Aaclocal -I /usr/share/aclocal -I m4
10139N/Aautoconf
10139N/Aautoheader
10464N/Aautomake
10471N/A
10471N/ACFLAGS="$RPM_OPT_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
10471N/A./configure --prefix=%{_prefix} \
10464N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --disable-ldap \
10471N/A --disable-hkp
10139N/Amake -j $CPUS
10471N/A
10471N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/A
%check
make check
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Oct 30 2008 - jeff.cai@sun.com
- Add patch -04-show-error to fix #558491
- Add patch -05-dialog-markup to fix #558494
* Thu Oct 23 2008 - jeff.cai@sun.com
- Add patch -03-a11y-hang to fix #557537
* Wed Oct 22 2008 - jeff.cai@sun.com
- Bump to 2.24.1.
- Remove upstream patch -01-build-thread
- Add patch -01-input-password
- Add patch -02-disable-remote since solaris doesn't
have PGP support
* Mon Sep 22 2008 - jeff.cai@sun.com
- Bump to 2.24.0.
- Add patch -01-build-thread
* Thu Sep 08 2008 - jeff.cai@sun.com
- Bump to 2.23.92.
* Thu Sep 02 2008 - christian.kelly@sun.com
- Bump to 2.23.91.
* Tue Aug 19 2008 - dave.lin@sun.com
- Bump to 2.23.90
* Tue Aug 05 2008 - damien.carbery@sun.com
- Bump to 2.23.6. Remove all patches as they are upstream.
* Wed Jul 23 2008 - jeff.cai@sun.com
- Add bug no.
* Mon Jul 21 2008 - jeff.cai@sun.com
- Initial Sun release