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