seahorse.spec revision 14461
10139N/A#
10139N/A# spec file for package seahorse
10139N/A#
19950N/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#
17178N/AName: seahorse
17178N/ALicense: GPL
17178N/AGroup: System/GUI/GNOME
16530N/AVersion: 2.24.0
10139N/ARelease: 1
18988N/ADistribution: Java Desktop System
19026N/AVendor: Sun Microsystems, Inc.
12938N/ASummary: Seahorse
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.24/%{name}-%{version}.tar.bz2
18615N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
10139N/A%endif
10139N/A
10139N/A# date:2008-09-22 bugzilla:553235 owner:jefftsai type:bug
12773N/APatch1: seahorse-01-build-thread.diff
16519N/A
16519N/AURL: http://www.gnome.org
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13483N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
17363N/A
17363N/A%define gtk2_version 2.4.0
16450N/A%define pkgconfig_version 0.15.0
10819N/A%define gtk_doc_version 1.1
17363N/A
17363N/ARequires: gtk2 >= %{gtk2_version}
18526N/ABuildRequires: gtk2-devel >= %{gtk2_version}
19950N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
17192N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
19950N/A
17351N/A%description
19950N/ASeahorse is a GNOME application for managing encryption keys. It also
19982N/Aintegrates with nautilus, gedit and other places for encryption, decrption
19982N/Aand other operations.
19982N/A
19982N/A%prep
19982N/A%setup -q
19982N/A%patch1 -p1
19982N/A
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
17033N/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
17033N/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
17033N/A%endif
17033N/A
10139N/Agnome-doc-prepare --force
17033N/Aaclocal -I /usr/share/aclocal -I m4
17033N/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/Amake -j $CPUS
17033N/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
16545N/A* Mon Sep 22 2008 - jeff.cai@sun.com
16519N/A- Bump to 2.24.0.
16519N/A- Add patch -01-build-thread
16519N/A* Thu Sep 08 2008 - jeff.cai@sun.com
16545N/A- Bump to 2.23.92.
10139N/A* Thu Sep 02 2008 - christian.kelly@sun.com
10819N/A- Bump to 2.23.91.
15942N/A* Tue Aug 19 2008 - dave.lin@sun.com
15289N/A- Bump to 2.23.90
17349N/A* Tue Aug 05 2008 - damien.carbery@sun.com
19982N/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
10165N/A* Mon Jul 21 2008 - jeff.cai@sun.com
15722N/A- Initial Sun release
12773N/A