base-specs/gnome-devel-docs.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 17934 a2a06609d9f0
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a

#
# spec file for package gnome-devel-docs
#
# Copyright (c) 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner davelam
#

%define OSR LFI#105446 (gnome Exec. summary):n/a

Name:		        gnome-devel-docs
License:		GPL
Group:			Documentation
BuildArchitectures:	noarch
Version:		2.30.1
Release:		1
Distribution:		Java Desktop System
Vendor:			Gnome Community
Summary:		documents targeted for GNOME developers
Source:		        http://ftp.gnome.org/pub/gnome/sources/gnome-devel-docs/2.30/gnome-devel-docs-%{version}.tar.bz2
URL:			http://live.gnome.org/DeveloperGuides
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
Docdir:			%{_defaultdocdir}/doc

%define			scrollkeeper_version 0.3.12

Prereq:			scrollkeeper >= %{scrollkeeper_version}
Requires:		scrollkeeper >= %{scrollkeeper_version}

%description
This package contains documents which will be packaged together and
shipped as gnome-devel-docs in the GNOME Fifth Toe distribution.  They 
should be documents targeted for GNOME developers.

%prep
%setup -q

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf

./configure --prefix=%{_prefix}   \
            --datadir=%{_datadir} \
	    --disable-scrollkeeper
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
chmod -R a+rX $RPM_BUILD_ROOT%{_datadir}/gnome/help

%clean
rm -rf $RPM_BUILD_ROOT

%post
if [ "$1" = "2" ] ; then # upgrade
  if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
fi

%files
%defattr(-,root,bin)
%doc COPYING AUTHORS README ChangeLog NEWS INSTALL
%{_datadir}/gnome/help/*
%{_datadir}/omf/*

%changelog
* Mon Apr 26 2010 - [email protected]
- Bump to 2.30.1.
* Tue Mar 30 2010 - [email protected]
- Bump to 2.30.0.
* Wed Feb 24 2010 - [email protected]
- Bump to 2.29.3.
* Fri Jan 29 2010 - [email protected]
- Bump to 2.29.1
* Wed Sep 23 2009 - [email protected]
- Bump to 2.28.0
* Tue Aug 25 2009 - [email protected]
- Bump to 2.27.1.
* Mon Jun 08 2009 - [email protected]
- Bump to 2.26.2.
* Wed Apr 15 2009 - [email protected]
- Bump to 2.26.1.
* Tue Mar 17 2009 - [email protected]
- Bump to 2.26.0.
* Mon Sep 29 2008 - [email protected]
- Bump to 2.24.0.
* Tue Sep 09 2008 - [email protected]
- Correct download URL.
* Thu Sep 04 2008 - [email protected]
- Bump to 2.23.1.
* Tue Mar 11 2008 - [email protected]
- Bump to 2.22.0.
* Tue Sep 18 2007 - [email protected]
- Bump to 2.20.0.
* Sat Sep 01 2007 - Dave Lin <[email protected]>
- initial version.