rpms/fftw3/devel fftw3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Wed Apr 20 18:30:24 UTC 2005


Author: qspencer

Update of /cvs/extras/rpms/fftw3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28309/devel

Modified Files:
	.cvsignore sources 
Added Files:
	fftw3.spec 
Log Message:
auto-import fftw3-3.0.1-2 on branch devel from fftw3-3.0.1-2.src.rpm


--- NEW FILE fftw3.spec ---
Name:           fftw3
Version:        3.0.1
Release:        2
Summary:        Fast Fourier Transform library
%define real_name fftw

Group:          System Environment/Libraries
License:        GPL
URL:            http://www.fftw.org/
Source0:        ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-g77


%description
FFTW is a C subroutine library for computing the Discrete Fourier
Transform (DFT) in one or more dimensions, of both real and complex
data, and of arbitrary input size.


%package        devel
Summary:        Headers, libraries and docs for the FFTW library.
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}


%description    devel
FFTW is a C subroutine library for computing the Discrete Fourier
Transform (DFT) in one or more dimensions, of both real and complex
data, and of arbitrary input size.

This package contains header files and development libraries needed to
develop programs using the FFTW fast Fourier transform library.


%prep
%setup -q -c %{real_name}-%{version}
mv %{real_name}-%{version} single
cp -a single double


%build
pushd double
	%ifarch i386
		%configure \
			--enable-shared \
			--enable-threads \
			--enable-i386-hacks
	%else
		%configure \
			--enable-shared \
			--enable-threads
	%endif
	make %{?_smp_mflags}
popd
pushd single
	%configure \
		--enable-shared \
		--enable-type-prefix \
		--enable-threads \
		--enable-float
	make %{?_smp_mflags}
popd


%install
rm -rf ${RPM_BUILD_ROOT}
pushd double
	make install DESTDIR=${RPM_BUILD_ROOT}
	cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO ../
	cp -a doc/ ../
popd
pushd single
	make install DESTDIR=${RPM_BUILD_ROOT}
popd
rm -f doc/Makefile*
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'


%clean
rm -rf ${RPM_BUILD_ROOT}


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%post devel
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir

%preun devel
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*

%files devel
%defattr(-,root,root,-)
%doc doc/*.pdf doc/html/* doc/FAQ/fftw-faq.html/
%doc %{_mandir}/man?/*
%doc %{_infodir}/*.info*
%{_bindir}/*
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/*.a
%{_libdir}/*.so
#%exclude %{_libdir}/*.la

%changelog
* Mon Mar 21 2005 Quentin Spencer <qspencer at users.sf.net> 3.0.1-2
- Updated package description.

* Thu Mar  3 2005 Quentin Spencer <qspencer at users.sf.net> 3.0.1-1
- First version. Spec file based on Fedora Extras fftw 2.1.5.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/fftw3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Apr 2005 18:29:45 -0000	1.1
+++ .cvsignore	20 Apr 2005 18:30:22 -0000	1.2
@@ -0,0 +1 @@
+fftw-3.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/fftw3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Apr 2005 18:29:45 -0000	1.1
+++ sources	20 Apr 2005 18:30:22 -0000	1.2
@@ -0,0 +1 @@
+76cd21ecc9a7bed6343566c473c36477  fftw-3.0.1.tar.gz




More information about the fedora-extras-commits mailing list