planner.spec revision 18861
18861N/A#
18861N/A# spec file for package planner
18861N/A#
18861N/A# Copyright (c) 2008 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A%define owner jat
18861N/A#
18861N/A
18861N/A%define OSR 8705:0.14.2
18861N/A
18861N/AName: planner
18861N/ALicense: GPLv2
18861N/AGroup: Application/Devel
18861N/AVersion: 0.14.2
18861N/AVendor: http://live.gnome.org/Planner
18861N/ARelease: 1
18861N/ADistribution: Java Desktop System
18861N/AVendor: Sun Microsystems, Inc.
18861N/ASummary: Planner is a project managment tool for the Gnome desktop
18861N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
18861N/AURL: http://live.gnome.org/Planner
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/ADocdir: %{_docdir}/%{name}
18861N/AAutoreqprov: on
18861N/A
18861N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
18861N/APatch1: planner-01-acinclude.m4.diff
18861N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
18861N/APatch2: planner-02-Makefile.am.diff
18861N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
18861N/APatch3: planner-03-Makefile.am.diff
18861N/A# date:2008-09-23 owner:davelam type:bug
18861N/APatch4: planner-04-gtype.diff
18861N/A# date:2009-02-20 owner:mattman type:branding
18861N/APatch5: planner-05-manpage.diff
18861N/A
18861N/A%description
18861N/APlanner is a project managment tool for the Gnome desktop
18861N/A
18861N/A%package devel
18861N/ASummary: Planner development files
18861N/AGroup: Development/Libraries
18861N/ARequires: %{name} = %{version}
18861N/A
18861N/A%description devel
18861N/APlanner development files.
18861N/A
18861N/A%prep
18861N/A
18861N/A%setup -q -n %{name}-%{version}
18861N/A%patch1 -p1
18861N/A%patch2 -p1
18861N/A%patch3 -p1
18861N/A%patch4 -p1
18861N/A%patch5 -p1
18861N/A
18861N/A%build
18861N/A%ifos linux
18861N/Aif [ -x /usr/bin/getconf ]; then
18861N/A CPUS=`getconf _NPROCESSORS_ONLN`
18861N/Afi
18861N/A%else
18861N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18861N/A%endif
18861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18861N/A CPUS=1
18861N/Afi
18861N/A
18861N/Aintltoolize --force --automake
18861N/Aaclocal $ACLOCAL_FLAGS
18861N/Aautomake -a -c -f
18861N/Aautoconf
18861N/A
18861N/ACFLAGS="$RPM_OPT_FLAGS" \
18861N/A./configure --prefix=%{_prefix} \
18861N/A --sysconfdir=%{_sysconfdir} \
18861N/A --mandir=%{_mandir} \
18861N/A --disable-update-mimedb
18861N/A
18861N/Amake
18861N/A
18861N/A%install
18861N/Amake DESTDIR=$RPM_BUILD_ROOT install
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%post -p /sbin/ldconfig
18861N/A%postun -p /sbin/ldconfig
18861N/A
18861N/A%changelog
18861N/A* Fri Feb 20 2009 - matt.keenan@sun.com
18861N/A- Add attributes/ARC manpage patch
18861N/A* Fri Jan 16 2008 - brian.cameron@sun.com
18861N/A- Fix download link.
18861N/A* Tue Sep 23 2008 - dave.lin@sun.com
18861N/A- Added patch planner-04-gtype.diff to make it build with Gnome2.24
18861N/A* Monday, June 30, 2008 - joseph.townsend@sun.com
18861N/A- Initial spec-file created
18861N/A