From 966734260388cf0f73adb6679f9c56de72e85cc6 Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Thu, 3 Nov 2005 16:11:41 +0000 Subject: [PATCH] auto-import librtas-1.2.2-1 on branch devel from librtas-1.2.2-1.src.rpm --- .cvsignore | 1 + librtas.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 librtas.spec diff --git a/.cvsignore b/.cvsignore index e69de29..e9a66c8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +librtas_src-1.2-2.tar.gz diff --git a/librtas.spec b/librtas.spec new file mode 100644 index 0000000..ad602bc --- /dev/null +++ b/librtas.spec @@ -0,0 +1,66 @@ +Summary: Libraries to provide access to RTAS calls and RTAS events. +Name: librtas +Version: 1.2.2 +Release: 1 +URL: http://librtas.ozlabs.org +License: IBM Common Public License (CPL) v1.0 +Group: System Environment/Libraries +Source: librtas_src-1.2-2.tar.gz +Patch0: librtas-1.2.2-build.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +ExclusiveArch: ppc ppc64 + +%description +The librtas shared library provides userspace with an interface +through which certain RTAS calls can be made. The library uses +either of the RTAS User Module or the RTAS system call to direct +the kernel in making these calls. + +The librtasevent shared library provides users with a set of +definitions and common routines useful in parsing and dumping +the contents of RTAS events. + +%package devel +Summary: Static libraries and header files for librtas development. +Group: Development/Libraries +Requires: librtas = %{version} + +%description devel + +The librtas-devel packages contains the header files and static libraries +necessary for developing programs using libdaemon. + +%prep +%setup -n librtas +%patch0 -p1 -b .build + +%build +make CFLAGS="$RPM_OPT_FLAGS" + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root, -) +%doc COPYRIGHT README +/usr/lib/librtas.so.%{version} +/usr/lib/librtasevent.so.%{version} + +%files devel +%defattr(-, root, root, -) +%doc COPYRIGHT README +/usr/lib/*.so +/usr/lib/*.a +/usr/include/* + +%changelog +* Thu Nov 03 2005 Paul Nasrat 1.2.2-1 +- Initial release diff --git a/sources b/sources index e69de29..8de0593 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +815efda0dda480092c8a933d3bbf89ec librtas_src-1.2-2.tar.gz