Package init
This commit is contained in:
commit
189a91fe05
BIN
efivar-37.tar.bz2
Normal file
BIN
efivar-37.tar.bz2
Normal file
Binary file not shown.
57
efivar.spec
Normal file
57
efivar.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: efivar
|
||||||
|
Version: 37
|
||||||
|
Release: 1
|
||||||
|
Summary: Tools and libraries to work with EFI variables
|
||||||
|
License: LGPLv2.1
|
||||||
|
URL: https://github.com/rhboot/%{name}
|
||||||
|
Source0: https://github.com/rhboot/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
|
BuildRequires: popt-devel glibc-static libabigail
|
||||||
|
Provides: %{name}-libs
|
||||||
|
Obsoletes: %{name}-libs
|
||||||
|
|
||||||
|
%description
|
||||||
|
Some command line interface of the UEFI variables tools are offered by %{name}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development headers requred by libefivar
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development titles to use libefivar must be included.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/%{name}/*.h
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_libdir}/libefiboot.so
|
||||||
|
%{_libdir}/libefivar.so
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
|
%{_mandir}/man1/%{name}.1.gz
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 37-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user