rpms/plpa/EL-5 plpa.spec,NONE,1.1 sources,1.1,1.2
stevetraylen
stevetraylen at fedoraproject.org
Thu Jan 14 23:43:26 UTC 2010
Author: stevetraylen
Update of /cvs/pkgs/rpms/plpa/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28957/EL-5
Modified Files:
sources
Added Files:
plpa.spec
Log Message:
branch to all.
--- NEW FILE plpa.spec ---
Name: plpa
Version: 1.3.2
Release: 2%{?dist}
Summary: Portable Linux Processor Affinity
Group: Development/System
License: BSD and AMDPLPA
URL: http://www.open-mpi.org/projects/plpa/
Source0: http://www.open-mpi.org/software/plpa/v1.3/downloads/plpa-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: valgrind-devel
Requires: plpa-libs = %{version}-%{release}
%description
PLPA is an attempt to solve the problem that there are multiple API's for
processor affinity within Linux. Specifically, the functions sched_setaffinity()
and sched_getaffinity() have numbers and types of parameters depending on your
Linux vendor and/or version of GLibc. This is quite problematic for applications
attempting to use processor affinity in Linux for compile-time, link-time,
and run-time reasons.
%package libs
Summary: Portable Linux Processor Affinity Libraries
%description libs
PLPA is an attempt to solve the problem that there are multiple API's for
processor affinity within Linux. Specifically, the functions sched_setaffinity()
and sched_getaffinity() have numbers and types of parameters depending on your
Linux vendor and/or version of GLibc. This is quite problematic for applications
attempting to use processor affinity in Linux for compile-time, link-time,
and run-time reasons.
%{name}-libs contains runtime libraries.
%package devel
Summary: Portable Linux Processor Affinity Header Files
Requires: plpa-libs = %{version}-%{release}
%description devel
PLPA is an attempt to solve the problem that there are multiple API's for
processor affinity within Linux. Specifically, the functions sched_setaffinity()
and sched_getaffinity() have numbers and types of parameters depending on your
Linux vendor and/or version of GLibc. This is quite problematic for applications
attempting to use processor affinity in Linux for compile-time, link-time,
and run-time reasons.
%{name}-devel contains header files.
%prep
%setup -q
%build
%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libplpa.la
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/plpa-info
%{_bindir}/plpa-taskset
%files libs
%defattr(-,root,root,-)
%{_libdir}/libplpa.so.*
%doc LICENSE AUTHORS NEWS README VERSION
%files devel
%defattr(-,root,root,-)
%{_includedir}/plpa.h
%{_libdir}/libplpa.so
%changelog
* Thu Jan 14 2010 Steve Traylen <steve.traylen at cern.ch> - 1.3.2-2
- Move all docs to lib package
- First version to be added to Fedora.
* Tue Jan 12 2010 Steve Traylen <steve.traylen at cern.ch> - 1.3.2-1
- License change from BSD to correct BSD and AMDPLPA
- New upstream - 1.3.2
* Fri Oct 23 2009 Steve Traylen <steve.traylen at cern.ch> - 1.3.1-2
- Future proof library version included in -libs package.
* Thu Oct 22 2009 Steve Traylen <steve.traylen at cern.ch> - 1.3.1-1
- First Build
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/plpa/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 14 Jan 2010 23:00:07 -0000 1.1
+++ sources 14 Jan 2010 23:43:26 -0000 1.2
@@ -0,0 +1 @@
+4162e8588ff7b718ad00d6f0db1fbed9 plpa-1.3.2.tar.bz2
More information about the scm-commits
mailing list