%global debug_package %{nil} Name: ublue-brew Version: 0.1.0 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#4d45708187165c62ed28ec92474a132b40c3f6ba:ublue/brew Source: packages-ublue-brew-4d457081.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 %{_sysconfdir}/profile.d/brew* %{_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