fwupd/fwupd.spec

165 lines
4.8 KiB
RPMSpec
Raw Normal View History

2015-03-16 20:48:34 +00:00
Summary: Firmware update daemon
Name: fwupd
2015-09-10 08:35:07 +00:00
Version: 0.1.6
Release: 2%{?dist}
2015-03-16 20:48:34 +00:00
License: GPLv2+
URL: https://github.com/hughsie/fwupd
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
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
2015-04-22 14:24:34 +00:00
BuildRequires: gpgme-devel
2015-03-16 20:48:34 +00:00
BuildRequires: systemd
2015-07-25 13:59:41 +00:00
BuildRequires: libsoup-devel
2015-08-12 08:55:18 +00:00
BuildRequires: libarchive-devel
2015-03-23 13:27:29 +00:00
BuildRequires: gobject-introspection-devel
2015-08-12 08:55:18 +00:00
BuildRequires: libappstream-glib-devel >= 0.5.0
BuildRequires: gcab
%ifarch x86_64 %{ix86} aarch64
BuildRequires: fwupdate-devel >= 0.4
%endif
2015-03-16 20:48:34 +00:00
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
2015-09-10 08:35:07 +00:00
Obsoletes: fwupd-sign
2015-03-16 20:48:34 +00:00
%description
fwupd is a daemon to allow session software to update device firmware.
2015-03-23 12:04:07 +00:00
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
Files for development with %{name}.
2015-03-16 20:48:34 +00:00
%prep
%setup -q
%build
%configure \
--disable-static \
%ifnarch x86_64 %{ix86} aarch64
--disable-uefi \
%endif
2015-03-16 20:48:34 +00:00
--disable-rpath \
--disable-silent-rules \
--disable-dependency-tracking
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
2015-03-23 12:04:07 +00:00
find %{buildroot} -name '*.la' -exec rm -f {} ';'
2015-03-16 20:48:34 +00:00
%find_lang %{name}
%post
2015-03-23 12:04:07 +00:00
/sbin/ldconfig
2015-03-16 20:48:34 +00:00
%systemd_post fwupd.service
%preun
%systemd_preun fwupd.service
%postun
2015-03-23 12:04:07 +00:00
/sbin/ldconfig
2015-03-16 20:48:34 +00:00
%systemd_postun_with_restart fwupd.service
%files -f %{name}.lang
%doc README.md AUTHORS NEWS
%license COPYING
2015-08-12 08:55:18 +00:00
%config(noreplace)%{_sysconfdir}/fwupd.conf
2015-09-10 08:35:07 +00:00
%dir %{_libexecdir}/fwupd
%{_libexecdir}/fwupd/fwupd
2015-03-16 20:48:34 +00:00
%{_bindir}/fwupdmgr
2015-04-22 14:24:34 +00:00
%{_sysconfdir}/pki/fwupd
2015-07-25 13:59:41 +00:00
%{_sysconfdir}/pki/fwupd-metadata
2015-03-16 20:48:34 +00:00
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
%{_datadir}/man/man1/fwupdmgr.1.gz
2015-09-10 08:35:07 +00:00
%{_unitdir}/fwupd-offline-update.service
2015-07-25 13:59:41 +00:00
%{_unitdir}/fwupd.service
%{_unitdir}/system-update.target.wants/
2015-03-16 20:48:34 +00:00
%dir %{_localstatedir}/lib/fwupd
2015-03-23 12:04:07 +00:00
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/*.typelib
2015-07-25 13:59:41 +00:00
%dir %{_localstatedir}/cache/app-info
%dir %{_localstatedir}/cache/app-info/icons
%dir %{_localstatedir}/cache/app-info/xmls
/usr/lib/udev/rules.d/*.rules
2015-03-23 12:04:07 +00:00
%files devel
%{_includedir}/fwupd-1
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
2015-03-16 20:48:34 +00:00
%changelog
* Thu Sep 10 2015 Kalev Lember <klember@redhat.com> 0.1.6-2
- Own system-update.target.wants directory
2015-09-10 08:35:07 +00:00
* Thu Sep 10 2015 Richard Hughes <richard@hughsie.com> 0.1.6-1
- New upstream release
- Add application metadata when getting the updates list
- Remove fwsignd, we have the LVFS now
* Fri Aug 21 2015 Kalev Lember <klember@redhat.com> 0.1.5-3
- Disable fwupd offline update service
2015-08-19 19:34:00 +00:00
* Wed Aug 19 2015 Richard Hughes <richard@hughsie.com> 0.1.5-2
- Use the non-beta download URL prefix
2015-08-12 08:55:18 +00:00
* Wed Aug 12 2015 Richard Hughes <richard@hughsie.com> 0.1.5-1
- New upstream release
- Add a Raspberry Pi firmware provider
- Fix validation of written firmware
- Make parsing the option ROM runtime optional
- Use the AppStream 0.9 firmware specification by default
2015-07-25 13:59:41 +00:00
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Jun 03 2015 Richard Hughes <richard@hughsie.com> 0.1.3-2
- Compile with libfwupdate for UEFI firmware support.
2015-05-28 08:51:09 +00:00
* Thu May 28 2015 Richard Hughes <richard@hughsie.com> 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
2015-04-22 14:24:34 +00:00
* Wed Apr 22 2015 Richard Hughes <richard@hughsie.com> 0.1.2-1
- New upstream release
- Only allow signed firmware to be upgraded without a password
2015-03-23 12:04:07 +00:00
* Mon Mar 23 2015 Richard Hughes <richard@hughsie.com> 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
2015-03-16 20:48:34 +00:00
* Mon Mar 16 2015 Richard Hughes <richard@hughsie.com> 0.1.0-1
- First release