%global debug_package %{nil} Name: ublue-brew Version: 0.1.1 Release: 1%{?dist} Summary: Homebrew integration for Universal Blue systems License: Apache-2.0 URL: https://github.com/ublue-os/packages VCS: git+https://github.com/ublue-os/packages#96780f26ccf26d782c1d55c04f171f0b5f1ed248:ublue/brew Source: packages-ublue-brew-96780f26.tar.gz BuildRequires: systemd-rpm-macros %description Homebrew integration for Universal Blue systems %prep %setup -T -b 0 -q -n packages-ublue-brew %install mkdir -p %{buildroot}{%{_unitdir},%{_prefix}/lib/systemd/system-preset,%{_sysconfdir}} install -Dpm0755 src/systemd/*.service %{buildroot}%{_unitdir} install -Dpm0755 src/systemd/*.preset %{buildroot}%{_prefix}/lib/systemd/system-preset install -Dm0755 ./src/vendor.fish %{buildroot}%{_datadir}/fish/vendor_conf.d/%{name}.fish cp -rp src/security %{buildroot}%{_sysconfdir} cp -rp src/profile.d %{buildroot}%{_sysconfdir} cp -rp src/tmpfiles.d %{buildroot}%{_prefix}/lib %post %systemd_post brew-setup.service %preun %systemd_preun brew-setup.service %files %ghost %{_sysconfdir}/profile.d/brew.sh %{_sysconfdir}/profile.d/brew-bash-completion.sh %{_datadir}/fish/vendor_conf.d/%{name}.fish %{_sysconfdir}/security/limits.d/*brew*.conf %{_unitdir}/brew-setup.service %{_prefix}/lib/systemd/system-preset/01-homebrew.preset %{_prefix}/lib/tmpfiles.d/*brew.conf %changelog %autochangelog