Sisyphus repositório
Última atualização: 12 novembro 2019 | SRPMs: 17528 | Visitas: 15702059
en ru br
ALT Linux repositórios
S:1.3.3-alt1

Group :: Sistema/Configurações/Hadware
RPM: fwupd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: fwupd-1.3.3-alt.patch
Download


 .gear/fwupd.spec                                   | 352 +++++++++++++++++++++
 .gear/fwupd.watch                                  |   6 +
 .gear/rules                                        |   4 +
 .../tags/8c42cd7d9f3c05085f0dc2bc335c11cb99c8bff9  |  17 +
 .gear/tags/list                                    |   1 +
 meson.build                                        |   2 +-
 plugins/dell/meson.build                           |   2 +-
 7 files changed, 382 insertions(+), 2 deletions(-)
diff --git a/.gear/fwupd.spec b/.gear/fwupd.spec
new file mode 100644
index 0000000..4e247b0
--- /dev/null
+++ b/.gear/fwupd.spec
@@ -0,0 +1,352 @@
+%def_enable tests
+%def_enable dummy
+
+# fwupdate is only available on these arches
+%ifarch x86_64 aarch64
+%def_enable uefi
+%endif
+
+# libsmbios is only available on x86, and fwupdate is available on just x86_64
+%ifarch x86_64
+%def_enable dell
+%endif
+
+Summary: Firmware update daemon
+Name: fwupd
+Version: 1.3.3
+Release: alt1
+License: GPLv2+
+Group: System/Configuration/Hardware
+Url: https://github.com/hughsie/fwupd
+Source0: %name-%version.tar
+Source2: fwupd.watch
+Patch0: %name-%version-alt.patch
+ExclusiveArch: %ix86 x86_64 aarch64 ppc64le
+
+BuildRequires: docbook-utils
+BuildRequires: gettext
+BuildRequires: glib2-devel
+BuildRequires: libappstream-glib-devel
+BuildRequires: libjson-glib-devel
+BuildRequires: libgudev-devel
+BuildRequires: libudev-devel
+BuildRequires: libgusb-devel
+BuildRequires: libsoup-devel
+BuildRequires: libsoup-gir-devel
+BuildRequires: libcolord-devel
+BuildRequires: libpolkit-devel
+BuildRequires: libsqlite3-devel
+BuildRequires: libsystemd-devel
+BuildRequires: libgpgme-devel
+BuildRequires: systemd 
+BuildRequires: libumockdev-devel
+BuildRequires: gcab
+BuildRequires: libarchive-devel
+BuildRequires: gobject-introspection-devel
+BuildRequires: libgcab-devel
+BuildRequires: valgrind-devel
+BuildRequires: libelf-devel
+BuildRequires: gtk-doc
+BuildRequires: libuuid-devel
+BuildRequires: libgnutls-devel
+BuildRequires: gnutls-utils
+BuildRequires: meson
+BuildRequires: vala-tools
+BuildRequires: help2man
+BuildRequires: libxmlb-devel
+BuildRequires: bash-completion
+BuildRequires: libtpm2-tss-devel
+BuildRequires: cmake
+
+%if_enabled dell
+BuildRequires: libsmbios-devel
+%endif
+
+%if_enabled tests
+BuildRequires: /proc
+%endif
+
+%if_enabled uefi
+BuildRequires: python3 python3-module-pycairo python3-module-pygobject3 python3-module-Pillow
+BuildRequires: libpango-devel
+BuildRequires: libcairo-devel libcairo-gobject-devel
+BuildRequires: libfreetype-devel
+BuildRequires: fontconfig
+BuildRequires: fonts-ttf-dejavu
+BuildRequires: gnu-efi libefivar-devel
+Provides: fwupdate
+Obsoletes: fwupdate
+%endif
+
+Requires: fwupd-labels = %EVR
+Requires: bubblewrap
+
+%description
+fwupd is a daemon to allow session software to update device firmware.
+
+%package devel
+Summary: Development package for %name
+Group: Development/C
+Requires: %name = %EVR
+
+%description devel
+Files for development with %name.
+
+%package labels
+Group: System/Configuration/Hardware
+Summary: Rendered labels for display during system firmware updates
+# RedHat: BuildArch: noarch is disabled as we can get "different" .BMP files even when
+# running the build on the same architecture due to the randomness introduced
+# by the TTF files.
+
+%description labels
+Rendered labels for display during system firmware updates.
+
+%package tests
+Group: System/Configuration/Hardware
+Summary: Data files for installed tests
+BuildArch: noarch
+
+%description tests
+Data files for installed tests.
+
+%prep
+%setup
+%patch0 -p1
+
+%build
+%meson \
+    -Dgtkdoc=true \
+    -Dman=false \
+    -Dlvfs=true \
+    -Dplugin_flashrom=false \
+%if_enabled tests
+    -Dtests=true \
+%else
+    -Dtests=false \
+%endif
+%if_enabled dummy
+    -Dplugin_dummy=true \
+%else
+    -Dplugin_dummy=false \
+%endif
+    -Dplugin_thunderbolt=true \
+%if_enabled uefi
+    -Dplugin_uefi=true \
+    -Dplugin_redfish=true \
+    -Dplugin_nvme=true \
+%else
+    -Dplugin_uefi=false \
+    -Dplugin_redfish=false \
+    -Dplugin_nvme=false \
+%endif
+%if_enabled dell
+    -Dplugin_dell=true \
+    -Dplugin_synaptics=true \
+%else
+    -Dplugin_dell=false \
+    -Dplugin_synaptics=false \
+%endif
+
+%meson_build
+
+%if_enabled tests
+%check
+export LD_LIBRARY_PATH=%buildroot%_libdir 
+%meson_test
+%endif
+
+%install
+%meson_install
+
+mkdir -p --mode=0700 %buildroot%_localstatedir/fwupd/gnupg
+
+%find_lang %name
+
+%files -f %name.lang
+%doc README.md AUTHORS COPYING
+%config(noreplace)%_sysconfdir/fwupd/daemon.conf
+%config(noreplace)%_sysconfdir/fwupd/thunderbolt.conf
+%dir %_libexecdir/fwupd
+%dir %_iconsdir/hicolor/scalable/apps
+%_libexecdir/fwupd/fwupd
+%_libexecdir/fwupd/fwupdtool
+%_libexecdir/fwupd/fwupdagent
+%_libexecdir/fwupd/fwupdoffline
+%_datadir/bash-completion/completions/*
+%_iconsdir/hicolor/scalable/apps/org.freedesktop.fwupd.svg
+%if_enabled uefi
+%_libexecdir/fwupd/fwupdate
+%_libdir/efi/fwupd*.efi
+%endif
+%_bindir/dfu-tool
+%_bindir/fwupdmgr
+%dir %_sysconfdir/fwupd
+%dir %_sysconfdir/fwupd/remotes.d
+%config(noreplace)%_sysconfdir/fwupd/remotes.d/*.conf
+%_sysconfdir/pki/fwupd
+%_sysconfdir/pki/fwupd-metadata
+%_datadir/dbus-1/system.d/org.freedesktop.fwupd.conf
+%ifarch x86_64
+%_datadir/fwupd/remotes.d/dell-esrt/metadata.xml
+%endif
+%_datadir/fwupd/remotes.d/vendor/firmware
+%_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/metainfo/org.freedesktop.fwupd.metainfo.xml
+%_datadir/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
+%_datadir/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml
+%_datadir/fwupd/firmware-packager
+%_presetdir/fwupd-refresh.preset
+%_unitdir/fwupd-offline-update.service
+%_unitdir/fwupd.service
+%_unitdir/fwupd-refresh.timer
+%_unitdir/fwupd-refresh.service
+%_unitdir/system-update.target.wants/
+/lib/systemd/system-shutdown/fwupd.shutdown
+%dir %_localstatedir/fwupd
+%dir %_datadir/fwupd/quirks.d
+%dir %_localstatedir/fwupd/builder
+%_localstatedir/fwupd/builder/README.md
+%_datadir/fwupd/quirks.d/*.quirk
+%_libdir/libfwupd*.so.*
+%_libdir/girepository-1.0/Fwupd-2.0.typelib
+/lib/udev/rules.d/*.rules
+%dir %_libdir/fwupd-plugins-3
+%_libdir/fwupd-plugins-3/libfu_plugin_altos.so
+%_libdir/fwupd-plugins-3/libfu_plugin_ata.so
+%_libdir/fwupd-plugins-3/libfu_plugin_csr.so
+%_libdir/fwupd-plugins-3/libfu_plugin_amt.so
+%_libdir/fwupd-plugins-3/libfu_plugin_emmc.so
+%_libdir/fwupd-plugins-3/libfu_plugin_colorhug.so
+%_libdir/fwupd-plugins-3/libfu_plugin_coreboot.so
+%if_enabled dell
+%_libdir/fwupd-plugins-3/libfu_plugin_dell.so
+%_libdir/fwupd-plugins-3/libfu_plugin_dell_esrt.so
+%endif
+%_libdir/fwupd-plugins-3/libfu_plugin_dell_dock.so
+%_libdir/fwupd-plugins-3/libfu_plugin_dfu.so
+%_libdir/fwupd-plugins-3/libfu_plugin_ebitdo.so
+%_libdir/fwupd-plugins-3/libfu_plugin_fastboot.so
+%_libdir/fwupd-plugins-3/libfu_plugin_nitrokey.so
+%_libdir/fwupd-plugins-3/libfu_plugin_rts54hid.so
+%_libdir/fwupd-plugins-3/libfu_plugin_rts54hub.so
+%_libdir/fwupd-plugins-3/libfu_plugin_superio.so
+%_libdir/fwupd-plugins-3/libfu_plugin_solokey.so
+%_libdir/fwupd-plugins-3/libfu_plugin_steelseries.so
+%_libdir/fwupd-plugins-3/libfu_plugin_jabra.so
+%_libdir/fwupd-plugins-3/libfu_plugin_optionrom.so
+%_libdir/fwupd-plugins-3/libfu_plugin_synaptics_rmi.so
+%_libdir/fwupd-plugins-3/libfu_plugin_vli_usbhub.so
+%_libdir/fwupd-plugins-3/libfu_plugin_synaptics_cxaudio.so
+%_libdir/fwupd-plugins-3/libfu_plugin_synaptics_prometheus.so
+%if_enabled dell
+%_libdir/fwupd-plugins-3/libfu_plugin_synapticsmst.so
+%endif
+%if_enabled dummy
+%_libdir/fwupd-plugins-3/libfu_plugin_test.so
+%endif
+%_libdir/fwupd-plugins-3/libfu_plugin_thelio_io.so
+%_libdir/fwupd-plugins-3/libfu_plugin_thunderbolt.so
+%_libdir/fwupd-plugins-3/libfu_plugin_thunderbolt_power.so
+%if_enabled uefi
+%_libdir/fwupd-plugins-3/libfu_plugin_nvme.so
+%_libdir/fwupd-plugins-3/libfu_plugin_uefi.so
+%_libdir/fwupd-plugins-3/libfu_plugin_uefi_recovery.so
+%_libdir/fwupd-plugins-3/libfu_plugin_redfish.so
+%config(noreplace)%_sysconfdir/fwupd/uefi.conf
+%config(noreplace)%_sysconfdir/fwupd/redfish.conf
+%endif
+%_libdir/fwupd-plugins-3/libfu_plugin_unifying.so
+%_libdir/fwupd-plugins-3/libfu_plugin_upower.so
+%_libdir/fwupd-plugins-3/libfu_plugin_wacom_usb.so
+%_libdir/fwupd-plugins-3/libfu_plugin_wacom_raw.so
+
+%ghost %_localstatedir/fwupd/gnupg
+
+%files devel
+%_datadir/gir-1.0/Fwupd-2.0.gir
+%_datadir/gtk-doc/html/libfwupd
+%_includedir/fwupd-1
+%_libdir/libfwupd*.so
+%_libdir/pkgconfig/fwupd.pc
+%_datadir/vala/vapi/fwupd.*
+
+%files labels
+%if_enabled uefi
+%_datadir/locale/*/LC_IMAGES/fwupd*
+%endif
+
+%files tests
+%dir %_datadir/installed-tests/fwupd
+%_datadir/installed-tests/fwupd/fwupd-tests.xml
+%_datadir/installed-tests/fwupd/*.test
+%_datadir/installed-tests/fwupd/*.cab
+%_datadir/installed-tests/fwupd/*.sh
+%_datadir/installed-tests/fwupd/*.py*
+
+%changelog
+* Thu Nov 07 2019 Anton Farygin <rider@altlinux.ru> 1.3.3-alt1
+- 1.3.3
+- enabled tests
+
+* Mon Sep 30 2019 Anton Farygin <rider@altlinux.ru> 1.3.2-alt1
+- 1.3.2
+
+* Mon Sep 16 2019 Anton Farygin <rider@altlinux.ru> 1.3.1-alt1
+- 1.3.1
+
+* Tue Jul 30 2019 Anton Farygin <rider@altlinux.ru> 1.2.10-alt1
+- 1.2.10
+
+* Mon Jul 15 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.2.9-alt2
+- Added ppc64le to ExclusiveArch tag.
+
+* Fri May 24 2019 Anton Farygin <rider@altlinux.ru> 1.2.9-alt1
+- 1.2.9
+
+* Thu Apr 25 2019 Anton Farygin <rider@altlinux.ru> 1.2.8-alt1
+- 1.2.8
+
+* Tue Apr 16 2019 Anton Farygin <rider@altlinux.ru> 1.2.7-alt1
+- 1.2.7
+
+* Mon Apr 01 2019 Anton Farygin <rider@altlinux.ru> 1.2.6-alt1
+- 1.2.6
+
+* Wed Mar 06 2019 Anton Farygin <rider@altlinux.ru> 1.2.5-alt1
+- 1.2.5
+
+* Mon Feb 11 2019 Anton Farygin <rider@altlinux.ru> 1.2.4-alt1
+- 1.2.4
+
+* Mon Jan 07 2019 Anton Farygin <rider@altlinux.ru> 1.2.3-alt1
+- 1.2.3
+
+* Mon Dec 03 2018 Anton Farygin <rider@altlinux.ru> 1.2.1-alt1
+- 1.2.1
+
+* Mon Nov 12 2018 Anton Farygin <rider@altlinux.ru> 1.2.0-alt1
+- 1.2.0
+
+* Wed Oct 17 2018 Anton Farygin <rider@altlinux.ru> 1.1.3-alt1
+- 1.1.3
+
+* Mon Sep 03 2018 Anton Farygin <rider@altlinux.ru> 1.1.1-alt1
+- 1.1.1
+
+* Tue Jul 31 2018 Anton Farygin <rider@altlinux.ru> 1.1.0-alt1
+- 1.1.0
+
+* Fri May 04 2018 Anton Farygin <rider@altlinux.ru> 1.0.7-alt1
+- 1.0.7
+
+* Thu Mar 22 2018 Anton Farygin <rider@altlinux.ru> 1.0.6-alt1
+- new version
+- temporarily disabled check section due to impossible testing of the thunderbolt interface in the hasher environment
+
+* Wed Mar 07 2018 Anton Farygin <rider@altlinux.ru> 1.0.5-alt1
+- first build for ALT, based on RH spec
+
diff --git a/.gear/fwupd.watch b/.gear/fwupd.watch
new file mode 100644
index 0000000..4d77e52
--- /dev/null
+++ b/.gear/fwupd.watch
@@ -0,0 +1,6 @@
+# You can run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/fwupd-$1\.tar\.gz/ \
+https://github.com/hughsie/fwupd/tags .*/v?(\d\S*)\.tar\.gz
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..83bb9da
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,4 @@
+spec: .gear/fwupd.spec
+diff: @version@:. . name=@name@-@version@-alt.patch
+tar: @version@:.
+copy: .gear/fwupd.watch
diff --git a/.gear/tags/8c42cd7d9f3c05085f0dc2bc335c11cb99c8bff9 b/.gear/tags/8c42cd7d9f3c05085f0dc2bc335c11cb99c8bff9
new file mode 100644
index 0000000..e7c531b
--- /dev/null
+++ b/.gear/tags/8c42cd7d9f3c05085f0dc2bc335c11cb99c8bff9
@@ -0,0 +1,17 @@
+object f6526ddb63ad29a90323ec16ec411dc65516e401
+type commit
+tag 1.3.3
+tagger Richard Hughes <richard@hughsie.com> 1572620776 +0000
+
+Release fwupd 1.3.3
+-----BEGIN PGP SIGNATURE-----
+
+iQFIBAABCAAyFiEEFj61ARkiXbPfj0nqF6y6jfqXDhcFAl28SegUHHJpY2hhcmRA
+aHVnaHNpZS5jb20ACgkQF6y6jfqXDhfOrwf/ZePmD6DqSO/AV54vDFNor5SLbY+R
+SS+ntfLeAQr4dVli/PY8qgb1xxh7DdaeeKsF44f3yWbel1g2bZ13IKf2mJVX1iwH
+eo7OhC3P2dweIaLTogwVNWKV8+Xz3d6JatBomCC16coeVMo7EAMHz83SHieW4M2l
+ESKHjEXd4cwGhLrobjj4JuCUp3CRDudp3wbLdIQFgi+si82D0VM99ZjFMDTt9qnj
+0CHP2ZEk2zHrhZLQ0p8Y9s3cVRphWDHq0PtE4CoTKoX2vAeOMfPOIS4i+6g0wm//
+cAwwjmuimH+8aEgeoH9PeKlxQSNnK5vjv/T7wsnM7OxlsM6iQhcpAYP5tw==
+=SKGk
+-----END PGP SIGNATURE-----
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..4057d71
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+8c42cd7d9f3c05085f0dc2bc335c11cb99c8bff9 1.3.3
diff --git a/meson.build b/meson.build
index 8e1de88..7e18670 100644
--- a/meson.build
+++ b/meson.build
@@ -237,7 +237,7 @@ if build_standalone and get_option('plugin_uefi')
   tpm2tss = dependency('tss2-esys', version : '>= 2.0')
   genpeimg = find_program ('genpeimg', required: false)
 
-  efi_app_location = join_paths(libexecdir, 'fwupd', 'efi')
+  efi_app_location = join_paths(libdir, 'efi')
   conf.set_quoted ('EFI_APP_LOCATION', efi_app_location)
 
   efi_arch = host_machine.cpu_family()
diff --git a/plugins/dell/meson.build b/plugins/dell/meson.build
index 171154f..945a5fe 100644
--- a/plugins/dell/meson.build
+++ b/plugins/dell/meson.build
@@ -31,7 +31,7 @@ shared_module('fu_plugin_dell',
   ],
 )
 
-if get_option('tests')
+if false
   testdatadir = join_paths(meson.current_source_dir(), 'tests')
   cargs += '-DTESTDATADIR="' + testdatadir + '"'
   cargs += '-DFU_OFFLINE_DESTDIR="/tmp/fwupd-self-test"'
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009