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

Ed Hill (edhill) fedora-extras-commits at redhat.com
Fri Oct 13 01:45:11 UTC 2006


Author: edhill

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

Modified Files:
	.cvsignore sources 
Added Files:
	itpp.spec 
Log Message:
auto-import itpp-3.10.5-7 on branch devel from itpp-3.10.5-7.src.rpm


--- NEW FILE itpp.spec ---
Name:           itpp
Version:        3.10.5
Release:        7%{?dist}
Summary:        C++ library for math, signal/speech processing, and communications

Group:          System Environment/Libraries
License:        GPL
URL:            http://itpp.sourceforge.net/
Source0:        http://download.sourceforge.net/itpp/itpp-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-gfortran, atlas-devel, fftw-devel
BuildRequires:  tetex-latex
BuildRequires:  doxygen, ghostscript

%description
IT++ is a C++ library of mathematical, signal processing, speech
processing, and communications classes and functions.  The kernel of
the IT++ library is built upon templated vector and matrix classes
with many functions for their manipulation.  Such a kernel makes IT++
similar to Octave.  IT++ makes extensive use of existing open-source
libraries (but not only) for increased functionality, speed, and
accuracy.


%package devel
Summary:        Development files for itpp
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig
Requires:       fftw-devel, atlas-devel, gcc-gfortran

%description devel
This package contains the itpp header files, libs, and man pages.


%package doc
Summary:        Documentation for itpp
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description doc
This package contains the documentation for itpp.


%prep
%setup -q


%build
chmod 644 itpp/base/itpp_version.h
export LDFLAGS="-L/usr/lib/atlas -lstdc++"
export CPPFLAGS="-I/usr/include/atlas"
export F77=gfortran
%configure --with-blas="-latlas -lblas" --disable-dependency-tracking  \
  --with-docdir=%{_docdir}/%{name}-%{version} --disable-static
make %{?_smp_mflags}
#
#  remove unnecessary bits from itpp-config and itpp.pc
cat itpp-config | sed -e 's|-L[^ ]*gcc[^ ]*||g' |  \
    sed -e 's|-I[^ ]*||g' > itpp-config_new
mv -f itpp-config_new itpp-config
cat itpp.pc | sed -e 's|-L[^ ]*gcc[^ ]*||g' |  \
    sed -e 's|-I[^ ]*||g' > itpp.pc_new
mv -f itpp.pc_new itpp.pc


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}
cp -p COPYING AUTHORS ChangeLog NEWS README TODO \
  $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}


%clean
rm -rf $RPM_BUILD_ROOT/


%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}/[A-Z]*
%{_libdir}/*.so.*
%{_datadir}/%{name}

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/%{name}-config

%files doc
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}/html


%changelog
* Wed Oct 11 2006  Ed Hill <ed at eh3.com> - 3.10.5-7
- explicitly link with -lstdc++

* Tue Oct 10 2006  Ed Hill <ed at eh3.com> - 3.10.5-6
- fix unowned dir

* Sun Oct  8 2006  Ed Hill <ed at eh3.com> - 3.10.5-5
- fix permissions for itpp/base/itpp_version.h
- make sure we ship the license
- remove redundant BRs and add -devel BRs
- remove only the gcc bits from itpp-config and itpp.pc

* Sat Oct  7 2006  Ed Hill <ed at eh3.com> - 3.10.5-4
- disable dependency tracking to speed build, sanitize itpp.pc,
  and de-macro-ize an earlier changelog entry

* Sat Sep 23 2006  Ed Hill <ed at eh3.com> - 3.10.5-3
- disable static libs, add pkgconfig, and sanitize itpp-config

* Tue Sep 13 2006  Ed Hill <ed at eh3.com> - 3.10.5-2
- fix the html docs and add BuildRequires

* Tue Sep 12 2006  Ed Hill <ed at eh3.com> - 3.10.5-1
- initial version for Fedora Extras

* Mon Feb 13 2006  Adam Piatyszek  <ediap at users.sourceforge.net>
- Created subpackage `itpp-html-doc' with HTML documentation

* Fri Feb 10 2006  Adam Piatyszek  <ediap at users.sourceforge.net>
- Added missing *.a and *.m files

* Thu Feb 09 2006  Adam Piatyszek  <ediap at users.sourceforge.net>
- Changes in `Name', `Version' and `Release' definitions
- Removed distribution dependent release settings
- Added DESTDIR to make install command

* Wed Dec 28 2005  Adam Piatyszek  <ediap at users.sourceforge.net>
- Fixed `name' and `version' definitions
- Added `itpp-config' in files section

* Fri Dec 23 2005  Adam Piatyszek  <ediap at users.sourceforge.net>
- Initial spec file prepared


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/itpp/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Oct 2006 01:44:30 -0000	1.1
+++ .cvsignore	13 Oct 2006 01:45:11 -0000	1.2
@@ -0,0 +1 @@
+itpp-3.10.5.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/itpp/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Oct 2006 01:44:30 -0000	1.1
+++ sources	13 Oct 2006 01:45:11 -0000	1.2
@@ -0,0 +1 @@
+a4c9a13ff457ee168cec5edade272ff8  itpp-3.10.5.tar.bz2




More information about the fedora-extras-commits mailing list