planner.spec revision 20125
10139N/A#
10139N/A# spec file for package planner
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%define owner jat
10139N/A#
10139N/A
10139N/A%define OSR 8705:0.14.2
10139N/A
11263N/AName: planner
10139N/ALicense: GPLv2
10139N/AGroup: Application/Devel
10139N/AVersion: 0.14.4
10139N/AVendor: http://live.gnome.org/Planner
11263N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Planner is a project managment tool for the Gnome desktop
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
10139N/AURL: http://live.gnome.org/Planner
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_docdir}/%{name}
10139N/AAutoreqprov: on
10139N/A
10139N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
10139N/APatch1: planner-01-acinclude.m4.diff
10139N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
10139N/APatch2: planner-02-Makefile.am.diff
10139N/A# date:2008-09-17 owner:jat type:bug bugster:6749027
10139N/APatch3: planner-03-Makefile.am.diff
10139N/A# date:2008-09-23 owner:davelam type:bug
10139N/APatch4: planner-04-gtype.diff
10139N/A# date:2009-02-20 owner:mattman type:branding
10139N/APatch5: planner-05-manpage.diff
10139N/A
10139N/A%description
10139N/APlanner is a project managment tool for the Gnome desktop
10139N/A
10139N/A%package devel
10139N/ASummary: Planner development files
10139N/AGroup: Development/Libraries
10139N/ARequires: %{name} = %{version}
10139N/A
10139N/A%description devel
10139N/APlanner development files.
10139N/A
10139N/A%prep
10139N/A
10139N/A%setup -q -n %{name}-%{version}
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -p1
10139N/A%patch4 -p1
10139N/A%patch5 -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
10139N/Aintltoolize --force --automake
10139N/Alibtoolize --force
10139N/Aaclocal $ACLOCAL_FLAGS
11139N/Aautomake -a -c -f
10139N/Aautoconf
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir} \
10139N/A --disable-update-mimedb
10139N/A
10139N/Amake
10139N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post -p /sbin/ldconfig
10139N/A%postun -p /sbin/ldconfig
10139N/A
10139N/A%changelog
10139N/A* Fri Feb 20 2009 - matt.keenan@sun.com
10139N/A- Add attributes/ARC manpage patch
10139N/A* Fri Jan 16 2008 - brian.cameron@sun.com
10139N/A- Fix download link.
10139N/A* Tue Sep 23 2008 - dave.lin@sun.com
10139N/A- Added patch planner-04-gtype.diff to make it build with Gnome2.24
10139N/A* Monday, June 30, 2008 - joseph.townsend@sun.com
10139N/A- Initial spec-file created
10139N/A
10139N/A