seahorse.spec revision 15375
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 v2, LGPL v2, FDL v1.1
10139N/AGroup: System/GUI/GNOME
10139N/A# Please don't upgrade it before it goes into nevada.
13261N/AVersion: 2.24.1
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Seahorse
13261N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.24/%{name}-%{version}.tar.bz2
10139N/A%if %build_l10n
12773N/ASource1: l10n-configure.sh
12773N/A%endif
12773N/A
10139N/A# date:2008-10-22 bugzilla:551318 owner:jefftsai type:bug
10139N/APatch1: seahorse-01-input-password.diff
11927N/A# date:2008-10-22 owner:jefftsai type:branding
11927N/APatch2: seahorse-02-disable-remote.diff
13034N/A# date:2008-10-23 bugzilla:557537 owner:jefftsai type:bug
13045N/APatch3: seahorse-03-a11y-hang.diff
10139N/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# date:2008-11-04 bugzilla:556670 owner:jefftsai type:bug
10139N/APatch6: seahorse-06-import-ssh.diff
10139N/A# date:2008-11-18 bugzilla:561331 bugster:6772733 owner:fujiwara type:feature
10139N/APatch7: seahorse-07-disable-im.diff
10139N/A# date:2008-11-18 bugzilla:561476 owner:jefftsai type:bug
10139N/APatch8: seahorse-08-progress-pos.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}
10139N/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
13034N/A%patch6 -p1
10139N/A%patch7 -p1
10139N/A%patch8 -p1
10139N/A
10139N/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
12773N/Alibtoolize --force
12773N/Aintltoolize -f -c --automake
12773N/A
12773N/A%if %build_l10n
12773N/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* Tue Nov 19 2008 - jeff.cai@sun.com
10139N/A- Add seahorse-08-progress-pos.diff to make the progress dialog
10139N/A not cover the password dialog.
10139N/A* Tue Nov 18 2008 - takao.fujiwara@sun.com
13261N/A- Add seahorse-07-disable-im.diff to disable input method in password.
13261N/A* Wed Nov 04 2008 - jeff.cai@sun.com
13034N/A- Add patch -06-import-ssh, need a better patch.
13034N/A* Fri Oct 31 2008 - jeff.cai@sun.com
12812N/A- Change the license tag.
12812N/A* Thu Oct 30 2008 - jeff.cai@sun.com
11926N/A- Add comment " not upgrade it before it goes to nevada"
11926N/A* Thu Oct 30 2008 - jeff.cai@sun.com
11927N/A- Add patch -04-show-error to fix #558491
11927N/A- Add patch -05-dialog-markup to fix #558494
11927N/A* Thu Oct 23 2008 - jeff.cai@sun.com
11927N/A- Add patch -03-a11y-hang to fix #557537
11922N/A* Wed Oct 22 2008 - jeff.cai@sun.com
11922N/A- Bump to 2.24.1.
11416N/A- Remove upstream patch -01-build-thread
11416N/A- Add patch -01-input-password
11252N/A- Add patch -02-disable-remote since solaris doesn't
11252N/A have PGP support
10918N/A* Mon Sep 22 2008 - jeff.cai@sun.com
10918N/A- Bump to 2.24.0.
10763N/A- Add patch -01-build-thread
10763N/A* Thu Sep 08 2008 - jeff.cai@sun.com
10732N/A- Bump to 2.23.92.
10732N/A* Thu Sep 02 2008 - christian.kelly@sun.com
10642N/A- Bump to 2.23.91.
10642N/A* Tue Aug 19 2008 - dave.lin@sun.com
10479N/A- Bump to 2.23.90
10479N/A* Tue Aug 05 2008 - damien.carbery@sun.com
10280N/A- Bump to 2.23.6. Remove all patches as they are upstream.
10280N/A
10194N/A* Wed Jul 23 2008 - jeff.cai@sun.com
10194N/A- Add bug no.
10181N/A
10181N/A* Mon Jul 21 2008 - jeff.cai@sun.com
10139N/A- Initial Sun release
10139N/A