seahorse.spec revision 15287
10139N/A#
10139N/A# spec file for package seahorse
10139N/A#
20904N/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#
17185N/A# Owner: jefftsai
10139N/A#
10139N/AName: seahorse
18603N/ALicense: GPL
17178N/AGroup: System/GUI/GNOME
10139N/A# Please don't upgrade it before it goes into nevada.
10139N/AVersion: 2.24.1
10139N/ARelease: 1
20904N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Seahorse
18616N/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
20904N/A%endif
10142N/A
12132N/A# date:2008-10-22 bugzilla:551318 owner:jefftsai type:bug
12132N/APatch1: seahorse-01-input-password.diff
10142N/A# date:2008-10-22 owner:jefftsai type:branding
12773N/APatch2: seahorse-02-disable-remote.diff
14434N/A# date:2008-10-23 bugzilla:557537 owner:jefftsai type:bug
12773N/APatch3: seahorse-03-a11y-hang.diff
14434N/A# date:2008-10-30 bugzilla:558491 owner:jefftsai type:bug
15440N/APatch4: seahorse-04-show-error.diff
15440N/A# date:2008-10-30 bugzilla:558494 owner:jefftsai type:bug
15740N/APatch5: seahorse-05-dialog-markup.diff
10139N/A
12107N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
12796N/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}
10139N/ABuildRequires: gtk2-devel >= %{gtk2_version}
10139N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
12107N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
13969N/A
12107N/A%description
14181N/ASeahorse is a GNOME application for managing encryption keys. It also
14181N/Aintegrates with nautilus, gedit and other places for encryption, decrption
14181N/Aand other operations.
14181N/A
14181N/A%prep
14181N/A%setup -q
18556N/A%patch1 -p1
18556N/A%patch2 -p1
15440N/A%patch3 -p1
18556N/A%patch4 -p1
20010N/A%patch5 -p1
20824N/A
20785N/A%build
20824N/A%ifos linux
20904N/Aif [ -x /usr/bin/getconf ]; then
20904N/A CPUS=`getconf _NPROCESSORS_ONLN`
15864N/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
10139N/A%endif
10139N/A
10139N/Agnome-doc-prepare --force
10139N/Aaclocal -I /usr/share/aclocal -I m4
10139N/Aautoconf
10139N/Aautoheader
10139N/Aautomake
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --disable-ldap \
10139N/A --disable-hkp
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/A
10139N/A%check
10139N/Amake check
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%changelog
10139N/A* Thu Oct 30 2008 - jeff.cai@sun.com
10139N/A- Add comment " not upgrade it before it goes to nevada"
10139N/A* Thu Oct 30 2008 - jeff.cai@sun.com
10139N/A- Add patch -04-show-error to fix #558491
10139N/A- Add patch -05-dialog-markup to fix #558494
10139N/A* Thu Oct 23 2008 - jeff.cai@sun.com
10139N/A- Add patch -03-a11y-hang to fix #557537
10139N/A* Wed Oct 22 2008 - jeff.cai@sun.com
10139N/A- Bump to 2.24.1.
10139N/A- Remove upstream patch -01-build-thread
10139N/A- Add patch -01-input-password
10139N/A- Add patch -02-disable-remote since solaris doesn't
10139N/A have PGP support
10139N/A* Mon Sep 22 2008 - jeff.cai@sun.com
10139N/A- Bump to 2.24.0.
10139N/A- Add patch -01-build-thread
10139N/A* Thu Sep 08 2008 - jeff.cai@sun.com
10139N/A- Bump to 2.23.92.
10139N/A* Thu Sep 02 2008 - christian.kelly@sun.com
10139N/A- Bump to 2.23.91.
10139N/A* Tue Aug 19 2008 - dave.lin@sun.com
10139N/A- Bump to 2.23.90
10139N/A* Tue Aug 05 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.23.6. Remove all patches as they are upstream.
10139N/A
10139N/A* Wed Jul 23 2008 - jeff.cai@sun.com
10139N/A- Add bug no.
10139N/A
10142N/A* Mon Jul 21 2008 - jeff.cai@sun.com
10139N/A- Initial Sun release
10139N/A