65 lines
1.2 KiB
RPMSpec
65 lines
1.2 KiB
RPMSpec
Name: sblim-sfcCommon
|
|
Version: 1.0.1
|
|
Release: 1%{?dist}
|
|
Summary: Common functions for SBLIM Small Footprint CIM Broker and CIM Client Library.
|
|
|
|
Group: Development/Libraries
|
|
License: EPL
|
|
URL: http://sourceforge.net/projects/sblim/
|
|
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: sblim-cmpi-devel
|
|
|
|
%description
|
|
This package provides a common library for functions
|
|
shared between Small Footprint CIM Broker (sblim-sfcb)
|
|
Small Footprint CIM Client (and sblim-sfcc).
|
|
|
|
|
|
%package devel
|
|
Summary: Sblim-sfcCommon Development Files
|
|
Group: Development/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Sblim-sfcCommon Development Files.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot}
|
|
# remove unused static libraries
|
|
rm -f %{buildroot}/%{_libdir}/libsfcUtil.a
|
|
rm -f %{buildroot}/%{_libdir}/libsfcUtil.la
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%doc AUTHORS README COPYING NEWS ChangeLog
|
|
%{_libdir}/libsfcUtil.so.*
|
|
|
|
|
|
%files devel
|
|
%{_includedir}/sfcCommon
|
|
%{_libdir}/libsfcUtil.so
|
|
|
|
|
|
|
|
%changelog
|
|
* Mon Jul 22 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.1-1
|
|
- Initial support
|
|
- Fix -devel requires
|
|
- Fix Summary and URL
|