CBEautoconf.spec
author xlucas
Tue, 28 Apr 2009 09:49:26 +0000
changeset 41 31570364d0f1
parent 13 1669a54e47a8
child 48 7279c3f9140d
permissions -rw-r--r--
2009-03-16 Lukas (Luc) Oboril <[email protected]> * bump pkgbuild to latest version 1.3.98.4 * add Sun Studio Express 03/09 as known compiler

#
# spec file for package CBEautoconf
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

%include CBE.inc

Name:			CBEautoconf
Version:		2.61
Release:		1
License:		GPL
Group:			system/cbe
Distribution:		Desktop CBE
Vendor:			Sun Microsystems, Inc.
Summary:		Desktop CBE: GNU autoconf
Source:			ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-%{version}.tar.bz2
URL:			http://www.gnu.org/
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
SUNW_BaseDir:		%{_prefix}
SUNW_Category:          CBE,KDE,JDS,application
SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
%include default-depend.inc
Requires: SUNWperl584core
%if %(pkginfo -q SUNWgm4 && echo 1 || echo 0)
BuildRequires: SUNWgm4
%else
BuildRequires: CBEm4
%endif
BuildRequires: %make_dep

%description
GNU autoconf for the Desktop build environment

%prep
%setup -q -n autoconf-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS"			\
./configure --prefix=%{_prefix}         \
            --infodir=%{_infodir}       \
            --mandir=%{_mandir}
gmake

%install
rm -rf $RPM_BUILD_ROOT
gmake install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_datadir}/emacs

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/autoconf
%{_mandir}/*

%changelog
* Wed Jun 11 2008  <[email protected]>
- update rev, make depedency
* Mon Apr 14 2008 - [email protected]
- update deps
- use CBE.inc
* Mon Mar 26 2007 - [email protected]
- bump to 2.61
* Tue Aug 22 2006  <[email protected]>
- fix %files attributes
- move to /opt/jdsbld by default
* Wed Aug 16 2006  <[email protected]>
- add missing deps
- bump to 2.60
* Fri Sep 02 2004  <[email protected]>
- remove unpackaged files
* Sun Sep 05 2004  <[email protected]>
- enable parallel build
* Fri Mar 05 2004  <[email protected]>
- fix %files
- change the pkg category