import sblim-cmpi-devel-2.0.3-15.el8
This commit is contained in:
commit
da3a6e40c8
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/sblim-cmpi-devel-2.0.3.tar.bz2
|
1
.sblim-cmpi-devel.metadata
Normal file
1
.sblim-cmpi-devel.metadata
Normal file
@ -0,0 +1 @@
|
||||
16c21e197f77d20969366dde57487d4525cad13d SOURCES/sblim-cmpi-devel-2.0.3.tar.bz2
|
67
SOURCES/macros.sblim-cmpi-devel
Normal file
67
SOURCES/macros.sblim-cmpi-devel
Normal file
@ -0,0 +1,67 @@
|
||||
%sblim_pre() \
|
||||
function unregister() \
|
||||
{ \
|
||||
# don't let registration failure when server not running fail upgrade! \
|
||||
%{_datadir}/%{name}/provider-register.sh -d $1 -m %{SCHEMA} -r %{REGISTRATION} > /dev/null 2>&1 || :; \
|
||||
} \
|
||||
\
|
||||
# if upgrading, deregister old version \
|
||||
if [ $1 -gt 1 ]; then \
|
||||
unregistered=no \
|
||||
if [ -e /usr/sbin/cimserver ]; then \
|
||||
unregister "-t pegasus"; \
|
||||
unregistered=yes \
|
||||
fi \
|
||||
if [ -e /usr/sbin/sfcbd ]; then \
|
||||
unregister "-t sfcb"; \
|
||||
unregistered=yes \
|
||||
fi \
|
||||
if [ "$unregistered" != yes ]; then \
|
||||
unregister \
|
||||
fi \
|
||||
fi
|
||||
|
||||
%sblim_post() \
|
||||
function register() \
|
||||
{ \
|
||||
# don't let registration failure when server not running fail install! \
|
||||
%{_datadir}/%{name}/provider-register.sh $1 -m %{SCHEMA} -r %{REGISTRATION} > /dev/null 2>&1 || :; \
|
||||
} \
|
||||
\
|
||||
/sbin/ldconfig \
|
||||
if [ $1 -ge 1 ]; then \
|
||||
registered=no \
|
||||
if [ -e /usr/sbin/cimserver ]; then \
|
||||
register "-t pegasus"; \
|
||||
registered=yes \
|
||||
fi \
|
||||
if [ -e /usr/sbin/sfcbd ]; then \
|
||||
register "-t sfcb"; \
|
||||
registered=yes \
|
||||
fi \
|
||||
if [ "$registered" != yes ]; then \
|
||||
register \
|
||||
fi \
|
||||
fi
|
||||
|
||||
%sblim_preun() \
|
||||
function unregister() \
|
||||
{ \
|
||||
# don't let registration failure when server not running fail upgrade! \
|
||||
%{_datadir}/%{name}/provider-register.sh -d $1 -m %{SCHEMA} -r %{REGISTRATION} > /dev/null 2>&1 || :; \
|
||||
} \
|
||||
\
|
||||
if [ $1 -eq 0 ]; then \
|
||||
unregistered=no \
|
||||
if [ -e /usr/sbin/cimserver ]; then \
|
||||
unregister "-t pegasus"; \
|
||||
unregistered=yes \
|
||||
fi \
|
||||
if [ -e /usr/sbin/sfcbd ]; then \
|
||||
unregister "-t sfcb"; \
|
||||
unregistered=yes \
|
||||
fi \
|
||||
if [ "$unregistered" != yes ]; then \
|
||||
unregister \
|
||||
fi \
|
||||
fi
|
12
SOURCES/sblim-cmpi-devel-2.0.3-docdir.patch
Normal file
12
SOURCES/sblim-cmpi-devel-2.0.3-docdir.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up sblim-cmpi-devel-2.0.3/Makefile.in.orig sblim-cmpi-devel-2.0.3/Makefile.in
|
||||
--- sblim-cmpi-devel-2.0.3/Makefile.in.orig 2012-07-31 06:11:51.000000000 +0200
|
||||
+++ sblim-cmpi-devel-2.0.3/Makefile.in 2013-08-07 18:28:09.600712807 +0200
|
||||
@@ -221,7 +221,7 @@ build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||
+docdir = $(datadir)/doc/$(PACKAGE)
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
161
SPECS/sblim-cmpi-devel.spec
Normal file
161
SPECS/sblim-cmpi-devel.spec
Normal file
@ -0,0 +1,161 @@
|
||||
|
||||
Name: sblim-cmpi-devel
|
||||
Version: 2.0.3
|
||||
Release: 15%{?dist}
|
||||
Summary: SBLIM CMPI Provider Development Support
|
||||
|
||||
License: EPL
|
||||
URL: http://sblim.wiki.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
||||
# Source1: macro definitions
|
||||
Source1: macros.sblim-cmpi-devel
|
||||
|
||||
# Patch0: remove version from docdir
|
||||
Patch0: sblim-cmpi-devel-2.0.3-docdir.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
This packages provides the C and C++ CMPI header files needed by
|
||||
provider developers and can be used standalone. If used for
|
||||
C++ provider development it is also necessary to have
|
||||
tog-pegasus-devel installed.
|
||||
|
||||
%package -n libcmpiCppImpl0
|
||||
License: EPL
|
||||
Summary: CMPI C++ wrapper library
|
||||
Conflicts: tog-pegasus-libs
|
||||
|
||||
%description -n libcmpiCppImpl0
|
||||
This packages provides the C++ wrapper library for CMPI development
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .docdir
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# remove unused libtool files
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*a
|
||||
# install macro definitions
|
||||
mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
|
||||
|
||||
%post -n libcmpiCppImpl0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcmpiCppImpl0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_includedir}/cmpi
|
||||
%{_rpmconfigdir}/macros.d/macros.sblim-cmpi-devel
|
||||
|
||||
%files -n libcmpiCppImpl0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libcmpiCppImpl.so*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Tue Oct 31 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.3-14
|
||||
- Remove Group tag from spec file
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.0.3-8
|
||||
- Rebuilt for GCC 5 C++11 ABI change
|
||||
|
||||
* Wed Feb 25 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.3-7
|
||||
- Add macros.sblim-cmpi-devel
|
||||
- Remove %%clean section
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Aug 07 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.3-4
|
||||
- Fix for unversioned docdir change
|
||||
Resolves: #994075
|
||||
|
||||
* Thu Jul 25 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.3-3
|
||||
- Fix libcmpiCppImpl0 Conflicts
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Mon Aug 13 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.3-1
|
||||
- Update to sblim-cmpi-devel-2.0.3
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-5
|
||||
- Rebuilt for c++ ABI breakage
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Mon Feb 28 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.1-3
|
||||
- Enable -debuginfo package
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu May 20 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.1-1
|
||||
- Update to sblim-cmpi-devel-2.0.1
|
||||
- Ship libcmpiCppImpl library in libcmpiCppImpl0 package
|
||||
|
||||
* Wed Nov 4 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.0-2
|
||||
- Fix conversion between CMPIData and String
|
||||
|
||||
* Thu Aug 27 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Tue Nov 4 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.5-2
|
||||
- Fix License
|
||||
- Spec file cleanup, rpmlint check
|
||||
|
||||
* Fri Oct 24 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.5-1
|
||||
- Update to 1.0.5
|
||||
Resolves: #468326
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-6
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Mon Dec 18 2006 Mark Hamzy <hamzy@us.ibm.com> - 1.0.4-5
|
||||
- Removed -debuginfo package.
|
||||
- Removed ldconfig from post/postun
|
||||
|
||||
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> - 1.0.4-4
|
||||
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
||||
|
||||
* Thu Feb 09 2006 Viktor Mihajlovski <mihajlov@de.ibm.com> - 1.0.4-1
|
||||
- Initial RH/Fedora version
|
Loading…
Reference in New Issue
Block a user