package created using the webbuild interface [release 0.14-1mamba;Thu Oct 09 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:02:58 +01:00
parent a3b3aa6c04
commit 19575f0582
2 changed files with 83 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# efivar
Tools and library to manipulate EFI variables.

81
efivar.spec Normal file
View File

@ -0,0 +1,81 @@
Name: efivar
Version: 0.14
Release: 1mamba
Summary: Tools and library to manipulate EFI variables
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/vathpela/efivar
## GITSOURCE https://github.com/vathpela/efivar.git 0.14
Source: https://github.com/vathpela/efivar.git/%{version}/efivar-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpopt-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Tools and library to manipulate EFI variables.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%make \
libdir=%{_libdir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
libdir=%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/efivar
%{_mandir}/man1/efivar.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libefivar.so.*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/efivar-guids.h
%{_includedir}/efivar.h
%{_libdir}/libefivar.so
%{_libdir}/pkgconfig/efivar.pc
%{_mandir}/man3/efi_*.3*
%doc README
%changelog
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14-1mamba
- package created using the webbuild interface