From 8c10ace36ea8df766614cb710b77e006bd9fbebc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 05:20:38 -0400 Subject: [PATCH] import sblim-sfcc-2.2.8-9.el8 --- .gitignore | 1 + .sblim-sfcc.metadata | 1 + SOURCES/sblim-sfcc-2.2.8-docdir-license.patch | 21 +++ SPECS/sblim-sfcc.spec | 170 ++++++++++++++++++ 4 files changed, 193 insertions(+) create mode 100644 .gitignore create mode 100644 .sblim-sfcc.metadata create mode 100644 SOURCES/sblim-sfcc-2.2.8-docdir-license.patch create mode 100644 SPECS/sblim-sfcc.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5eedd00 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sblim-sfcc-2.2.8.tar.bz2 diff --git a/.sblim-sfcc.metadata b/.sblim-sfcc.metadata new file mode 100644 index 0000000..29660d3 --- /dev/null +++ b/.sblim-sfcc.metadata @@ -0,0 +1 @@ +794e9e15ed54f391f227427445789463560f0990 SOURCES/sblim-sfcc-2.2.8.tar.bz2 diff --git a/SOURCES/sblim-sfcc-2.2.8-docdir-license.patch b/SOURCES/sblim-sfcc-2.2.8-docdir-license.patch new file mode 100644 index 0000000..25d275b --- /dev/null +++ b/SOURCES/sblim-sfcc-2.2.8-docdir-license.patch @@ -0,0 +1,21 @@ +diff -up sblim-sfcc-2.2.8/Makefile.in.orig sblim-sfcc-2.2.8/Makefile.in +--- sblim-sfcc-2.2.8/Makefile.in.orig 2018-10-11 11:54:07.504330059 +0200 ++++ sblim-sfcc-2.2.8/Makefile.in 2018-10-11 11:54:40.301366853 +0200 +@@ -290,7 +290,7 @@ build_vendor = @build_vendor@ + builddir = @builddir@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-docdir = $(datadir)/doc/sfcc-$(VERSION) ++docdir = $(datadir)/doc/sblim-sfcc + dvidir = @dvidir@ + exec_prefix = @exec_prefix@ + host = @host@ +@@ -355,7 +355,7 @@ dist_man_MANS = man/man3/CMCIClient.3 ma + man/man3/CMPIStatus.3 man/man3/CMPIString.3 \ + man/man3/CMPIValue.3 + +-dist_doc_DATA = README AUTHORS COPYING ++dist_doc_DATA = README AUTHORS + EXTRA_DIST = sfcc.spec + noinst_HEADERS = \ + backend/cimxml/cimXmlParser.h \ diff --git a/SPECS/sblim-sfcc.spec b/SPECS/sblim-sfcc.spec new file mode 100644 index 0000000..951bcbe --- /dev/null +++ b/SPECS/sblim-sfcc.spec @@ -0,0 +1,170 @@ +# +# $Id: sblim-sfcc.spec,v 1.4 2010/03/03 07:57:28 vcrhonek Exp $ +# +# Package spec for sblim-sfcc +# + +Summary: Small Footprint CIM Client Library +Name: sblim-sfcc +Version: 2.2.8 +Release: 9%{?dist} +License: EPL-1.0 +URL: http://www.sblim.org +Source0: http://downloads.sourceforge.net/project/sblim/%{name}/%{name}-%{version}.tar.bz2 +# Patch0: fixes docdir name and removes install of COPYING with license +# which is included through %%license, rhbz#1638015 +Patch0: sblim-sfcc-2.2.8-docdir-license.patch +BuildRequires: curl-devel chrpath + +%Description +Small Footprint CIM Client Library Runtime Libraries + +%package devel +Summary: Small Footprint CIM Client Library +Requires: %{name} = %{version}-%{release} + +%Description devel +Small Footprint CIM Client Library Header Files and Link Libraries + + +%prep + +%setup -q +%patch0 -p1 -b .docdir-license + +%build +chmod a-x backend/cimxml/*.[ch] + +%configure +make %{?_smp_flags} + +%install +make DESTDIR=%{buildroot} install +# remove unused libtool files +rm -rf %{buildroot}/%{_libdir}/*a +# remove rpath +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libcmpisfcc.so.1.0.0 + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%license COPYING +%{_libdir}/*.so.* +%{_libdir}/libcimcClientXML.so +%{_mandir}/man3/*.3.gz +%{_docdir}/* + +%files devel +%{_includedir}/CimClientLib/* +%{_includedir}/cimc/* +%{_libdir}/libcimcclient.so +%{_libdir}/libcmpisfcc.so + +%changelog +* Tue Oct 16 2018 Vitezslav Crhonek - 2.2.8-9 +- Use %%license for file which contains the text of the license +- Change versioned docdir to unversioned and rename the docdir to match + the package name +- Fix license tag + Resolves: #1638015 + +* Fri Feb 09 2018 Fedora Release Engineering - 2.2.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Oct 31 2017 Vitezslav Crhonek - 2.2.8-7 +- Remove Group tag from spec file + +* Thu Aug 03 2017 Fedora Release Engineering - 2.2.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.2.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.2.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 2.2.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 2.2.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Dec 03 2014 Vitezslav Crhonek - 2.2.8-1 +- Update to sblim-sfcc-2.2.8 + +* Mon Aug 18 2014 Fedora Release Engineering - 2.2.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 2.2.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Mar 31 2014 Vitezslav Crhonek - 2.2.7-1 +- Update to sblim-sfcc-2.2.7 + +* Thu Jan 30 2014 Vitezslav Crhonek - 2.2.6-3 +- Fix -devel requires + +* Wed Jan 29 2014 Vitezslav Crhonek - 2.2.6-2 +- Move libcimcClientXML.so from -devel to main package - it's needed for proper function + +* Tue Oct 15 2013 Vitezslav Crhonek - 2.2.6-1 +- Update to sblim-sfcc-2.2.6 + +* Sun Aug 04 2013 Fedora Release Engineering - 2.2.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 22 2013 Vitezslav Crhonek - 2.2.5-3 +- Remove rpath from libcmpisfcc library again + +* Thu Feb 14 2013 Fedora Release Engineering - 2.2.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 08 2013 Vitezslav Crhonek - 2.2.5-1 +- Update to sblim-sfcc-2.2.5 + +* Mon Nov 19 2012 Vitezslav Crhonek - 2.2.4-4 +- Remove rpath from libcmpisfcc library + +* Thu Sep 06 2012 Vitezslav Crhonek - 2.2.4-3 +- Fix issues found by fedora-review utility in the spec file + +* Sat Jul 21 2012 Fedora Release Engineering - 2.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 19 2012 Vitezslav Crhonek - 2.2.4-1 +- Update to sblim-sfcc-2.2.4 +- Fix source link, remove build root tag + +* Sat Jan 14 2012 Fedora Release Engineering - 2.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Jul 19 2011 Vitezslav Crhonek - 2.2.3-1 +- Update to sblim-sfcc-2.2.3 + +* Tue May 24 2011 Vitezslav Crhonek - 2.2.2-1 +- Update to sblim-sfcc-2.2.2 + +* Wed Feb 09 2011 Fedora Release Engineering - 2.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Mar 3 2010 Vitezslav Crhonek - 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 - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.1.0-1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + + +* Tue Aug 19 2008 - 2.1.0-0%{?dist} +- Modified the spec file to adhere to fedora packaging guidelines. + +* Fri Feb 16 2007 - 2.0.0-0 +- Initial Version +