File flatpak-preinstall-prototype.spec of Package flatpak-preinstall-prototype

Name:           flatpak-preinstall-prototype
Summary:        Flatpak Preinstall Prototype
Version:        daily
Release:        %autorelease
License:        LGPLv3+

URL:            https://github.com/meisenzahl/flatpak-preinstall-prototype
Source0:        %{url}/archive/%{version}/flatpak-preinstall-prototype-%{version}.tar.gz

BuildRequires:  flatpak-devel
BuildRequires:  meson
BuildRequires:  vala

BuildRequires:  systemd-rpm-macros

# needed by obs-service-obs_scm-common
BuildRequires:  glibc-langpack-en
#!BuildIgnore:  glibc-all-langpacks

%description
Flatpak Preinstall Prototype


%prep
%autosetup -n flatpak-preinstall-prototype-%{version} -p1


%build
%meson
%meson_build

%install
%meson_install

%post
%systemd_post flatpak-preinstall-prototype.service
%systemd_user_post flatpak-preinstall-prototype.service

%preun
%systemd_preun flatpak-preinstall-prototype.service
%systemd_user_preun flatpak-preinstall-prototype.service

%postun
%systemd_postun_with_restart flatpak-preinstall-prototype.service
%systemd_user_postun_with_restart flatpak-preinstall-prototype.service

%files
%doc README.md
%license COPYING

/usr/bin/flatpak-preinstall-prototype
/usr/lib/systemd/system/flatpak-preinstall-prototype.service
/usr/lib/systemd/user/flatpak-preinstall-prototype.service

%changelog
%autochangelog
openSUSE Build Service is sponsored by