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

Steve Fox (drfickle) fedora-extras-commits at redhat.com
Wed Jun 28 20:23:42 UTC 2006


Author: drfickle

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

Modified Files:
	.cvsignore sources 
Added Files:
	libhugetlbfs.spec 
Log Message:
auto-import libhugetlbfs-0.20060628-1 on branch devel from libhugetlbfs-0.20060628-1.src.rpm


--- NEW FILE libhugetlbfs.spec ---
%define libhugetlbfs_version 20060628

Name: libhugetlbfs
Version: 0.%{libhugetlbfs_version}
Release: 1%{?dist}
Summary: A library which provides easy access to huge pages of memory

Group: System Environment/Libraries
License: LGPL
URL: http://libhugetlbfs.ozlabs.org/ 
Source0: http://libhugetlbfs.ozlabs.org/snapshots/%{name}-%{libhugetlbfs_version}.tar.gz       
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kernel-devel glibc-headers
Conflicts: kernel < 2.6.16

%define ldscriptdir %{_datadir}/%{name}/ldscripts

%description
libhugetlbfs is a library which provides easy access to huge pages of memory.
It is a wrapper for the hugetlbfs file system. Applications can use huge pages
to fulfill malloc() requests without being recompiled by using LD_PRELOAD.
Alternatively, applications can be linked against libhugetlbfs without source
modifications to load BSS or BSS, data, and text segments into large pages.

%package test
Summary: The test suite distributed with libhugetlbfs
Group: System Environment/Libraries
Requires: libhugetlbfs = %{version}-%{release}

%description test
libhugetlbfs is a library which provides easy access to huge pages of memory.
The libhugetlbfs-test package contains the test suite which can be used to
verify correct operation of the libhugetlbfs library.

%prep
%setup -q -n %{name}-%{libhugetlbfs_version}

%build
make %{?_smp_mflags} BUILDTYPE=NATIVEONLY

%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT LDSCRIPTDIR=$RPM_BUILD_ROOT%{ldscriptdir} BUILDTYPE=NATIVEONLY
make install-tests PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT LDSCRIPTDIR=$RPM_BUILD_ROOT%{ldscriptdir} BUILDTYPE=NATIVEONLY

# remove statically built libraries:
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/*.so
%dir %{_datadir}/libhugetlbfs
%{_datadir}/%{name}/ldscripts/*
%doc README HOWTO LGPL-2.1

%files test
%defattr(-,root,root,-)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/tests/*

%changelog
* Wed Jun 28 2006 Steve Fox <drfickle at k-lug.org> - 0.20060628-1
- First Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libhugetlbfs/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Jun 2006 20:23:19 -0000	1.1
+++ .cvsignore	28 Jun 2006 20:23:41 -0000	1.2
@@ -0,0 +1 @@
+libhugetlbfs-20060628.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libhugetlbfs/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Jun 2006 20:23:19 -0000	1.1
+++ sources	28 Jun 2006 20:23:41 -0000	1.2
@@ -0,0 +1 @@
+619c633157d45a21075e097856ad1bf6  libhugetlbfs-20060628.tar.gz




More information about the scm-commits mailing list