|
|
482dcd |
Name: efivar
|
|
|
482dcd |
Version: 0.11
|
|
|
482dcd |
Release: 1%{?dist}
|
|
|
482dcd |
Summary: Tools to manage UEFI variables
|
|
|
482dcd |
License: LGPLv2.1
|
|
|
482dcd |
URL: https://github.com/vathpela/efivar
|
|
|
482dcd |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
482dcd |
ExclusiveArch: i386 x86_64 aarch64
|
|
|
482dcd |
|
|
|
482dcd |
BuildRequires: popt-devel git
|
|
|
482dcd |
Source0: https://github.com/vathpela/%{name}/archive/efivar-%{version}.tar.bz2
|
|
|
482dcd |
Patch0001: 0001-Revert-Only-open-with-O_CREAT-if-we-re-not-using-EFI.patch
|
|
|
482dcd |
|
|
|
482dcd |
%description
|
|
|
482dcd |
efivar provides a simple command line interface to the UEFI variable facility.
|
|
|
482dcd |
|
|
|
482dcd |
%package libs
|
|
|
482dcd |
Summary: Library to manage UEFI variables
|
|
|
482dcd |
|
|
|
482dcd |
%description libs
|
|
|
482dcd |
Library to allow for the simple manipulation of UEFI variables.
|
|
|
482dcd |
|
|
|
482dcd |
%package devel
|
|
|
482dcd |
Summary: Development headers for libefivar
|
|
|
482dcd |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
482dcd |
|
|
|
482dcd |
%description devel
|
|
|
482dcd |
development headers required to use libefivar.
|
|
|
482dcd |
|
|
|
482dcd |
%prep
|
|
|
482dcd |
%setup -q -n %{name}-%{version}
|
|
|
482dcd |
git init
|
|
|
482dcd |
git config user.email "example@example.com"
|
|
|
482dcd |
git config user.name "RHEL Ninjas"
|
|
|
482dcd |
git add .
|
|
|
482dcd |
git commit -a -q -m "%{version} baseline."
|
|
|
482dcd |
git am %{patches}
|
|
|
482dcd |
|
|
|
482dcd |
%build
|
|
|
482dcd |
make libdir=%{_libdir} bindir=%{_bindir} OPT_FLAGS="$RPM_OPT_FLAGS"
|
|
|
482dcd |
|
|
|
482dcd |
%install
|
|
|
482dcd |
rm -rf $RPM_BUILD_ROOT
|
|
|
482dcd |
%makeinstall
|
|
|
482dcd |
|
|
|
482dcd |
%clean
|
|
|
482dcd |
rm -rf $RPM_BUILD_ROOT
|
|
|
482dcd |
|
|
|
482dcd |
%post libs -p /sbin/ldconfig
|
|
|
482dcd |
|
|
|
482dcd |
%postun libs -p /sbin/ldconfig
|
|
|
482dcd |
|
|
|
482dcd |
%files
|
|
|
482dcd |
%doc COPYING README
|
|
|
482dcd |
%{_bindir}/efivar
|
|
|
482dcd |
%{_mandir}/man1/*
|
|
|
482dcd |
|
|
|
482dcd |
%files devel
|
|
|
482dcd |
%{_mandir}/man3/*
|
|
|
482dcd |
%{_includedir}/*
|
|
|
482dcd |
%{_libdir}/*.so
|
|
|
482dcd |
%{_libdir}/pkgconfig/*.pc
|
|
|
482dcd |
|
|
|
482dcd |
%files libs
|
|
|
482dcd |
%{_libdir}/*.so.*
|
|
|
482dcd |
|
|
|
482dcd |
%changelog
|
|
|
482dcd |
* Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
|
|
|
482dcd |
- Update to 0.11
|
|
|
482dcd |
|
|
|
482dcd |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
|
|
|
482dcd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
482dcd |
|
|
|
482dcd |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
|
|
|
482dcd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
482dcd |
|
|
|
482dcd |
* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
|
|
|
482dcd |
- Update package to 0.10.
|
|
|
482dcd |
- Fixes a build error due to different cflags in the builders vs updstream
|
|
|
482dcd |
makefile.
|
|
|
482dcd |
|
|
|
482dcd |
* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
|
|
|
482dcd |
- Update package to 0.9.
|
|
|
482dcd |
|
|
|
482dcd |
* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
|
|
|
482dcd |
- Update package to 0.8 as well.
|
|
|
482dcd |
|
|
|
482dcd |
* Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
|
|
|
482dcd |
- Update package to 0.7
|
|
|
482dcd |
- adds --append support to the binary.
|
|
|
482dcd |
|
|
|
482dcd |
* Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
|
|
|
482dcd |
- Update package to 0.6
|
|
|
482dcd |
- fixes to documentation from lersek
|
|
|
482dcd |
- more validation of uefi guids
|
|
|
482dcd |
- use .xz for archives
|
|
|
482dcd |
|
|
|
482dcd |
* Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
|
|
|
482dcd |
- Update to 0.5
|
|
|
482dcd |
|
|
|
482dcd |
* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
|
|
|
482dcd |
- Fix ldconfig invocation
|
|
|
482dcd |
|
|
|
482dcd |
* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
|
|
|
482dcd |
- Initial spec file
|