sblim-sfcc/sblim-sfcc.spec

77 lines
1.5 KiB
RPMSpec
Raw Normal View History

2008-10-24 10:12:09 +00:00
#
# $Id: sblim-sfcc.spec,v 1.1 2008/10/24 10:12:09 srini Exp $
#
# Package spec for sblim-sfcc
#
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXX)
Summary: Small Footprint CIM Client Library
Name: sblim-sfcc
Version: 2.1.0
Release: 0%{?dist}
Group: Applications/System
License: EPL
URL: http://www.sblim.org
Source0: ftp://dl.sourceforge.net/pub/s/sb/sblim/%{name}-%{version}.tar.bz2
BuildRequires: curl-devel
%Description
Small Footprint CIM Client Library Runtime Libraries
%package devel
Summary: Small Footprint CIM Client Library
Group: Applications/System
Requires: %{name} >= %{version}
%Description devel
Small Footprint CIM Client Library Header Files and Link Libraries
%prep
%setup -q
%build
chmod a-x backend/cimxml/*.[ch]
%configure
make %{?_smp_flags}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
# remove unused libtool files
rm -rf %{buildroot}/%{_libdir}/*a
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_mandir}/man3/*.3.gz
%files devel
%defattr(-,root,root)
%{_includedir}/CimClientLib/*
%{_includedir}/cimc/*
%{_libdir}/*.so
%{_docdir}/*
%changelog
* Tue Aug 19 2008 <srinivas_ramanatha@dell.com> - 2.1.0-0%{?dist}
-Modified the spec file to adhere to fedora packaging guidelines.
* Fri Feb 16 2007 <mihajlov@dyn-9-152-143-45.boeblingen.de.ibm.com> - 2.0.0-0
- Initial Version