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