Accepting request 404989 from devel:libraries:c_c++
- version update to 2.0.0 (bsc#981294) * SO version change from 1 -> 2 * generate static libraries * minor fixes (see Changelog) This is a merge of package from SUSE:SLE-12-SP2:GA (and Leap 42.2) and the doc split already present in this devel project. (forwarded request 404975 from michel_mno) OBS-URL: https://build.opensuse.org/request/show/404989 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librtas?expand=0&rev=34
This commit is contained in:
commit
b536093c08
@ -1 +1 @@
|
||||
librtas1
|
||||
librtas2
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7964adb5eb64a8864db08a39e13d6fa886d73e9015d02779b0f4078d2f45916e
|
||||
size 89041
|
3
librtas-2.0.0.tar.gz
Normal file
3
librtas-2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4549ffa3291484142e915dc99b0abd2e25ceffd583ff78100ab02311b7ba529c
|
||||
size 87549
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 11:32:47 UTC 2016 - normand@linux.vnet.ibm.com
|
||||
|
||||
- version update to 2.0.0 (bsc#981294)
|
||||
* SO version change from 1 -> 2
|
||||
* generate static libraries
|
||||
* minor fixes (see Changelog)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 12:03:11 UTC 2016 - mlin@suse.com
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: librtas-doc
|
||||
Version: 1.4.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 11:32:47 UTC 2016 - normand@linux.vnet.ibm.com
|
||||
|
||||
- version update to 2.0.0 (bsc#981294)
|
||||
* SO version change from 1 -> 2
|
||||
* generate static libraries
|
||||
* minor fixes (see Changelog)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 13 12:03:11 UTC 2016 - mlin@suse.com
|
||||
|
||||
|
35
librtas.spec
35
librtas.spec
@ -16,8 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define sover 2
|
||||
|
||||
Name: librtas
|
||||
Version: 1.4.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Libraries to provide access to RTAS calls and RTAS events
|
||||
License: LGPL-2.1+
|
||||
@ -42,16 +44,24 @@ contents of RTAS events.
|
||||
%package devel
|
||||
Summary: Devel librtas files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: librtas1 = %{version}
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description devel
|
||||
This package provides devel files of librtas
|
||||
|
||||
%package -n librtas1
|
||||
%package devel-static
|
||||
Summary: Static librtas files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}%{sover} = %{version}
|
||||
|
||||
%description devel-static
|
||||
This package provides devel files of librtas
|
||||
|
||||
%package -n %{name}%{sover}
|
||||
Summary: Libraries to provide access to RTAS calls and RTAS events
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n librtas1
|
||||
%description -n %{name}%{sover}
|
||||
The librtas shared library provides userspace with an interface through
|
||||
which certain RTAS calls can be made. The library uses either of the
|
||||
RTAS User Module or the RTAS system call to direct the kernel in making
|
||||
@ -74,12 +84,13 @@ make install DESTDIR=%buildroot LIB_DIR="%{_libdir}"
|
||||
# documents are in -doc subpackage
|
||||
rm -rf %buildroot/%_docdir
|
||||
/sbin/ldconfig -n %buildroot%{_libdir}
|
||||
chmod -x %{buildroot}%{_libdir}/*.a
|
||||
|
||||
%post -n librtas1 -p /sbin/ldconfig
|
||||
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n librtas1 -p /sbin/ldconfig
|
||||
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files -n librtas1
|
||||
%files -n %{name}%{sover}
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING.LESSER Changelog README
|
||||
%{_libdir}/lib*.so.*
|
||||
@ -87,8 +98,16 @@ rm -rf %buildroot/%_docdir
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING.LESSER
|
||||
/usr/include/*
|
||||
%{_libdir}/librtasevent.so
|
||||
%{_libdir}/librtas.so
|
||||
%{_includedir}/librtas.h
|
||||
%{_includedir}/librtasevent.h
|
||||
%{_includedir}/librtasevent_v4.h
|
||||
%{_includedir}/librtasevent_v6.h
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/librtas.a
|
||||
%{_libdir}/librtasevent.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user