Compare commits

...

10 Commits
master ... f24

Author SHA1 Message Date
Richard Hughes 7f388bb3e6 No new smbios on F24 yet 2016-10-19 17:48:35 +01:00
Richard Hughes 669f141128 New upstream release 2016-10-19 17:39:31 +01:00
Peter Jones b763b4f724 Update for libfwup.so.1
Signed-off-by: Peter Jones <pjones@redhat.com>
2016-09-29 10:25:45 -04:00
Richard Hughes 67100b08d9 Use the new CDN for firmware metadata 2016-08-11 18:59:22 +01:00
Kalev Lember c7943b9293 Tighten subpackage dependencies 2016-07-14 11:42:06 +02:00
Kalev Lember fb69dee054 Set minimum required versions of various libraries
... so that we can be sure they get updated in lockstep with fwupd.
2016-07-12 17:39:24 +02:00
Richard Hughes eeb611ae49 New upstream release 2016-06-30 08:43:50 +01:00
Richard Hughes 244b2a7001 New upstream release 2016-05-13 15:29:13 +01:00
Richard Hughes 82e227e28e New upstream release 2016-04-01 15:11:21 +01:00
Richard Hughes 216e716487 New upstream release 2016-03-14 10:41:37 +00:00
3 changed files with 159 additions and 17 deletions

7
.gitignore vendored
View File

@ -13,3 +13,10 @@
/fwupd-0.6.0.tar.xz
/fwupd-0.6.1.tar.xz
/fwupd-0.6.2.tar.xz
/fwupd-0.6.3.tar.xz
/fwupd-0.7.0.tar.xz
/fwupd-0.7.1.tar.xz
/fwupd-0.7.2.tar.xz
/fwupd-0.7.3.tar.xz
/fwupd-0.7.4.tar.xz
/fwupd-0.7.5.tar.xz

View File

