[bakefile-devel] RPM spec for cvs snapshots

Robin Dunn <[email protected]> Thu, 17 Jul 2003 12:34:09 -0700
Newsgroups gmane.text.documancer.user
Message-ID <[email protected]>
Attached is a .spec file that can be used to build an RPM from the 
bakefile CVS snaphots.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!
bakefile-cvs.spec (text/plain, 1.1 KB)
%define year	2003
%define month	07
%define day	17


Name:          bakefile-cvs
#Version:       0.1.1
Version:       %{year}%{month}%{day}
Release:       1rpd
Source:        bakefile-%{year}-%{month}-%{day}.tar.gz

Prefix:        /usr
Summary:       Cross-platform makefiles generator
License:       GPL
Group:         Development/Other
URL:           http://bakefile.sourceforge.net
Packager:      Vaclav Slavik <[email protected]>
BuildRoot:     %{_tmppath}/%{name}-%{version}-root
BuildArch:     noarch
BuildRequires: libxslt-proc, libxml2-utils
Requires:      python >= 2.2

%description
Bakefile is makefiles generator that generates native makefiles for
many Unix and Windows compilers.

%prep
%setup -q -n bakefile

%build
./autogen.sh
./configure --prefix=%{prefix}
%make
cd doc
./process.sh


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
%makeinstall


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc doc/html
%{_bindir}/*
%dir %{_datadir}/bakefile
%{_datadir}/bakefile/*
%{_datadir}/aclocal/bakefile.m4
#%{_mandir}/*/*