181 строка
6.6 KiB
Plaintext
181 строка
6.6 KiB
Plaintext
Vendor: Microsoft Corporation
|
|
Distribution: Azure Linux
|
|
%global provider_dir %{_libdir}/cmpi
|
|
|
|
Summary: SBLIM nfsv3 instrumentation
|
|
Name: sblim-cmpi-nfsv3
|
|
Version: 1.1.1
|
|
Release: 23%{?dist}
|
|
License: EPL
|
|
URL: http://sourceforge.net/projects/sblim/
|
|
Source0: http://downloads.sourceforge.net/project/sblim/providers/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
#Patch0: remove version from docdir
|
|
Patch0: sblim-cmpi-nfsv3-1.1.1-docdir.patch
|
|
#Patch1: use Pegasus root/interop instead of root/PG_Interop
|
|
Patch1: sblim-cmpi-nfsv3-1.1.1-pegasus-interop.patch
|
|
# Patch2: call systemctl in provider registration
|
|
Patch2: sblim-cmpi-nfsv3-1.1.1-prov-reg-sfcb-systemd.patch
|
|
|
|
BuildRequires: sblim-cmpi-base-devel sblim-cmpi-devel
|
|
BuildRequires: gcc
|
|
Requires: sblim-cmpi-base cim-server cim-schema
|
|
Requires: /etc/ld.so.conf.d
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
%description
|
|
Standards Based Linux Instrumentation Nfsv3 Providers
|
|
|
|
%package devel
|
|
Summary: SBLIM Nfsv3 Instrumentation Header Development Files
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
SBLIM Base Nfsv3 Development Package
|
|
|
|
%package test
|
|
Summary: SBLIM Nfsv3 Instrumentation Testcases
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: sblim-testsuite
|
|
|
|
%description test
|
|
SBLIM Base Fsvol Testcase Files for SBLIM Testsuite
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch 0 -p1 -b .docdir
|
|
%patch 1 -p1 -b .pegasus-interop
|
|
%patch 2 -p1 -b .prov-reg-sfcb-systemd
|
|
|
|
%build
|
|
%ifarch s390 s390x ppc ppc64
|
|
export CFLAGS="$RPM_OPT_FLAGS -fsigned-char"
|
|
%else
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
%endif
|
|
%configure \
|
|
--disable-static \
|
|
TESTSUITEDIR=%{_datadir}/sblim-testsuite \
|
|
PROVIDERDIR=%{provider_dir}
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
make
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
mv $RPM_BUILD_ROOT/%{_libdir}/libLinux_NFSv3SystemConfigurationUtil.so $RPM_BUILD_ROOT/%{_libdir}/cmpi/
|
|
# remove unused libtool files
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
rm -f $RPM_BUILD_ROOT/%{provider_dir}/*.la
|
|
# shared libraries
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d
|
|
echo "%{_libdir}/cmpi" > $RPM_BUILD_ROOT/%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
%files
|
|
%doc AUTHORS COPYING DEBUG README README.TEST README.tog-pegasus
|
|
%{provider_dir}/*.so
|
|
%{_datadir}/%{name}
|
|
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
|
|
|
%files test
|
|
%{_datadir}/sblim-testsuite
|
|
|
|
%global SCHEMA %{_datadir}/%{name}/Linux_NFSv3SystemSetting.mof %{_datadir}/%{name}/Linux_NFSv3SystemConfiguration.mof
|
|
|
|
%global REGISTRATION %{_datadir}/%{name}/Linux_NFSv3SystemSetting.registration %{_datadir}/%{name}/Linux_NFSv3SystemConfiguration.registration
|
|
|
|
%pre
|
|
%sblim_pre
|
|
|
|
%post
|
|
%sblim_post
|
|
|
|
%preun
|
|
%sblim_preun
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%changelog
|
|
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.1.1-23
|
|
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-22
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-21
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-20
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-19
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Thu Feb 22 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-18
|
|
- Add BuildRequires gcc
|
|
- Remove Group tag
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-17
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Mon Mar 02 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-11
|
|
- Update provider registration script to use systemctl to stop/start sfcb
|
|
- Use new macros for %%pre/%%post/%%preun from sblim-cmpi-devel
|
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Thu Aug 08 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-8
|
|
- Fix for unversioned docdir change
|
|
Resolves: #994080
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Nov 08 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-5
|
|
- Fix source URL
|
|
|
|
* Wed Sep 05 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-4
|
|
- Fix issues found by fedora-review utility in the spec file
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu May 26 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.1-1
|
|
- Update to sblim-cmpi-nfsv3-1.1.1
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Wed Oct 6 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.1.0-1
|
|
- Update to sblim-cmpi-nfsv3-1.1.0
|
|
- Remove CIMOM dependencies
|
|
|
|
* Tue Sep 29 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.0.14-1
|
|
- Initial support
|