Accepting request 566607 from home:vitezslav_cizek:branches:security
- Update to version 0.6.0-dev1 * no upstream changelog * fix build with openssl 1.1 (bsc#1074801) - fix rpm group OBS-URL: https://build.opensuse.org/request/show/566607 OBS-URL: https://build.opensuse.org/package/show/security/libtpms?expand=0&rev=13
This commit is contained in:
parent
b81b72912b
commit
cf3e340b01
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 17 12:05:51 UTC 2018 - vcizek@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.6.0-dev1
|
||||||
|
* no upstream changelog
|
||||||
|
* fix build with openssl 1.1 (bsc#1074801)
|
||||||
|
- fix rpm group
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 21 11:50:03 UTC 2015 - p.drouand@gmail.com
|
Sat Mar 21 11:50:03 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
46
libtpms.spec
46
libtpms.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libtpms
|
# spec file for package libtpms
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,48 +15,47 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%define lname libtpms0
|
|
||||||
|
|
||||||
|
%define lname libtpms0
|
||||||
Name: libtpms
|
Name: libtpms
|
||||||
Version: 0.5.2
|
Version: 0.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library providing Trusted Platform Module (TPM) functionality
|
Summary: Library providing Trusted Platform Module (TPM) functionality
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://github.com/stefanberger/libtpms
|
Url: https://github.com/stefanberger/libtpms
|
||||||
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
|
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}-dev1.tar.gz
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: mozilla-nspr-devel
|
BuildRequires: mozilla-nspr-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library providing TPM functionality for VMs. Targeted for integration
|
A library providing TPM functionality for VMs. Targeted for integration
|
||||||
into Qemu.
|
into Qemu.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %{lname}
|
||||||
Summary: Library providing Trusted Platform Module (TPM) functionality
|
Summary: Library providing Trusted Platform Module (TPM) functionality
|
||||||
License: BSD-3-Clause
|
Group: Development/Libraries/C and C++
|
||||||
Group: Development/Libraries
|
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %{lname}
|
||||||
A library providing TPM functionality for VMs. Targeted for integration
|
A library providing TPM functionality for VMs. Targeted for integration
|
||||||
into Qemu.
|
into Qemu.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include files for libtpms
|
Summary: Include files for libtpms
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lname} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Requires: libopenssl-devel mozilla-nspr-devel
|
Requires: libopenssl-devel
|
||||||
|
Requires: mozilla-nspr-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libtpms header files and documentation.
|
Libtpms header files and documentation.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n libtpms-%{version}-dev1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
@ -67,27 +66,24 @@ Libtpms header files and documentation.
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}
|
install -d -m 0755 %{buildroot}%{_libdir}
|
||||||
install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}/libtpms
|
install -d -m 0755 %{buildroot}%{_includedir}/libtpms
|
||||||
install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man3
|
install -d -m 0755 %{buildroot}%{_mandir}/man3
|
||||||
|
|
||||||
make %{?_smp_mflags} install DESTDIR=${RPM_BUILD_ROOT}
|
%make_install
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
%files -n %{lname}
|
||||||
|
|
||||||
%files -n %lname
|
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%doc LICENSE README CHANGES
|
%doc LICENSE README CHANGES
|
||||||
%{_libdir}/%{name}.so.%{version}
|
%{_libdir}/%{name}.so.%{version}
|
||||||
%{_libdir}/%{name}.so.0
|
%{_libdir}/%{name}.so.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root, -)
|
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/%{name}.la
|
%{_libdir}/%{name}.la
|
||||||
%dir %{_includedir}/%{name}
|
%dir %{_includedir}/%{name}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d62e521fb26c1c04dd7b80f54754f454f135f5240e52e3b9eec0b0aad02cc6c6
|
|
||||||
size 588670
|
|
3
v0.6.0-dev1.tar.gz
Normal file
3
v0.6.0-dev1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:63dd8f6721e19afc9dc4984e3794674d0761eb2053f496128ddf7ad4341153a4
|
||||||
|
size 1118827
|
Loading…
x
Reference in New Issue
Block a user