52 lines
1005 B
Plaintext
52 lines
1005 B
Plaintext
Name : pass-secrets
|
|
Version : 20250311
|
|
Release : 1%{?dist}
|
|
Summary : Use pass to store your application secrets!
|
|
Group : System
|
|
License : GPL3.0
|
|
URL : https://github.com/nullobsi/pass-secrets
|
|
BuildRequires : gcc-c++
|
|
BuildRequires : git
|
|
Requires : pass
|
|
Requires : sdbus-cpp
|
|
Requires : sdbus-cpp-tools
|
|
|
|
|
|
%description
|
|
|
|
|
|
%prep
|
|
%setup -T -q -c %{name}-%{version}
|
|
git clone %{url} .
|
|
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
install -p -D -m 0644 redhat-linux-build/nanoid_cpp/libnanoid.so %{buildroot}%{_libdir}/libnanoid.so
|
|
|
|
|
|
%post
|
|
%systemd_user_post %{name}.service
|
|
|
|
%preun
|
|
%systemd_user_preun %{name}.service
|
|
|
|
%postun
|
|
%systemd_user_postun_with_restart %{name}.service
|
|
%systemd_user_postun_with_reload %{name}.service
|
|
%systemd_user_postun %{name}.service
|
|
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/libnanoid.so
|
|
%{_userunitdir}/%{name}.service
|
|
%{_datadir}/dbus-1/services/si.nullob.%{name}.service
|
|
|
|
|
|
%changelog
|