rpms/octave-forge/devel octave-forge.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Thu Apr 21 16:20:04 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/octave-forge/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20165/devel

Modified Files:
	.cvsignore sources 
Added Files:
	octave-forge.spec 
Log Message:
auto-import octave-forge-2004.11.16-6 on branch devel from octave-forge-2004.11.16-6.src.rpm


--- NEW FILE octave-forge.spec ---
Name:           octave-forge
Version:        2004.11.16
Release:        6
Summary:        Additional packages for octave

Group:          Applications/Engineering
License:        GPL
URL:            http://octave.sourceforge.net
Source0:        %{url}/cgi-bin/viewcvs.cgi/octave/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

## Octave-forge installs in a directory tree specific to the installed
## version of octave, so the following version dependency is necessary.
%define octave_ep  %(rpm -q --qf '%%{epoch}' octave)
%define octave_ver %(rpm -q --qf '%%{version}' octave)
Requires:	octave = %{octave_ep}:%{octave_ver} ImageMagick
BuildRequires:  octave-devel gcc-c++ tetex gcc-g77 libstdc++-devel
BuildRequires:  xorg-x11-devel libjpeg-devel libpng-devel zlib-devel
BuildRequires:  ncurses-devel libtermcap-devel gsl-devel qhull-devel
BuildRequires:  GiNaC-devel

%description
Octave-forge is a community project for collaborative development of
octave extensions. The extensions in this package include additional
data types such as sparse matrices, and functions for a variety of
different applications including signal and image processing,
communications, control, optimization, statistics, geometry, and
symbolic math.

%prep
%setup -q

%build
LC_ALL=POSIX
export LC_ALL
%define host_type %(echo "disp(octave_config_info('canonical_host_type'))" | octave -qf)
%define site_dir octave/%{octave_ver}/site
## The paths are hardcoded by configure, so this ugly configure command
## is necessary to get them to install in the right places.
./configure --with-x --prefix=$RPM_BUILD_ROOT%{_prefix} \
	--mandir=$RPM_BUILD_ROOT%{_mandir} --libdir=%{_libdir} \
	--with-mpath=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/m/octave-forge \
	--with-opath=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/oct/%{host_type}/octave-forge \
	--with-xpath=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/exec/%{host_type} \
	--with-altpath=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/octave-forge-alternative/m \
	--with-altmpath=$RPM_BUILD_ROOT%{_datadir}/%{site_dir}/octave-forge-alternative/m/octave-forge \
	--with-altopath=$RPM_BUILD_ROOT%{_libexecdir}/%{site_dir}/octave-forge-alternative/oct/%{host_type}
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install 

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING* README RELEASE-NOTES TODO
%doc doc/*.html doc/coda/*.sgml doc/coda/appendices/*.sgml
%doc doc/coda/oct/*.sgml doc/coda/standalone/*.sgml
%{_datadir}/octave/*
%{_libexecdir}/octave/*
%{_bindir}/mex
%{_mandir}/man1/mex*


%changelog
* Thu Apr 21 2005 Quentin Spencer <qspencer at users.sf.net> 2004.11.16-6
- Added GiNaC-devel BuildRequires

* Tue Mar 29 2005 Quentin Spencer <qspencer at users.sf.net> 2004.11.16-5
- Rebuild for octave-2.1.69

* Mon Mar 28 2005 Quentin Spencer <qspencer at users.sf.net> 2004.11.16-4
- Rebuild for octave-2.1.68

* Thu Feb 24 2005 Quentin Spencer <qspencer at users.sf.net> 2004.11.16-3
- Updated spec file to get octave version at build time.

* Wed Nov 17 2004 Quentin Spencer <qspencer at users.sf.net> 2004.11.16-2
- Revised package description.

* Tue Jun 15 2004 Quentin Spencer <qspencer at users.sf.net>
- Added qhull support.

* Tue Feb  4 2003 Quentin Spencer <qspencer at users.sf.net>
- First Version, loosely based on Red Hat's spec file for octave.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/octave-forge/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Apr 2005 16:19:17 -0000	1.1
+++ .cvsignore	21 Apr 2005 16:20:02 -0000	1.2
@@ -0,0 +1 @@
+octave-forge-2004.11.16.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/octave-forge/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Apr 2005 16:19:17 -0000	1.1
+++ sources	21 Apr 2005 16:20:02 -0000	1.2
@@ -0,0 +1 @@
+a8e52c27159a110a26ab57c10d3883b0  octave-forge-2004.11.16.tar.gz




More information about the fedora-extras-commits mailing list