# # spec file for package libhugetlbfs (Version 1.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libhugetlbfs BuildRequires: doxygen License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/Other Summary: hugetlbfs helper library Version: 1.1 Release: 1 URL: http://libhugetlbfs.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: libhugetlbfs-1.1.tar.gz Patch4: libhugetlbfs.make_install.patch %description libhugetlbfs interacts with the Linux hugetlbfs to make large pages available to applications in a transparent manner. Authors: -------- David Gibson Adam Litke %prep %setup -q %patch4 -p1 %build %ifarch ppc ppc64 %ix86 x86_64 tests=tests %else tests= %endif mybitsize= %ifarch ppc %ix86 mybitsize="-m32" %endif %ifarch ppc64 x86_64 mybitsize="-m64" %endif make V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" CC32="gcc $mybitsize" CC64= PREFIX=/usr LIBDIR32=%{_libdir} libs $tests %install %ifarch ppc ppc64 %ix86 x86_64 tests=install-tests %else tests= %endif make V=1 CFLAGS="$RPM_OPT_FLAGS -g -fPIC" CC32=gcc CC64= PREFIX=/usr LIBDIR32=%{_libdir} DESTDIR=$RPM_BUILD_ROOT install $tests mkdir -p $RPM_BUILD_ROOT/usr/include cp -avL hugetlbfs.h $RPM_BUILD_ROOT/usr/include %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc LGPL-2.1 HOWTO README NEWS /usr/share/libhugetlbfs /usr/include/* %{_libdir}/lib* %changelog * Sun Apr 15 2007 - olh@suse.de - update to version 1.1 (262564 - LTC33711) * Mon Feb 05 2007 - olh@suse.de - update to 20070129 devel snapshot drop hugetlbd * Mon Feb 05 2007 - olh@suse.de - build -m64/-m32 if required * Sat Dec 09 2006 - olh@suse.de - build with -g make install should not depend on all * Fri Dec 08 2006 - olh@suse.de - package testsuite, fix make check * Tue Dec 05 2006 - olh@suse.de - add the hugetlbd (214426) * Sun Oct 29 2006 - olh@suse.de - update to bugfix release 1.0.1 (214426) * Always install linker scripts for all targets * Error message updates * Add documentation on HUGETLB_DEBUG * Testcase updates * Thu Oct 05 2006 - olh@suse.de - update to final 1.0 * Tue Sep 19 2006 - olh@suse.de - update to 20060913 git state docu updates use library versioning * Wed Jul 19 2006 - olh@suse.de - update to 1.0-pre3 * Tue Apr 18 2006 - olh@suse.de - drop unneeded -packages from Buildrequires * Sat Apr 08 2006 - olh@suse.de - update to 1.0-pre2 (#142046 - LTC20562) * Tue Feb 21 2006 - olh@suse.de - remove backup files * Tue Feb 21 2006 - olh@suse.de - add linker scripts on ppc, ppc64, i386 and x86_64 * Thu Feb 09 2006 - olh@suse.de - create package, version 1.0-pre1 (#142046 - LTC20562)