rpms/ibmasm/devel ibmasm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Konrad Rzeszutek (konradr) fedora-extras-commits at redhat.com
Fri Dec 21 19:38:34 UTC 2007


Author: konradr

Update of /cvs/pkgs/rpms/ibmasm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25593/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ibmasm.spec 
Log Message:
Bug #193059: Package review of ibmasm.



--- NEW FILE ibmasm.spec ---
Summary: IBM Advanced System Management Drivers
Name: ibmasm
Version: 3.0
Release: 12
License: LGPL
Group: Applications/System
URL: http://ibmasm.sourceforge.net
Source0: ibmasm_user_%{version}-%{release}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires(post): /sbin/chkconfig
Requires(postun): /sbin/chkconfig
Requires(post): /sbin/service
Requires(postun): /sbin/service
Requires(post): /sbin/lspci
Requires(postun): /sbin/lspci
ExclusiveArch: %{ix86}
# The ibmasm module is only enabled for i386 because the ASM adapter was
# never shipped in machines with 64-bit support.
%description
This package contains the tools necessary to control the IBM Advanced
System Management Drivers

%package devel
Group: Development/Libraries
Summary: Development environment for the IBM Advanced System Management user-land driver
Requires: %{name} = %{version}-%{release}
%description devel
The ibmasm-devel package contains the development libraries and header files
of the IBM Advanced System Management drivers

%prep
%setup -q -n ibmasm_user_%{version}-%{release}

%build
cd ibmasm/src
export CFLAGS="%{optflags}"
make %{?_smp_mflags} 

%install
rm -rf ${RPM_BUILD_ROOT}
cd ibmasm/src
make _LIB=%{_libdir} ROOT=${RPM_BUILD_ROOT} install

mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
install -m 755 ../ibmasm.init ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/ibmasm
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/ibmasm
install -m 644 api/libibmasm.h ${RPM_BUILD_ROOT}%{_includedir}/ibmasm
install -m 644 api/rsa.h ${RPM_BUILD_ROOT}%{_includedir}/ibmasm

%clean
rm -rf ${RPM_BUILD_ROOT}

%post 
/sbin/ldconfig
if [ $1 = 1 ]; then
	/sbin/chkconfig --add %{name}
	/sbin/lspci -n | grep "1014:010f" > /dev/null 2>&1
	if [ $? == 0 ]; then
		/sbin/chkconfig --level 35 %{name} on
	fi
fi

%preun
if [ $1 = 0 ]; then
	/sbin/service %{name} stop > /dev/null 2>&1
	/sbin/chkconfig --del %{name}
fi


%postun 
/sbin/ldconfig
if [ $1 -ge 1 ]; then
	/sbin/service %{name} condrestart >/dev/null 2>&1
fi

%files
%defattr(-,root,root)
%dir /var/lib/ibmasm
%doc ibmasm/src/README ibmasm/COPYING
%{_libdir}/*.so.*
%{_sbindir}/ibmsp*
%{_bindir}/evnode
%{_sysconfdir}/rc.d/init.d/ibmasm

%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/ibmasm/

%changelog
* Thu Jan 4 2007  - konradrzeszutek at sourceforge.net - 3.0-12
- Making -devel RPM own include/ibmasm directory.
- Setting the permissions to be the same for both packages.

* Tue Sep 19 2006 - konradrzeszutek at sourceforge.net - 3.0-11
- Fixing permission in install section.

* Tue Sep 5 2006 - konradrzeszutek at sourceforge.net - 3.0-10
- Fixing -devel rpm lint problems

* Tue Aug 15 2006 - konradrzeszutek at sourceforge.net - 3.0-9
- Scanning PCI for RSA device and if found, turning service on.

* Mon Aug 14 2006 - konradrzeszutek at sourceforge.net - 3.0-8
- Updated spec file per recommendations in RH BZ #193059

* Thu Jul 6 2006 - konradrzeszutek at sourceforge.net - 3.0-7
- Updating files per recommendations in Red Hat BZ #193059 

* Wed Jun 28 2006 - konradrzeszutek at sourceforge.net - 3.0-6
- Updating files to work with sourceforge

* Fri Jun 16 2006 - konradr at redhat.com - 3.0-5
- Fixes to compile cleanly under FC4/FC5.

* Fri May 19 2006 - konradr at redhat.com - 3.0-4
- Initial RHEL4 build.

* Fri May 12 2006 - konradr at redhat.com - 3.0-3
- Cleanup to match FedoraCore guideliness

* Tue May 17 2005 - amax at us.ibm.com 3.0-2
- Release for RHEL4 U4


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ibmasm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Nov 2007 01:55:35 -0000	1.1
+++ .cvsignore	21 Dec 2007 19:37:56 -0000	1.2
@@ -0,0 +1 @@
+ibmasm_user_3.0-12.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ibmasm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Nov 2007 01:55:35 -0000	1.1
+++ sources	21 Dec 2007 19:37:56 -0000	1.2
@@ -0,0 +1 @@
+0579f5b8568fd5a5d5156200d8df486c  ibmasm_user_3.0-12.tar.bz2




More information about the fedora-extras-commits mailing list