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