Simplify file lists
This commit is contained in:
parent
c32207e37a
commit
b51dae053e
@ -64,19 +64,19 @@ The pkg-config file for %{name}.
|
||||
install -dm 755 %{buildroot}/%{_pkgdocdir}
|
||||
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
|
||||
# This directory is used by implementations such as xdg-desktop-portal-gtk.
|
||||
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||
install -dm 755 %{buildroot}/%{_datadir}/xdg-desktop-portal/portals
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%post
|
||||
%systemd_user_post %{name}.service
|
||||
%systemd_user_post xdg-desktop-portal.service
|
||||
%systemd_user_post xdg-document-portal.service
|
||||
%systemd_user_post xdg-permission-store.service
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_user_preun %{name}.service
|
||||
%systemd_user_preun xdg-desktop-portal.service
|
||||
%systemd_user_preun xdg-document-portal.service
|
||||
%systemd_user_preun xdg-permission-store.service
|
||||
|
||||
@ -89,13 +89,13 @@ install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/xdg-desktop-portal/
|
||||
%{_libexecdir}/xdg-desktop-portal
|
||||
%{_libexecdir}/xdg-desktop-portal-rewrite-launchers
|
||||
%{_libexecdir}/xdg-desktop-portal-validate-icon
|
||||
%{_libexecdir}/xdg-document-portal
|
||||
%{_libexecdir}/xdg-permission-store
|
||||
%{_userunitdir}/%{name}.service
|
||||
%{_userunitdir}/xdg-desktop-portal.service
|
||||
%{_userunitdir}/xdg-desktop-portal-rewrite-launchers.service
|
||||
%{_userunitdir}/xdg-document-portal.service
|
||||
%{_userunitdir}/xdg-permission-store.service
|
||||
|
Loading…
Reference in New Issue
Block a user