rpms/spr/EL-5 spr-05.00.01-cflags.patch, NONE, 1.1 spr-05.01.00-libstdc.patch, NONE, 1.1 spr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Tue Apr 24 21:36:41 UTC 2007
- Previous message: rpms/spr/EL-4 spr-05.00.01-cflags.patch, NONE, 1.1 spr-05.01.00-libstdc.patch, NONE, 1.1 spr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/denyhosts/FC-4 denyhosts-2.6-regex.patch, NONE, 1.1 denyhosts.spec, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wart
Update of /cvs/extras/rpms/spr/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5386
Modified Files:
.cvsignore sources
Added Files:
spr-05.00.01-cflags.patch spr-05.01.00-libstdc.patch spr.spec
Log Message:
Initial import of files on the EL-5 branch
spr-05.00.01-cflags.patch:
--- NEW FILE spr-05.00.01-cflags.patch ---
--- configure.ac.orig 2007-02-06 13:31:42.000000000 -0800
+++ configure.ac 2007-02-06 13:33:10.000000000 -0800
@@ -104,7 +104,16 @@
################################
-AM_CXXFLAGS="-ansi -pedantic -O4"
+if [ -z "$CXXFLAGS" ] ; then
+ if [ -z "$ac_save_CXXFLAGS" ] ; then
+ AM_CXXFLAGS="-ansi -pedantic -O4"
+ else
+ AM_CXXFLAGS="$ac_save_CXXFLAGS"
+ fi
+else
+ AM_CXXFLAGS="$CXXFLAGS"
+fi
+
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CXXFLAGS])
--- configure.orig 2007-02-06 13:33:24.000000000 -0800
+++ configure 2007-02-06 13:33:52.000000000 -0800
@@ -9648,7 +9648,15 @@
################################
-AM_CXXFLAGS="-ansi -pedantic -O4"
+if [ -z "$CXXFLAGS" ] ; then
+ if [ -z "$ac_save_CXXFLAGS" ] ; then
+ AM_CXXFLAGS="-ansi -pedantic -O4"
+ else
+ AM_CXXFLAGS="$ac_save_CXXFLAGS"
+ fi
+else
+ AM_CXXFLAGS="$CXXFLAGS"
+fi
spr-05.01.00-libstdc.patch:
--- NEW FILE spr-05.01.00-libstdc.patch ---
--- src/Makefile.am.orig 2007-04-22 15:06:51.000000000 -0700
+++ src/Makefile.am 2007-04-22 15:07:02.000000000 -0700
@@ -52,7 +52,7 @@
libSPR_la_SOURCES += $(TMP_ROOT_FILES) $(TMP_HEPTUPLE_FILES)
libSPR_la_CPPFLAGS += $(ROOTCPPFLAGS)
-libSPR_la_LDFLAGS = $(ROOTLDFLAGS)
+libSPR_la_LDFLAGS = $(ROOTLDFLAGS) -lstdc++
libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la
#####################################################################
--- src/Makefile.in.orig 2007-04-22 15:06:44.000000000 -0700
+++ src/Makefile.in 2007-04-22 15:07:13.000000000 -0700
@@ -141,7 +141,7 @@
@WITH_ROOT_TRUE at TMP_ROOT_FILES = SprRootReader.cc SprRootWriter.cc
@WITH_HEPTUPLE_TRUE at TMP_HEPTUPLE_FILES = SprTupleWriter.cc
-libSPR_la_LDFLAGS = $(ROOTLDFLAGS)
+libSPR_la_LDFLAGS = $(ROOTLDFLAGS) -lstdc++
libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la
--- NEW FILE spr.spec ---
Name: spr
Version: 05.01.00
Release: 3%{?dist}
Summary: Library for categorization of data
Group: Development/Libraries
License: GPL
URL: http://www.hep.caltech.edu/~narsky/spr.html
Patch0: spr-05.00.01-cflags.patch
Patch1: spr-05.01.00-libstdc.patch
Source0: http://downloads.sourceforge.net/statpatrec/SPR-05-01-00.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libstdc++-devel
%description
The package implements a variety of tools for categorization of multivariate
data such as boosted decision trees, bagging and random forest, bump hunting
(PRIM), a multi-class learner and others.
%package devel
Summary: Development files for the Stat Pattern Recognition code
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
%{summary}.
%prep
%setup -q -n StatPatternRecognition
touch -r configure.ac configure.ac.stamp
touch -r src/Makefile.am src/Makefile.am.stamp
%patch0
%patch1
touch -r configure.ac.stamp configure.ac
touch -r src/Makefile.am.stamp src/Makefile.am
%build
%configure --without-root --disable-static --datadir=%{_datadir}/%{name} \
--includedir=%{_includedir}/%{name}
# Remove this gcc34-ism. Upstream is aware of this and needs time to
# find a fix.
sed -i -e 's/ -lg2c//' src/Makefile
# Parallel builds currently not supported. Upstream is aware of this
# and needs time to find a fix.
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING HISTORY README
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/%{name}
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/*.so
%changelog
* Mon Apr 23 2007 Michael Thomas <thomas at hep.caltech.edu> 05.01.00-3
- Fix ownership of header directory in -devel subpackage
* Sun Apr 22 2007 Michael Thomas <thomas at hep.caltech.edu> 05.01.00-2
- Move headers to their own subdirectory
- Preserve timestamps on installed files
* Fri Apr 20 2007 Michael Thomas <thomas at hep.caltech.edu> 05.01.00-1
- Update to 5.01.00
* Tue Feb 6 2007 Michael Thomas <thomas at hep.caltech.edu> 05.00.01-1
- Initial RPM package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/spr/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Apr 2007 01:29:52 -0000 1.1
+++ .cvsignore 24 Apr 2007 21:36:06 -0000 1.2
@@ -0,0 +1 @@
+SPR-05-01-00.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/spr/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Apr 2007 01:29:52 -0000 1.1
+++ sources 24 Apr 2007 21:36:06 -0000 1.2
@@ -0,0 +1 @@
+4348f8fbd5d9404de8986915966ca0c5 SPR-05-01-00.tar.gz
- Previous message: rpms/spr/EL-4 spr-05.00.01-cflags.patch, NONE, 1.1 spr-05.01.00-libstdc.patch, NONE, 1.1 spr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/denyhosts/FC-4 denyhosts-2.6-regex.patch, NONE, 1.1 denyhosts.spec, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list