Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

dcdb-pusher-libs-0.3.spec 1.64 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
Name: dcdb-pusher-libs
Summary: Required runtime libraries for dcdb-pusher
Version: 0.3
Release: 1

License: Various
URL: https://dcdb.it/
Source: https://gitlab.lrz.de/dcdb/dcdb/tree/master/dcdbpusher
Packager: DCDB project <info@dcdb.it>

%description
This is a supplimentary package for dcdb-pusher. Pusher relies on a set of
runtime libraries that are either not (yet) available on the end user system or
require custom patches. This package bundles all runtime libraries required
for Pusher to run.

More information, source code, and the full DCDB project can be found at
 https://dcdb.it

%prep
#nothing to prepare

%build
#nothing to build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/lib
install -m755 ../../../install/lib/libboost_*.so %{buildroot}/lib/
install -m755 ../../../install/lib/libcrypto.so %{buildroot}/lib/
install -m755 ../../../install/lib/libfreeipmi.so %{buildroot}/lib/
#install -m755 ../../../install/lib/libgcrypt.so* %{buildroot}%{_libdir}/dcdb/
#install -m755 ../../../install/lib/libgpg-error.so* %{buildroot}%{_libdir}/dcdb/
install -m755 ../../../install/lib/libmosquitto*.so %{buildroot}/lib/
install -m755 ../../../install/lib/libnetsnmp*.so %{buildroot}/lib/
#install -m755 ../../../install/lib/libopamgt.so* %{buildroot}%{_libdir}/dcdb/
install -m755 ../../../install/lib/libssl.so %{buildroot}/lib/
#install -m755 ../../../install/lib/libuv.so* %{buildroot}%{_libdir}/dcdb/

%post -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%preun
#nothing to do pre-uninstallation

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
/lib/lib*.so*

%changelog
* Wed Dec 11 2019 Micha Mueller <micha.mueller@lrz.de> 0.3-1
- Initial release