diff --git a/.gitignore b/.gitignore index e69de29..46c2e79 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/sblim-sfcCommon-1.0.1.tar.bz2 diff --git a/sblim-sfcCommon.spec b/sblim-sfcCommon.spec new file mode 100644 index 0000000..90a91ab --- /dev/null +++ b/sblim-sfcCommon.spec @@ -0,0 +1,64 @@ +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 - 1.0.1-1 +- Initial support +- Fix -devel requires +- Fix Summary and URL diff --git a/sources b/sources index e69de29..3d3df1f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8aa2655d97bdea54c4750f220b40990c sblim-sfcCommon-1.0.1.tar.bz2