Accepting request 404975 from home:michel_mno:branches: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. OBS-URL: https://build.opensuse.org/request/show/404975 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librtas?expand=0&rev=39
This commit is contained in:
parent
3414f7ab1f
commit
5897227aa6
@ -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
|
Mon Jun 13 12:03:11 UTC 2016 - mlin@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: librtas-doc
|
Name: librtas-doc
|
||||||
Version: 1.4.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
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
|
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
|
Name: librtas
|
||||||
Version: 1.4.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Libraries to provide access to RTAS calls and RTAS events
|
Summary: Libraries to provide access to RTAS calls and RTAS events
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
@ -42,16 +44,24 @@ contents of RTAS events.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Devel librtas files
|
Summary: Devel librtas files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: librtas1 = %{version}
|
Requires: %{name}%{sover} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides devel files of librtas
|
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
|
Summary: Libraries to provide access to RTAS calls and RTAS events
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n librtas1
|
%description -n %{name}%{sover}
|
||||||
The librtas shared library provides userspace with an interface through
|
The librtas shared library provides userspace with an interface through
|
||||||
which certain RTAS calls can be made. The library uses either of the
|
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
|
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
|
# documents are in -doc subpackage
|
||||||
rm -rf %buildroot/%_docdir
|
rm -rf %buildroot/%_docdir
|
||||||
/sbin/ldconfig -n %buildroot%{_libdir}
|
/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)
|
%defattr(-, root, root)
|
||||||
%doc COPYING.LESSER Changelog README
|
%doc COPYING.LESSER Changelog README
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
@ -87,8 +98,16 @@ rm -rf %buildroot/%_docdir
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc COPYING.LESSER
|
%doc COPYING.LESSER
|
||||||
/usr/include/*
|
|
||||||
%{_libdir}/librtasevent.so
|
%{_libdir}/librtasevent.so
|
||||||
%{_libdir}/librtas.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
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user