4b47eac79b
-devel to main package
88 lines
2.0 KiB
RPMSpec
88 lines
2.0 KiB
RPMSpec
#
|
|
# $Id: sblim-sfcc.spec,v 1.4 2010/03/03 07:57:28 vcrhonek 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.2.1
|
|
Release: 1%{?dist}
|
|
Group: Applications/System
|
|
License: EPL
|
|
URL: http://www.sblim.org
|
|
Source0: http://downloads.sourceforge.net/project/sblim/%{name}/%{version}/%{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
|
|
%{_docdir}/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/CimClientLib/*
|
|
%{_includedir}/cimc/*
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|
|
* Wed Mar 3 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.2.1-1
|
|
- Update to sblim-sfcc-2.2.1
|
|
- Fix Source field
|
|
- Move documentation files from -devel to main package
|
|
|
|
* 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
|
|
|