Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
libmm14
libmm14.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmm14.spec of Package libmm14
# # spec file for package libmm14 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libmm14 Version: 1.4.2 Release: 84 %define pkg_name mm # License: MIT Group: System/Libraries # BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version}-build # mm-1.4.2 on 10.2 Provides: %{pkg_name} = %{version}-%{release} Obsoletes: %{pkg_name} <= 1.4.2 # limit the shared memory maximum segment size to this many MB %define mm_segment_limit 32 # # note that the maximum size that 2.4 kernel allows is 32 MB by default # (that's low, but it's runtime configurable). # but then again, php typically allocates the maximum size possible # each time it is started, so we don't necessarily want to increase this # and definitely it must not be higher than /proc/sys/kernel/shmmax because # mm_create will fail if a larger size is requested. # # mm is not runtime configurable wrt max segment size. Thus we need to # choose a reasonably low value for all those machines out there. # Ideally this would be runtime configurable; and in addition php should # possibly only mm_create a reasonable sized segment and mm_realloc it # later if need be. # URL: http://www.ossp.org/pkg/lib/mm/ # repackaged from: ftp://ftp.ossp.org/pkg/lib/%{name}/%{name}-%{version}.tar.gz Source: %{pkg_name}-%{version}.tar.bz2 Patch: segment_size.diff Icon: mm.xpm # Summary: Shared Memory Library %description The MM library is a 2-layer abstraction library that simplifies the usage of shared memory between forked (and this way strongly related) processes under Unix platforms. On the first layer, it hides all platform-dependent implementation details (allocation and locking) when dealing with shared memory segments and on the second layer it provides a high-level malloc(3)-style API for a convenient and well-known way to work with data structures inside those shared memory segments. %package -n libmm-devel Group: System/Libraries Requires: %{name} = %{version} Provides: %{name}-devel = %{version}-%{release} Provides: %{pkg_name}-devel = %{version}-%{release} # Summary: Static Libraries and Includes for mm %description -n libmm-devel Static Libraries and Includes for mm %prep %setup -n %{pkg_name}-%{version} %patch %build %configure --with-shm=IPCSHM --with-max-segment-size=%{mm_segment_limit} make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool %ifnarch %arm %check %{__make} test %endif %install %makeinstall LIBTOOL=%{_bindir}/libtool %{__rm} %{buildroot}/%{_libdir}/libmm.{,l}a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libmm.so.14.0.22 %{_libdir}/libmm.so.14 %doc ChangeLog LICENSE README THANKS %files -n libmm-devel %defattr(-,root,root,-) %{_bindir}/mm-config %{_includedir}/mm.h %{_libdir}/libmm.so %{_mandir}/man1/mm-config.1* %{_mandir}/man3/mm.3* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor