rpms/maloc/EL-5 import.log, NONE, 1.1 maloc-configure.ac.patch, NONE, 1.1 maloc-makefile.am.patch, NONE, 1.1 maloc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Timothy Fenn timfenn at fedoraproject.org
Fri Aug 21 18:40:43 UTC 2009


Author: timfenn

Update of /cvs/pkgs/rpms/maloc/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25893/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	import.log maloc-configure.ac.patch maloc-makefile.am.patch 
	maloc.spec 
Log Message:
* Fri Aug 21 2009 Tim Fenn <fenn at stanford.edu>
- initial CVS commit




--- NEW FILE import.log ---
maloc-0_2-3_fc10:EL-5:maloc-0.2-3.fc10.src.rpm:1250880030

maloc-configure.ac.patch:
 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE maloc-configure.ac.patch ---
--- configure.ac_orig	2009-07-10 14:28:32.000000000 -0700
+++ configure.ac	2009-07-10 14:29:08.000000000 -0700
@@ -170,7 +170,7 @@
 AC_PROG_YACC
 
 dnl # Libtool stuff
-AC_DISABLE_SHARED
+# AC_DISABLE_SHARED
 AM_PROG_LIBTOOL
 dnl AM_PROG_LIBTOOL makes AC_PROG_RANLIB unnecessary
 dnl striplib="";

maloc-makefile.am.patch:
 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE maloc-makefile.am.patch ---
--- src/aaa_lib/Makefile.am_orig	2009-07-10 13:49:16.000000000 -0700
+++ src/aaa_lib/Makefile.am	2009-07-10 16:38:39.000000000 -0700
@@ -49,12 +49,12 @@
 LIBEFENCE =
 endif
 
-libdir = ${prefix}/lib/${fetk_cpu_vendor_os}
+# libdir = ${prefix}/lib/${fetk_cpu_vendor_os}
 lib_LTLIBRARIES = libmaloc.la ${LIBEFENCE}
 
 libmaloc_la_SOURCES =
 libmaloc_la_LIBADD  = ${BASE_LIBS} ${VSYS_LIBS} ${VSH_LIBS} ${PSH_LIBS}
-libmaloc_la_LDFLAGS = -version-info ${FETK_VERSION}
+libmaloc_la_LDFLAGS = @rl_lib@ @math_lib@ -version-info ${FETK_VERSION}
 
 libefence_la_SOURCES =
 libefence_la_LIBADD  = ${EFENCE_LIBS}


--- NEW FILE maloc.spec ---
Summary: Minimal Abstraction Layer for Object-oriented C
Name: maloc
Version: 0.2
Release: 3%{?dist}
Group: Applications/Engineering
License: GPLv2+
URL: http://www.fetk.org
Source0: http://www.fetk.org/codes/%{name}/%{name}-%{version}-1.tar.gz
# removes hardcoded libdir setting
Patch0: maloc-makefile.am.patch
# we like shared libraries
Patch1: maloc-configure.ac.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libtool
BuildRequires: readline-devel

%description
MALOC is a small, portable, abstract C environment library for
object-oriented C programming. MALOC is used as the foundation layer
for a number of scientific applications, including MC, SG, and
APBS. MALOC can be used as a small stand-alone abstraction environment
for writing portable C programs which need access to resources which
are typically architecture-dependent, such as INET sockets, timing
routines, and so on. MALOC provides abstract datatypes, memory
management routines, timing routines, machine epsilon, access to UNIX
and INET sockets, MPI, and so on. All things that can vary from one
architecture to another are abstracted out of an application code and
placed in MALOC.

%package devel
Summary: Header files and library for developing programs with maloc
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries

%description devel

This package contains libraries and header files needed for program
development using MALOC.

%prep
%setup -n %{name} -q
%patch0 -p0
%patch1 -p0
aclocal
automake --gnu --add-missing
autoconf
autoheader
libtoolize --automake

%build
%configure --disable-static
make %{?_smp_mflags}

make -C doc/doxygen

%install
rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'

# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/api/html/*
%{_libdir}/*.so
%{_includedir}/maloc

%changelog
* Thu Aug 06 2009 Tim Fenn <fenn at stanford.edu> - 0.2-3
- add doxygen as buildreq

* Sat Jul 11 2009 Tim Fenn <fenn at stanford.edu> - 0.2-2
- remove pkgconfig dependency
- build doc

* Fri Jul 10 2009 Tim Fenn <fenn at stanford.edu> - 0.2-1
- initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/maloc/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Aug 2009 18:27:42 -0000	1.1
+++ .cvsignore	21 Aug 2009 18:40:42 -0000	1.2
@@ -0,0 +1 @@
+maloc-0.2-1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/maloc/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Aug 2009 18:27:42 -0000	1.1
+++ sources	21 Aug 2009 18:40:43 -0000	1.2
@@ -0,0 +1 @@
+d48961ef02f5ab977f610ad8e9bff4e5  maloc-0.2-1.tar.gz




More information about the fedora-extras-commits mailing list