New upstream release
This commit is contained in:
parent
94babd5531
commit
31f22d5808
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/fwupd-0.1.1.tar.xz
|
/fwupd-0.1.1.tar.xz
|
||||||
/fwupd-0.1.2.tar.xz
|
/fwupd-0.1.2.tar.xz
|
||||||
/fwupd-0.1.3.tar.xz
|
/fwupd-0.1.3.tar.xz
|
||||||
|
/fwupd-0.1.4.tar.xz
|
||||||
|
47
fwupd.spec
47
fwupd.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Firmware update daemon
|
Summary: Firmware update daemon
|
||||||
Name: fwupd
|
Name: fwupd
|
||||||
Version: 0.1.3
|
Version: 0.1.4
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/hughsie/fwupd
|
URL: https://github.com/hughsie/fwupd
|
||||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||||
@ -17,6 +17,7 @@ BuildRequires: libgcab1-devel
|
|||||||
BuildRequires: sqlite-devel
|
BuildRequires: sqlite-devel
|
||||||
BuildRequires: gpgme-devel
|
BuildRequires: gpgme-devel
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
|
BuildRequires: libsoup-devel
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: libappstream-glib-devel >= 0.3.6
|
BuildRequires: libappstream-glib-devel >= 0.3.6
|
||||||
|
|
||||||
@ -28,10 +29,6 @@ Requires(post): systemd
|
|||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
|
|
||||||
%ifarch x86_64 %{ix86} aarch64
|
|
||||||
Requires: efibootmgr
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fwupd is a daemon to allow session software to update device firmware.
|
fwupd is a daemon to allow session software to update device firmware.
|
||||||
|
|
||||||
@ -42,11 +39,22 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
Files for development with %{name}.
|
Files for development with %{name}.
|
||||||
|
|
||||||
|
%package sign
|
||||||
|
Summary: Firmware signing server
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description sign
|
||||||
|
This package provides a signing server suitable for automatically signing
|
||||||
|
firmware in .cab archives.
|
||||||
|
The values in /etc/fwsignd.conf file should be set before starting the daemon.
|
||||||
|
You probably don't need this package unless you're implementing a LVFS clone.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
--enable-fwsignd \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
%ifnarch x86_64 %{ix86} aarch64
|
%ifnarch x86_64 %{ix86} aarch64
|
||||||
--disable-uefi \
|
--disable-uefi \
|
||||||
@ -63,6 +71,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%pre sign
|
||||||
|
getent group fwsignd >/dev/null || groupadd -r fwsignd
|
||||||
|
getent passwd fwsignd >/dev/null || \
|
||||||
|
useradd -r -g fwsignd -d /var/lib/fwsignd -s /sbin/nologin \
|
||||||
|
-c "User for fwsignd" fwsignd
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_post fwupd.service
|
%systemd_post fwupd.service
|
||||||
@ -80,17 +94,29 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_libexecdir}/fwupd
|
%{_libexecdir}/fwupd
|
||||||
%{_bindir}/fwupdmgr
|
%{_bindir}/fwupdmgr
|
||||||
%{_sysconfdir}/pki/fwupd
|
%{_sysconfdir}/pki/fwupd
|
||||||
|
%{_sysconfdir}/pki/fwupd-metadata
|
||||||
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
||||||
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
||||||
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
|
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
|
||||||
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
|
||||||
%{_datadir}/man/man1/fwupdmgr.1.gz
|
%{_datadir}/man/man1/fwupdmgr.1.gz
|
||||||
%{_unitdir}/*.service
|
%{_unitdir}/fwupd-offline-update.service
|
||||||
|
%{_unitdir}/fwupd.service
|
||||||
%{_unitdir}/system-update.target.wants/*.service
|
%{_unitdir}/system-update.target.wants/*.service
|
||||||
%dir %{_localstatedir}/lib/fwupd
|
%dir %{_localstatedir}/lib/fwupd
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_libdir}/girepository-1.0/*.typelib
|
%{_libdir}/girepository-1.0/*.typelib
|
||||||
|
%dir %{_localstatedir}/cache/app-info
|
||||||
|
%dir %{_localstatedir}/cache/app-info/icons
|
||||||
|
%dir %{_localstatedir}/cache/app-info/xmls
|
||||||
|
/usr/lib/udev/rules.d/*.rules
|
||||||
|
|
||||||
|
%files sign
|
||||||
|
%config(noreplace)%{_sysconfdir}/fwsignd.conf
|
||||||
|
%{_unitdir}/fwsignd.service
|
||||||
|
%{_libexecdir}/fwsignd
|
||||||
|
%attr(755,fwsignd,fwsignd) %dir %{_localstatedir}/lib/fwsignd
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/fwupd-1
|
%{_includedir}/fwupd-1
|
||||||
@ -99,6 +125,13 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_datadir}/gir-1.0/*.gir
|
%{_datadir}/gir-1.0/*.gir
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 25 2015 Richard Hughes <richard@hughsie.com> 0.1.4-1
|
||||||
|
- New upstream release
|
||||||
|
- Actually parse the complete PCI option ROM
|
||||||
|
- Add a 'fwupdmgr update' command to update all devices to latest versions
|
||||||
|
- Add a simple signing server that operates on .cab files
|
||||||
|
- Add a 'verify' command that verifies the cryptographic hash of device firmware
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user