seahorse.spec revision 13630
13629N/A#
13629N/A# spec file for package seahorse
13629N/A#
13629N/A# Copyright (c) 2008 Sun Microsystems, Inc.
13629N/A# This file and all modifications and additions to the pristine
13629N/A# package are under the same license as the package itself.
13629N/A#
13629N/A# Owner: jefftsai
13629N/A#
13629N/AName: seahorse
13629N/ALicense: GPL
13629N/AGroup: System/GUI/GNOME
13629N/AVersion: 2.23.5
13629N/ARelease: 1
13629N/ADistribution: Java Desktop System
13629N/AVendor: Sun Microsystems, Inc.
13629N/ASummary: Seahorse
13629N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.23/%{name}-%{version}.tar.gz
13629N/A%if %build_l10n
13629N/ASource1: l10n-configure.sh
13629N/A%endif
13629N/A
13629N/A# date:2008-07-22 bugzilla:544262 owner:jefftsai type:bug
13629N/APatch1: seahorse-01-widget.diff
13629N/A# date:2008-07-22 bugzilla:544266 owner:jefftsai type:bug
13629N/APatch2: seahorse-02-empty-struct.diff
13629N/A# date:2008-07-22 bugzilla:544267 owner:jefftsai type:bug
13629N/APatch3: seahorse-03-socket.diff
13630N/A# date:2008-07-22 bugzilla:544270 owner:jefftsai type:bug
13629N/APatch4: seahorse-04-rm-pgp.diff
13629N/A
13629N/AURL: http://www.gnome.org
13629N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13629N/AAutoreqprov: on
13629N/APrereq: /sbin/ldconfig
13629N/A
13629N/A%define gtk2_version 2.4.0
13629N/A%define pkgconfig_version 0.15.0
13629N/A%define gtk_doc_version 1.1
13629N/A
13629N/ARequires: gtk2 >= %{gtk2_version}
13629N/ABuildRequires: gtk2-devel >= %{gtk2_version}
13629N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
13629N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
13629N/A
13629N/A%description
13629N/ASeahorse is a GNOME application for managing encryption keys. It also
13629N/Aintegrates with nautilus, gedit and other places for encryption, decrption
13629N/Aand other operations.
13629N/A
13629N/A%prep
13629N/A%setup -q
13629N/A%patch1 -p1
13629N/A%patch2 -p1
13629N/A%patch3 -p1
13629N/A%patch4 -p1
13629N/A
13629N/A
13629N/A%build
13629N/A%ifos linux
13629N/Aif [ -x /usr/bin/getconf ]; then
13629N/A CPUS=`getconf _NPROCESSORS_ONLN`
13629N/Afi
13629N/A%else
13629N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13629N/A%endif
13629N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13629N/A CPUS=1
13629N/Afi
13629N/A
13629N/Alibtoolize --force
13629N/Aintltoolize -f -c --automake
13629N/A
13629N/A%if %build_l10n
13629N/Abash -x %SOURCE1 --enable-copyright
13629N/A%endif
13629N/A
13629N/Agnome-doc-prepare --force
13629N/Aaclocal $ACLOCAL_FLAGS -I m4
13629N/Aautoconf
13629N/Aautoheader
13629N/Aautomake
13629N/A
13629N/ACFLAGS="$RPM_OPT_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
13629N/A./configure --prefix=%{_prefix} \
13629N/A --sysconfdir=%{_sysconfdir} \
13629N/A --mandir=%{_mandir} \
13629N/A --libexecdir=%{_libexecdir}
13629N/Amake -j $CPUS
13629N/A
13629N/A%install
13629N/Amake DESTDIR=$RPM_BUILD_ROOT install
13629N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
13629N/A
13629N/A%check
13629N/Amake check
13629N/A
13629N/A%clean
13629N/Arm -rf $RPM_BUILD_ROOT
13629N/A
13629N/A%changelog
13629N/A
13630N/A* Wed Jul 23 2008 - jeff.cai@sun.com
13630N/A- Add bug no.
13630N/A
13629N/A* Mon Jul 21 2008 - jeff.cai@sun.com
13629N/A- Initial Sun release