]>
Commit | Line | Data |
---|---|---|
8dceaca0 JB |
1 | # |
2 | # Conditional build: | |
328e4a1a | 3 | %bcond_without apidocs |
445379a6 | 4 | %bcond_without efi # UEFI (and dell, redfish) support |
425d8043 JB |
5 | %bcond_without flashrom # flashrom plugin |
6 | %bcond_without modemmanager # modem_manager plugin | |
9d82ffc9 | 7 | %bcond_without thunderbolt # Thunderbolt support |
dad21322 | 8 | |
445379a6 | 9 | %ifnarch %{ix86} %{x8664} x32 %{arm} aarch64 |
8dceaca0 JB |
10 | %undefine with_efi |
11 | %endif | |
12 | Summary: System daemon for installing device firmware | |
13 | Summary(pl.UTF-8): Demon systemowy do instalowania firmware'u urządzeń | |
14 | Name: fwupd | |
64481fa6 | 15 | Version: 1.6.5 |
6c954d9b | 16 | Release: 1 |
bd3466ff | 17 | License: LGPL v2.1+ |
8dceaca0 | 18 | Group: Applications/System |
2a7d50df | 19 | Source0: https://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz |
64481fa6 | 20 | # Source0-md5: 7d38a547d8fdbf379998c572946b8be3 |
8dceaca0 | 21 | URL: https://github.com/hughsie/fwupd |
425d8043 | 22 | %{?with_modemmanager:BuildRequires: ModemManager-devel >= 1.10.0} |
6c954d9b | 23 | BuildRequires: bash-completion-devel >= 2.0 |
445379a6 | 24 | %{?with_cairo:BuildRequires: cairo-devel} |
6c954d9b | 25 | BuildRequires: curl-devel >= 7.62.0 |
579e28a9 | 26 | BuildRequires: docbook-dtd41-sgml |
f29fd781 | 27 | BuildRequires: docbook-utils |
445379a6 | 28 | %{?with_efi:BuildRequires: efivar-devel >= 33} |
e5466782 JB |
29 | # pkgconfig(libelf); can be also libelf-devel |
30 | BuildRequires: elfutils-devel >= 0.166 | |
445379a6 JB |
31 | %{?with_fontconfig:BuildRequires: fontconfig-devel} |
32 | %{?with_fontconfig:BuildRequires: freetype-devel >= 2} | |
445379a6 JB |
33 | BuildRequires: gcab-devel >= 1.0 |
34 | # C99 | |
35 | BuildRequires: gcc >= 5:3.2 | |
e22481c9 JB |
36 | %ifarch x32 |
37 | BuildRequires: gcc-multilib-64 >= 5:3.2 | |
38 | %endif | |
bd3466ff | 39 | BuildRequires: gettext-tools >= 0.19.7 |
445379a6 JB |
40 | BuildRequires: glib2-devel >= 1:2.55.0 |
41 | %{?with_efi:BuildRequires: gnu-efi} | |
425d8043 | 42 | BuildRequires: gnutls-devel >= 3.6.0 |
8dceaca0 | 43 | BuildRequires: gobject-introspection-devel >= 0.9.8 |
868d82b7 | 44 | BuildRequires: gpgme-devel |
328e4a1a | 45 | %{?with_doc:BuildRequires: gtk-doc >= 1.14} |
8dceaca0 | 46 | BuildRequires: intltool >= 0.35.0 |
445379a6 | 47 | BuildRequires: json-glib-devel >= 1.1.1 |
91b560a2 | 48 | BuildRequires: libarchive-devel |
6c954d9b | 49 | %{?with_flashrom:BuildRequires: libflashrom-devel >= 1.2} |
868d82b7 | 50 | BuildRequires: libgpg-error-devel |
445379a6 | 51 | BuildRequires: libgudev-devel >= 232 |
6c954d9b | 52 | BuildRequires: libgusb-devel >= 0.3.5 |
d5513f57 | 53 | BuildRequires: libjcat-devel >= 0.1.0 |
70eebab3 JB |
54 | %{?with_modemmanager:BuildRequires: libmbim-devel >= 1.22.0} |
55 | %{?with_modemmanager:BuildRequires: libqmi-devel >= 1.23.1} | |
425d8043 | 56 | # for dell (which requires also uefi plugin and efivar) |
445379a6 | 57 | %{?with_efi:BuildRequires: libsmbios-devel >= 2.4.0} |
67e55b6b | 58 | BuildRequires: libsoup-devel >= 2.52 |
445379a6 | 59 | BuildRequires: libuuid-devel |
328e4a1a | 60 | BuildRequires: libxmlb-devel >= 0.1.13 |
8dceaca0 | 61 | BuildRequires: libxslt-progs |
445379a6 JB |
62 | # for <linux/nvme_ioctl.h> |
63 | BuildRequires: linux-libc-headers >= 7:4.4 | |
70eebab3 | 64 | BuildRequires: meson >= 0.50.0 |
579e28a9 | 65 | BuildRequires: ninja >= 1.6 |
8dceaca0 | 66 | BuildRequires: pkgconfig |
445379a6 | 67 | BuildRequires: polkit-devel >= 0.114 |
d5513f57 | 68 | BuildRequires: python3 >= 1:3.0 |
bfd8ba8d AM |
69 | BuildRequires: python3-pillow |
70 | BuildRequires: python3-pycairo | |
6c954d9b JB |
71 | BuildRequires: rpm-build >= 4.6 |
72 | BuildRequires: rpmbuild(macros) >= 1.736 | |
8dceaca0 | 73 | BuildRequires: sqlite3-devel >= 3 |
445379a6 | 74 | BuildRequires: systemd-units >= 1:211 |
8dceaca0 | 75 | BuildRequires: tar >= 1:1.22 |
d5513f57 | 76 | BuildRequires: tpm2-tss-devel >= 2.0 |
bd3466ff | 77 | BuildRequires: udev-devel |
445379a6 | 78 | %{?with_thunderbolt:BuildRequires: umockdev-devel} |
8dceaca0 | 79 | BuildRequires: xz |
6c954d9b | 80 | BuildRequires: xz-devel |
8dceaca0 | 81 | Requires: %{name}-libs = %{version}-%{release} |
425d8043 | 82 | %{?with_modemmanager:BuildRequires: ModemManager-libs >= 1.10.0} |
6c954d9b | 83 | Requires: curl-libs >= 7.62.0 |
445379a6 | 84 | Requires: gcab >= 1.0 |
425d8043 | 85 | Requires: gnutls-libs >= 3.6.0 |
445379a6 | 86 | Requires: libgudev >= 232 |
6c954d9b | 87 | Requires: libgusb >= 0.3.5 |
d5513f57 | 88 | Requires: libjcat >= 0.1.0 |
70eebab3 JB |
89 | %{?with_modemmanager:Requires: libmbim >= 1.22.0} |
90 | %{?with_modemmanager:Requires: libqmi >= 1.23.1} | |
445379a6 | 91 | %{?with_efi:Requires: libsmbios >= 2.4.0} |
67e55b6b | 92 | Requires: libsoup >= 2.52 |
425d8043 | 93 | Requires: libxmlb >= 0.1.7 |
445379a6 | 94 | Requires: polkit >= 0.114 |
d5513f57 | 95 | Requires: tpm2-tss >= 2.0 |
6c954d9b JB |
96 | %if %{with efi} |
97 | Suggests: fwupd-efi | |
98 | %endif | |
8dceaca0 JB |
99 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
100 | ||
101 | %description | |
102 | fwupd is a simple daemon to allow session software to update device | |
103 | firmware on your local machine. It's designed for desktops, but this | |
104 | project is probably quite interesting for phones, tablets and server | |
105 | farms. | |
106 | ||
107 | %description -l pl.UTF-8 | |
108 | fwupd to prosty demon pozwalający programom sesyjnym na aktualizację | |
109 | firmware'u urządzeń na maszynie lokalnej. Jest zaprojektowany dla | |
110 | komputerów osobistych, ale może być interesujący także dla telefonów, | |
111 | tabletów i farm serwerów. | |
112 | ||
445379a6 JB |
113 | %package -n bash-completion-fwupd |
114 | Summary: Bash completion for fwupd commands | |
115 | Summary(pl.UTF-8): Bashowe dopełnianie składni poleceń fwupd | |
116 | Group: Applications/Shells | |
117 | Requires: %{name} = %{version}-%{release} | |
118 | Requires: bash-completion >= 2.0 | |
119 | ||
120 | %description -n bash-completion-fwupd | |
121 | Bash completion for fwupd commands. | |
122 | ||
123 | %description -n bash-completion-fwupd -l pl.UTF-8 | |
124 | Bashowe dopełnianie składni poleceń fwupd. | |
125 | ||
d5513f57 JB |
126 | %package -n fish-completion-fwupd |
127 | Summary: Fish completion for fwupd commands | |
128 | Summary(pl.UTF-8): Dopełnianie składni poleceń fwupd w fish | |
129 | Group: Applications/Shells | |
130 | Requires: %{name} = %{version}-%{release} | |
131 | Requires: fish | |
132 | ||
133 | %description -n fish-completion-fwupd | |
134 | Fish completion for fwupd commands. | |
135 | ||
136 | %description -n fish-completion-fwupd -l pl.UTF-8 | |
137 | Dopełnianie składni poleceń fwupd w fish. | |
138 | ||
8dceaca0 | 139 | %package libs |
fdff42f4 JB |
140 | Summary: Libraries for fwupd device firmware installing daemon |
141 | Summary(pl.UTF-8): Biblioteki dla demona fwupd instalującego aktualizacje firmware'u | |
8dceaca0 | 142 | Group: Libraries |
445379a6 JB |
143 | Requires: glib2-devel >= 1:2.55.0 |
144 | Requires: json-glib >= 1.1.1 | |
8dceaca0 JB |
145 | |
146 | %description libs | |
fdff42f4 | 147 | Libraries for fwupd device firmware installing daemon. |
8dceaca0 JB |
148 | |
149 | %description libs -l pl.UTF-8 | |
fdff42f4 | 150 | Biblioteki dla demona fwupd instalującego aktualizacje firmware'u. |
8dceaca0 JB |
151 | |
152 | %package devel | |
fdff42f4 JB |
153 | Summary: Header files for fwupd libraries |
154 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek fwupd | |
8dceaca0 JB |
155 | Group: Development/Libraries |
156 | Requires: %{name}-libs = %{version}-%{release} | |
445379a6 | 157 | Requires: glib2-devel >= 1:2.55.0 |
8dceaca0 JB |
158 | |
159 | %description devel | |
fdff42f4 | 160 | Header files for fwupd libraries. |
8dceaca0 JB |
161 | |
162 | %description devel -l pl.UTF-8 | |
fdff42f4 | 163 | Pliki nagłówkowe bibliotek fwupd. |
8dceaca0 | 164 | |
6c954d9b JB |
165 | %package static |
166 | Summary: Static fwupd libraries | |
167 | Summary(pl.UTF-8): Statyczne biblioteki fwupd | |
168 | Group: Development/Libraries | |
169 | Requires: %{name}-devel = %{version}-%{release} | |
170 | ||
171 | %description static | |
172 | Static fwupd libraries. | |
173 | ||
174 | %description static -l pl.UTF-8 | |
175 | Statyczne biblioteki fwupd. | |
176 | ||
fdff42f4 JB |
177 | %package apidocs |
178 | Summary: API documentation for fwupd libraries | |
179 | Summary(pl.UTF-8): Dokumentacja API do bibliotek fwupd | |
180 | Group: Documentation | |
dad21322 | 181 | BuildArch: noarch |
fdff42f4 JB |
182 | |
183 | %description apidocs | |
184 | API documentation for fwupd libraries. | |
185 | ||
186 | %description apidocs -l pl.UTF-8 | |
187 | Dokumentacja API do bibliotek fwupd. | |
8dceaca0 | 188 | |
445379a6 JB |
189 | %package -n vala-fwupd |
190 | Summary: Vala API for fwupd library | |
191 | Summary(pl.UTF-8): API języka Vala do biblioteki fwupd | |
192 | Group: Development/Libraries | |
193 | Requires: %{name}-devel = %{version}-%{release} | |
194 | Requires: vala-libsoup >= 2.52 | |
195 | ||
196 | %description -n vala-fwupd | |
197 | Vala API for fwupd library. | |
198 | ||
199 | %description -n vala-fwupd -l pl.UTF-8 | |
200 | API języka Vala do biblioteki fwupd. | |
201 | ||
8dceaca0 JB |
202 | %prep |
203 | %setup -q | |
204 | ||
205 | %build | |
2317379a | 206 | %meson build \ |
70eebab3 | 207 | -Dbluez=true \ |
6c954d9b | 208 | -Defi_binary=false \ |
70eebab3 | 209 | -Ddocs=%{?with_apidocs:gtkdoc}%{!?with_apidocs:none} \ |
6c954d9b | 210 | -Dlzma=true \ |
445379a6 | 211 | %{!?with_efi:-Dplugin_dell=false} \ |
425d8043 | 212 | %{?with_flashrom:-Dplugin_flashrom=true} \ |
6c954d9b | 213 | -Dplugin_intel_spi=true \ |
425d8043 | 214 | %{?with_modemmanager:-Dplugin_modem_manager=true} \ |
70eebab3 | 215 | -Dplugin_platform_integrity=true \ |
445379a6 JB |
216 | %{!?with_efi:-Dplugin_redfish=false} \ |
217 | %{!?with_thunderbolt:-Dplugin_thunderbolt=false} \ | |
6c954d9b | 218 | %{!?with_efi:-Dplugin_uefi_capsule=false} \ |
445379a6 | 219 | -Dtests=false |
bd3466ff | 220 | |
bfd8ba8d | 221 | %meson_build -C build |
8dceaca0 JB |
222 | |
223 | %install | |
224 | rm -rf $RPM_BUILD_ROOT | |
225 | ||
bfd8ba8d | 226 | %meson_install -C build |
8dceaca0 | 227 | |
445379a6 JB |
228 | for pdoc in plugins/*/README.md ; do |
229 | pname=$(basename $(dirname $pdoc)) | |
230 | cp -p plugins/${pname}/README.md README-${pname}.md | |
231 | done | |
232 | ||
8dceaca0 JB |
233 | %find_lang %{name} |
234 | ||
235 | %clean | |
236 | rm -rf $RPM_BUILD_ROOT | |
237 | ||
238 | %post libs -p /sbin/ldconfig | |
239 | %postun libs -p /sbin/ldconfig | |
240 | ||
241 | %files -f %{name}.lang | |
242 | %defattr(644,root,root,755) | |
6c954d9b | 243 | %doc AUTHORS MAINTAINERS README.md README-*.md SECURITY.md |
e014f3a3 | 244 | %{?with_efi:%attr(755,root,root) %{_bindir}/dbxtool} |
fdff42f4 | 245 | %attr(755,root,root) %{_bindir}/dfu-tool |
d5513f57 | 246 | %attr(755,root,root) %{_bindir}/fwupdagent |
f24e464a | 247 | %{?with_efi:%attr(755,root,root) %{_bindir}/fwupdate} |
8dceaca0 | 248 | %attr(755,root,root) %{_bindir}/fwupdmgr |
d5513f57 JB |
249 | %attr(755,root,root) %{_bindir}/fwupdtool |
250 | %attr(755,root,root) %{_bindir}/fwupdtpmevlog | |
445379a6 JB |
251 | %dir %{_libexecdir}/fwupd |
252 | %attr(755,root,root) %{_libexecdir}/fwupd/fwupd | |
6c954d9b | 253 | %attr(755,root,root) %{_libexecdir}/fwupd/fwupd-detect-cet |
425d8043 | 254 | %attr(755,root,root) %{_libexecdir}/fwupd/fwupdoffline |
bfd8ba8d | 255 | %dir %{_libdir}/fwupd-plugins-3 |
6c954d9b JB |
256 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_dmar.so |
257 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_facp.so | |
70eebab3 | 258 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_phat.so |
bfd8ba8d | 259 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_altos.so |
6c954d9b | 260 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_analogix.so |
bfd8ba8d | 261 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_amt.so |
86752ae9 | 262 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_ata.so |
6c954d9b JB |
263 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_bcm57xx.so |
264 | %if %{with efi} | |
265 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_bios.so | |
266 | %endif | |
d5513f57 | 267 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_ccgx.so |
6c954d9b | 268 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_colorhug.so |
d5513f57 | 269 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_cpu.so |
6c954d9b | 270 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_cros_ec.so |
e5466782 | 271 | %if %{with efi} |
bfd8ba8d | 272 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_dell.so |
724b701c | 273 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_dell_esrt.so |
445379a6 JB |
274 | %endif |
275 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_dell_dock.so | |
bfd8ba8d | 276 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so |
6c954d9b | 277 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_dfu_csr.so |
bfd8ba8d | 278 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so |
6c954d9b | 279 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_elantp.so |
328e4a1a | 280 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_emmc.so |
d5513f57 | 281 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_ep963x.so |
86752ae9 | 282 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_fastboot.so |
425d8043 | 283 | %if %{with flashrom} |
cb6a27e9 | 284 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so |
425d8043 | 285 | %endif |
d5513f57 | 286 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_fresco_pd.so |
6c954d9b JB |
287 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_goodixmoc.so |
288 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_hailuck.so | |
289 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_intel_spi.so | |
290 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_iommu.so | |
328e4a1a | 291 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_jabra.so |
70eebab3 | 292 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_lenovo_thinklmi.so |
6c954d9b JB |
293 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_linux_lockdown.so |
294 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_linux_sleep.so | |
295 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_linux_swap.so | |
296 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_linux_tainted.so | |
d5513f57 | 297 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_logind.so |
328e4a1a | 298 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_logitech_hidpp.so |
425d8043 JB |
299 | %if %{with modemmanager} |
300 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_modem_manager.so | |
301 | %endif | |
6c954d9b | 302 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_msr.so |
fe740e41 | 303 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so |
cb6a27e9 | 304 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_nvme.so |
328e4a1a | 305 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_optionrom.so |
70eebab3 | 306 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_parade_lspcon.so |
6c954d9b JB |
307 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_pci_bcr.so |
308 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_pci_mei.so | |
309 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_pixart_rf.so | |
70eebab3 JB |
310 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_platform_integrity.so |
311 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_powerd.so | |
312 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_realtek_mst.so | |
445379a6 | 313 | %if %{with efi} |
724b701c | 314 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_redfish.so |
445379a6 JB |
315 | %endif |
316 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_rts54hid.so | |
317 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_rts54hub.so | |
328e4a1a | 318 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_solokey.so |
bfd8ba8d | 319 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so |
cb6a27e9 | 320 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_superio.so |
328e4a1a AM |
321 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_cxaudio.so |
322 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_mst.so | |
425d8043 | 323 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_prometheus.so |
328e4a1a | 324 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_rmi.so |
6c954d9b | 325 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_system76_launch.so |
328e4a1a | 326 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_thelio_io.so |
9d82ffc9 | 327 | %if %{with thunderbolt} |
bfd8ba8d | 328 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_thunderbolt.so |
9d82ffc9 | 329 | %endif |
328e4a1a AM |
330 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_tpm.so |
331 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_tpm_eventlog.so | |
e5466782 | 332 | %if %{with efi} |
6c954d9b | 333 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_capsule.so |
e014f3a3 | 334 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_dbx.so |
6c954d9b | 335 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_pk.so |
328e4a1a | 336 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_recovery.so |
e5466782 | 337 | %endif |
bfd8ba8d | 338 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so |
328e4a1a | 339 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_vli.so |
86752ae9 AM |
340 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_raw.so |
341 | %attr(755,root,root) %{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_usb.so | |
bfd8ba8d AM |
342 | %dir %{_sysconfdir}/fwupd |
343 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/daemon.conf | |
328e4a1a | 344 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/thunderbolt.conf |
f24e464a JP |
345 | %if %{with efi} |
346 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/redfish.conf | |
6c954d9b | 347 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/uefi_capsule.conf |
f24e464a | 348 | %endif |
bfd8ba8d | 349 | %dir %{_sysconfdir}/fwupd/remotes.d |
425d8043 JB |
350 | %if %{with efi} |
351 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/remotes.d/dell-esrt.conf | |
352 | %endif | |
bfd8ba8d | 353 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/remotes.d/lvfs.conf |
445379a6 | 354 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf |
bfd8ba8d | 355 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/remotes.d/vendor.conf |
86752ae9 | 356 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fwupd/remotes.d/vendor-directory.conf |
70eebab3 | 357 | #/etc/grub.d/35_fwupd |
f29fd781 | 358 | %dir %{_sysconfdir}/pki/fwupd |
f29fd781 AM |
359 | %{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Foundation-Firmware |
360 | %{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service | |
361 | %{_sysconfdir}/pki/fwupd/LVFS-CA.pem | |
362 | %dir %{_sysconfdir}/pki/fwupd-metadata | |
363 | %{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata | |
364 | %{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service | |
365 | %{_sysconfdir}/pki/fwupd-metadata/LVFS-CA.pem | |
70eebab3 JB |
366 | #/lib/modules-load.d/fwupd-msr.conf |
367 | #/lib/modules-load.d/fwupd-platform-integrity.conf | |
8dceaca0 | 368 | %{systemdunitdir}/fwupd.service |
a557ad5c | 369 | %{systemdunitdir}/fwupd-offline-update.service |
328e4a1a AM |
370 | %{systemdunitdir}/fwupd-refresh.service |
371 | %{systemdunitdir}/fwupd-refresh.timer | |
a557ad5c | 372 | %{systemdunitdir}/system-update.target.wants/fwupd-offline-update.service |
328e4a1a | 373 | /lib/systemd/system-preset/fwupd-refresh.preset |
425d8043 | 374 | /lib/systemd/system-shutdown/fwupd.shutdown |
91b560a2 | 375 | /lib/udev/rules.d/90-fwupd-devices.rules |
328e4a1a | 376 | %{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf |
8dceaca0 | 377 | %{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service |
bfd8ba8d | 378 | %dir %{_datadir}/fwupd |
328e4a1a AM |
379 | %attr(755,root,root) %{_datadir}/fwupd/add_capsule_header.py |
380 | %attr(755,root,root) %{_datadir}/fwupd/firmware_packager.py | |
381 | %attr(755,root,root) %{_datadir}/fwupd/install_dell_bios_exe.py | |
382 | %attr(755,root,root) %{_datadir}/fwupd/simple_client.py | |
6c954d9b JB |
383 | %if %{with efi} |
384 | %{_datadir}/fwupd/uefi-capsule-ux.tar.xz | |
385 | %endif | |
f477a3c7 | 386 | %{_datadir}/fwupd/quirks.d |
bfd8ba8d | 387 | %dir %{_datadir}/fwupd/remotes.d |
425d8043 JB |
388 | %if %{with efi} |
389 | %{_datadir}/fwupd/remotes.d/dell-esrt | |
390 | %endif | |
bfd8ba8d AM |
391 | %{_datadir}/fwupd/remotes.d/vendor |
392 | %{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml | |
f29fd781 AM |
393 | %dir %{_datadir}/fwupd/metainfo |
394 | %{_datadir}/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml | |
395 | %{_datadir}/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml | |
8dceaca0 JB |
396 | %{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy |
397 | %{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules | |
425d8043 | 398 | %{_iconsdir}/hicolor/scalable/apps/org.freedesktop.fwupd.svg |
e014f3a3 | 399 | %{?with_efi:%{_mandir}/man1/dbxtool.1*} |
fdff42f4 | 400 | %{_mandir}/man1/dfu-tool.1* |
d5513f57 | 401 | %{_mandir}/man1/fwupdagent.1* |
f24e464a | 402 | %{?with_efi:%{_mandir}/man1/fwupdate.1*} |
8dceaca0 | 403 | %{_mandir}/man1/fwupdmgr.1* |
d5513f57 JB |
404 | %{_mandir}/man1/fwupdtool.1* |
405 | %{_mandir}/man1/fwupdtpmevlog.1* | |
8dceaca0 | 406 | |
445379a6 JB |
407 | %files -n bash-completion-fwupd |
408 | %defattr(644,root,root,755) | |
425d8043 | 409 | %{bash_compdir}/fwupdagent |
445379a6 JB |
410 | %{bash_compdir}/fwupdmgr |
411 | %{bash_compdir}/fwupdtool | |
412 | ||
d5513f57 JB |
413 | %files -n fish-completion-fwupd |
414 | %defattr(644,root,root,755) | |
415 | %{_datadir}/fish/vendor_completions.d/fwupdmgr.fish | |
416 | ||
8dceaca0 JB |
417 | %files libs |
418 | %defattr(644,root,root,755) | |
419 | %attr(755,root,root) %{_libdir}/libfwupd.so.*.*.* | |
bfd8ba8d | 420 | %attr(755,root,root) %ghost %{_libdir}/libfwupd.so.2 |
6c954d9b JB |
421 | %attr(755,root,root) %{_libdir}/libfwupdplugin.so.*.*.* |
422 | %attr(755,root,root) %ghost %{_libdir}/libfwupdplugin.so.2 | |
445379a6 | 423 | %{_libdir}/girepository-1.0/Fwupd-2.0.typelib |
328e4a1a | 424 | %{_libdir}/girepository-1.0/FwupdPlugin-1.0.typelib |
8dceaca0 JB |
425 | |
426 | %files devel | |
427 | %defattr(644,root,root,755) | |
445379a6 | 428 | %doc libfwupd/README.md |
8dceaca0 | 429 | %attr(755,root,root) %{_libdir}/libfwupd.so |
328e4a1a | 430 | %attr(755,root,root) %{_libdir}/libfwupdplugin.so |
8dceaca0 | 431 | %{_includedir}/fwupd-1 |
bfd8ba8d | 432 | %{_datadir}/gir-1.0/Fwupd-2.0.gir |
328e4a1a | 433 | %{_datadir}/gir-1.0/FwupdPlugin-1.0.gir |
8dceaca0 JB |
434 | %{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml |
435 | %{_pkgconfigdir}/fwupd.pc | |
328e4a1a | 436 | %{_pkgconfigdir}/fwupdplugin.pc |
8dceaca0 | 437 | |
6c954d9b JB |
438 | %files static |
439 | %defattr(644,root,root,755) | |
440 | %{_libdir}/libfwupd.a | |
441 | %{_libdir}/libfwupdplugin.a | |
442 | ||
5dbae069 | 443 | %if %{with apidocs} |
fdff42f4 JB |
444 | %files apidocs |
445 | %defattr(644,root,root,755) | |
328e4a1a | 446 | %{_gtkdocdir}/fwupd |
5dbae069 | 447 | %endif |
f29fd781 | 448 | |
445379a6 JB |
449 | %files -n vala-fwupd |
450 | %defattr(644,root,root,755) | |
451 | %{_datadir}/vala/vapi/fwupd.deps | |
452 | %{_datadir}/vala/vapi/fwupd.vapi |