packages: numactl/numactl.spec - updated to 2.0.5 - package static library

qboosh qboosh at pld-linux.org
Sat Nov 13 23:02:29 CET 2010


Author: qboosh                       Date: Sat Nov 13 22:02:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.0.5
- package static library

---- Files affected:
packages/numactl:
   numactl.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/numactl/numactl.spec
diff -u packages/numactl/numactl.spec:1.13 packages/numactl/numactl.spec:1.14
--- packages/numactl/numactl.spec:1.13	Tue Mar 30 22:51:29 2010
+++ packages/numactl/numactl.spec	Sat Nov 13 23:02:21 2010
@@ -2,12 +2,12 @@
 Summary:	Simple NUMA policy support
 Summary(pl.UTF-8):	Prosta obsługa polityk NUMA
 Name:		numactl
-Version:	2.0.3
+Version:	2.0.5
 Release:	1
 License:	LGPL v2.1 (library), GPL v2 (utilities)
 Group:		Applications/System
 Source0:	ftp://oss.sgi.com/www/projects/libnuma/download/%{name}-%{version}.tar.gz
-# Source0-md5:	8e4fb249e5f719c25d7f433964fb9220
+# Source0-md5:	7cafe683095d4677326bcc5e4b3cc541
 URL:		http://oss.sgi.com/projects/libnuma/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,11 +33,21 @@
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki libnuma.
 
+%package static
+Summary:	Static libnuma library
+Summary(pl.UTF-8):	Statyczna biblioteka libnuma
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libnuma library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libnuma.
+
 %prep
 %setup -q
 
-rm -f *.o
-
 %build
 %{__make} \
 	CC="%{__cc}" \
@@ -45,15 +55,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man5
 
 %{__make} install \
 	prefix=$RPM_BUILD_ROOT%{_prefix} \
 	libdir=$RPM_BUILD_ROOT%{_libdir}
 
-install migspeed numamon $RPM_BUILD_ROOT%{_bindir}
-install move_pages.2 $RPM_BUILD_ROOT%{_mandir}/man2
 # missing in make install
+install numamon $RPM_BUILD_ROOT%{_bindir}
+install move_pages.2 $RPM_BUILD_ROOT%{_mandir}/man2
 install {migratepages,migspeed,numastat}.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 for f in `find $RPM_BUILD_ROOT%{_mandir}/man3 -type l` ; do
@@ -77,7 +86,7 @@
 %attr(755,root,root) %{_bindir}/numademo
 %attr(755,root,root) %{_bindir}/numamon
 %attr(755,root,root) %{_bindir}/numastat
-%attr(755,root,root) %{_libdir}/libnuma.so.*
+%attr(755,root,root) %{_libdir}/libnuma.so.1
 %{_mandir}/man8/migratepages.8*
 %{_mandir}/man8/migspeed.8*
 %{_mandir}/man8/numactl.8*
@@ -87,8 +96,12 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libnuma.so
 %{_includedir}/numa*.h
-%{_mandir}/man2/*
-%{_mandir}/man3/*
+%{_mandir}/man2/move_pages.2*
+%{_mandir}/man3/numa.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libnuma.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -96,6 +109,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/11/13 22:02:21  qboosh
+- updated to 2.0.5
+- package static library
+
 Revision 1.13  2010/03/30 20:51:29  gotar
 - upgraded to 2.0.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/numactl/numactl.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list