@ -1,6 +1,11 @@
%global glib2_version 2.45.8
%global libappstream_version 0.5.10
%global libgusb_version 0.2.9
%global libsoup_version 2.51.92
Summary: Firmware update daemon
Name: fwupd
Version: 0.6.2
Version: 0.7.5
Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/hughsie/fwupd
@ -8,29 +13,39 @@ Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.
BuildRequires: docbook-utils
BuildRequires: gettext
BuildRequires: glib2-devel >= 2.45.8
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: intltool
BuildRequires: libappstream-glib-devel >= %{libappstream_version}
BuildRequires: libgudev1-devel
BuildRequires: libgusb-devel >= %{libgusb_version}
BuildRequires: libsoup-devel >= %{libsoup_version}
BuildRequires: colord-devel >= 1.0.0
BuildRequires: polkit-devel >= 0.103
BuildRequires: libgcab1-devel
BuildRequires: sqlite-devel
BuildRequires: gpgme-devel
BuildRequires: systemd
BuildRequires: libsoup-devel >= 2.51.92
BuildRequires: libarchive-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libappstream-glib-devel >= 0.5.2
BuildRequires: gcab
BuildRequires: valgrind
BuildRequires: elfutils-libelf-devel
BuildRequires: gtk-doc
%ifarch x86_64 %{ix86} aarch64
BuildRequires: fwupdate-devel >= 0.5
BuildRequires: fwupdate-devel >= 7
%endif
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: libdfu%{?_isa} = %{version}-%{release}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: libappstream-glib%{?_isa} >= %{libappstream_version}
Requires: libgusb%{?_isa} >= %{libgusb_version}
Requires: libsoup%{?_isa} >= %{libsoup_version}
Obsoletes: fwupd-sign < 0.1.6
%description
@ -38,20 +53,51 @@ fwupd is a daemon to allow session software to update device firmware.
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Files for development with %{name}.
%package -n libdfu
Summary: A library for DFU
%description -n libdfu
A library for updating USB devices using DFU.
%package -n libdfu-devel
Summary: Development package for libdfu
Requires: libdfu%{?_isa} = %{version}-%{release}
%description -n libdfu-devel
Files for development with libdfu.
%package -n libebitdo
Summary: A library for accessing 8Bitdo hardware
%description -n libebitdo
A library for updating 8Bitdo USB devices.
%package -n libebitdo-devel
Summary: Development package for libebitdo
Requires: libebitdo%{?_isa} = %{version}-%{release}
%description -n libebitdo-devel
Files for development with libebitdo.
%prep
%setup -q
%build
%configure \
--disable-static \
%ifnarch x86_64 %{ix86} aarch64
--enable-gtk-doc \
--enable-colorhug \
%ifarch x86_64 %{ix86} aarch64
--enable-uefi \
%else
--disable-uefi \
%endif
--disable-dell \
--disable-rpath \
--disable-silent-rules \
--disable-dependency-tracking
@ -61,9 +107,13 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -name '*.la' -exec rm -f {} ';'
mkdir --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
%find_lang %{name}
%check
make check VERBOSE=1
%post
/sbin/ldconfig
%systemd_post fwupd.service
@ -75,6 +125,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
/sbin/ldconfig
%systemd_postun_with_restart fwupd.service
%post -n libdfu -p /sbin/ldconfig
%postun -n libdfu -p /sbin/ldconfig
%post -n libebitdo -p /sbin/ldconfig
%postun -n libebitdo -p /sbin/ldconfig
%files -f %{name}.lang
%doc README.md AUTHORS NEWS
%license COPYING
@ -82,35 +138,114 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%dir %{_libexecdir}/fwupd
%{_libexecdir}/fwupd/fwupd
%{_bindir}/fwupdmgr
%{_bindir}/dfu-tool
%{_sysconfdir}/pki/fwupd
%{_sysconfdir}/pki/fwupd-metadata
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/app-info/xmls/org.freedesktop.fwupd.xml
%{_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
%{_datadir}/man/man1/dfu-tool.1.gz
%{_datadir}/gtk-doc/html/libdfu
%{_unitdir}/fwupd-offline-update.service
%{_unitdir}/fwupd.service
%{_unitdir}/system-update.target.wants/
%dir %{_localstatedir}/lib/fwupd
%{_libdir}/lib*.so.*
%{_libdir}/girepository-1.0/*.typelib
%{_libdir}/libfwupd*.so.*
%{_libdir}/girepository-1.0/Fwupd-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
%dir %{_libdir}/fwupd-plugins-1
%{_libdir}/fwupd-plugins-1/*.so
%ghost %{_localstatedir}/lib/fwupd/gnupg
%files devel
%{_datadir}/gir-1.0/Fwupd-1.0.gir
%{_datadir}/gtk-doc/html/libfwupd
%{_includedir}/fwupd-1
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%{_libdir}/libfwupd*.so
%{_libdir}/pkgconfig/fwupd.pc
%files -n libdfu
%{_bindir}/dfu-tool
%{_datadir}/man/man1/dfu-tool.1.gz
%{_libdir}/girepository-1.0/Dfu-1.0.typelib
%{_libdir}/libdfu*.so.*
%files -n libdfu-devel
%{_datadir}/gir-1.0/Dfu-1.0.gir
%{_datadir}/gtk-doc/html/libdfu
%dir %{_includedir}/libdfu
%{_includedir}/dfu.h
%{_includedir}/libdfu/*.h
%{_libdir}/libdfu*.so
%{_libdir}/pkgconfig/dfu.pc
%files -n libebitdo
%{_bindir}/ebitdo-tool
%{_libdir}/libebitdo*.so.*
%files -n libebitdo-devel
%dir %{_includedir}/libebitdo
%{_includedir}/ebitdo.h
%{_includedir}/libebitdo/*.h
%{_libdir}/libebitdo*.so
%{_libdir}/pkgconfig/ebitdo.pc
%changelog
* Wed Oct 19 2016 Richard Hughes <richard@hughsie.com> 0.7.5-1
- New upstream release
- Add quirks for HydraBus as it does not have a DFU runtime
- Don't create the UEFI dummy device if the unlock will happen on next boot
- Fix an assert when unlocking the dummy ESRT device
- Fix writing firmware to devices using the ST reference bootloader
* Thu Sep 29 2016 Peter Jones <pjones@redhat.com> - 0.7.2-4
- Update for libfwup.so.1
* Thu Aug 11 2016 Richard Hughes <richard@hughsie.com> 0.7.2-3
- Use the new CDN for firmware metadata
* Thu Jul 14 2016 Kalev Lember <klember@redhat.com> - 0.7.2-2
- Tighten subpackage dependencies
* Mon Jun 13 2016 Richard Hughes <richard@hughsie.com> 0.7.2-1
- New upstream release
- Allow devices to have multiple assigned GUIDs
- Allow metainfo files to match only specific revisions of devices
- Only claim the DFU interface when required
- Only return updatable devices from GetDevices()
- Show the DFU protocol version in 'dfu-tool list'
* Fri May 13 2016 Richard Hughes <richard@hughsie.com> 0.7.1-1
- New upstream release
- Add device-added, device-removed and device-changed signals
- Add for a new device field "Flashes Left"
- Fix a critical warning when restarting the daemon
- Fix BE issues when reading and writing DFU files
- Make the device display name nicer
- Match the AppStream metadata after a device has been added
- Return all update descriptions newer than the installed version
- Set the device description when parsing local firmware files
* Fri Apr 01 2016 Richard Hughes <richard@hughsie.com> 0.7.0-1
- New upstream release
- Add Alienware to the version quirk table
- Add a version plugin for SteelSeries hardware
- Do not return updates that require AC when on battery
- Return the device flags when getting firmware details
* Mon Mar 14 2016 Richard Hughes <richard@hughsie.com> 0.6.3-1
- New upstream release
- Add an unlock method for devices
- Add ESRT enable method into UEFI provider
- Correct the BCD version number for DFU 1.1
- Ignore the DFU runtime on the DW1820A
- Only read PCI OptionROM firmware when devices are manually unlocked
- Require AC power before scheduling some types of firmware update
* Fri Feb 12 2016 Richard Hughes <richard@hughsie.com> 0.6.2-1
- New upstream release
- Add 'Created' and 'Modified' properties on managed devices
@ -125,7 +260,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
- Do not misdetect different ColorHug devices
- Only dump the profiling data when run with --verbose
* Wed Dec 07 2015 Richard Hughes <richard@hughsie.com> 0.6.0-1
* Mon Dec 07 2015 Richard Hughes <richard@hughsie.com> 0.6.0-1
- New upstream release
- Add support for automatically updating USB DFU-capable devices
- Emit the changed signal after doing an update

View File

@ -1 +1 @@
3d8ad9ef27f112ed06c8ecd8d5a7a1ea fwupd-0.6.2.tar.xz
84ac859bdb83b2f8d7088fdec57a7013 fwupd-0.7.5.tar.xz