sblim-sfcc/sblim-sfcc.spec

83 lines
1.8 KiB
RPMSpec

#
# $Id: sblim-sfcc.spec,v 1.3 2009/07/27 03:50:17 jkeating 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: 2%{?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
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* 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