This commit is contained in:
parent
b62c429735
commit
d0dd6f52d9
13
libtpms.spec
13
libtpms.spec
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define lname libtpms0
|
||||||
|
|
||||||
Name: libtpms
|
Name: libtpms
|
||||||
Version: 0.5.1
|
Version: 0.5.1
|
||||||
@ -33,19 +34,19 @@ BuildRequires: mozilla-nspr-devel
|
|||||||
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 libtpms0
|
%package -n %lname
|
||||||
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
|
||||||
|
|
||||||
%description -n libtpms0
|
%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
|
||||||
Requires: %{name} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Requires: libopenssl-devel mozilla-nspr-devel
|
Requires: libopenssl-devel mozilla-nspr-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -72,11 +73,11 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man3
|
|||||||
|
|
||||||
make %{?_smp_mflags} install DESTDIR=${RPM_BUILD_ROOT}
|
make %{?_smp_mflags} install DESTDIR=${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%post -n libtpms0 -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libtpms0 -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libtpms0
|
%files -n %lname
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc LICENSE README CHANGES
|
%doc LICENSE README CHANGES
|
||||||
%{_libdir}/%{name}.so.%{version}
|
%{_libdir}/%{name}.so.%{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user