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