Blob Blame Raw
Summary:   Firmware update daemon
Name:      fwupd
Version:   0.1.3
Release:   3%{?dist}
License:   GPLv2+

BuildRequires: docbook-utils
BuildRequires: gettext
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libgudev1-devel
BuildRequires: colord-devel >= 1.0.0
BuildRequires: polkit-devel >= 0.103
BuildRequires: libgcab1-devel
BuildRequires: sqlite-devel
BuildRequires: gpgme-devel
BuildRequires: systemd
BuildRequires: gobject-introspection-devel
BuildRequires: libappstream-glib-devel >= 0.3.6

%ifarch x86_64 %{ix86} aarch64
BuildRequires: fwupdate-devel >= 0.4

Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd

%ifarch x86_64 %{ix86} aarch64
Requires: efibootmgr

fwupd is a daemon to allow session software to update device firmware.

%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}

%description devel
Files for development with %{name}.

%setup -q

%configure \
        --disable-static        \
%ifnarch x86_64 %{ix86} aarch64
        --disable-uefi          \
        --disable-rpath         \
        --disable-silent-rules  \

make %{?_smp_mflags}

find %{buildroot} -name '*.la' -exec rm -f {} ';'

%find_lang %{name}

%systemd_post fwupd.service

%systemd_preun fwupd.service

%systemd_postun_with_restart fwupd.service

%files -f %{name}.lang
%license COPYING
%dir %{_localstatedir}/lib/fwupd

%files devel

* Wed Jun 17 2015 Fedora Release Engineering <> - 0.1.3-3
- Rebuilt for

* Wed Jun 03 2015 Richard Hughes <> 0.1.3-2
- Compile with libfwupdate for UEFI firmware support.

* Thu May 28 2015 Richard Hughes <> 0.1.3-1
- New upstream release
- Coldplug the devices before acquiring the well known name
- Run the offline actions using systemd when required
- Support OpenHardware devices using the fwupd vendor extensions

* Wed Apr 22 2015 Richard Hughes <> 0.1.2-1
- New upstream release
- Only allow signed firmware to be upgraded without a password

* Mon Mar 23 2015 Richard Hughes <> 0.1.1-1
- New upstream release
- Add a 'get-updates' command to fwupdmgr
- Add and document the offline-update lifecycle
- Create a libfwupd shared library
- Create runtime directories if they do not exist
- Do not crash when there are no devices to return

* Mon Mar 16 2015 Richard Hughes <> 0.1.0-1
- First release