lyrebird.spec 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Name: lyrebird
  2. Summary: Simple and powerful voice changer for Linux, written in GTK.
  3. URL: https://github.com/lyrebird-voice-changer/%{name}
  4. Version: 1.1.0
  5. Release: 4%{dist}
  6. License: MIT
  7. Source0: %{URL}/archive/v%{version}.tar.gz
  8. BuildArch: noarch
  9. BuildRequires: gettext
  10. Requires: python3 >= 3.7.0
  11. Requires: python3-toml
  12. Requires: python3-gobject
  13. Requires: pulseaudio
  14. Requires: sox
  15. %description
  16. Simple and powerful voice changer for Linux, written in GTK.
  17. %prep
  18. %setup -q -n %{name}-%{version}
  19. %install
  20. install -dm 0755 %{buildroot}/%{_bindir}
  21. install -m 0755 %{name} %{buildroot}/%{_bindir}/
  22. install -dm 0755 %{buildroot}/%{_datadir}/%{name}
  23. cp -rf app app.py icon.png %{buildroot}/%{_datadir}/%{name}/
  24. install -dm 0755 %{buildroot}/%{_datadir}/applications
  25. BIN_PATH=%{_bindir} SHARE_PATH=%{_datadir}/%{name} envsubst < %{name}.desktop > %{buildroot}/%{_datadir}/applications/%{name}.desktop
  26. %files
  27. %defattr(-,root,root,-)
  28. %{_bindir}/%{name}
  29. %{_datadir}/%{name}
  30. %{_datadir}/applications/%{name}.desktop
  31. %license LICENSE
  32. %doc README.md CHANGELOG.md
  33. %changelog
  34. * Fri Jan 28 2022 sT331h0rs3 <sT331h0rs3@gmail.com> - 1.1.0-4
  35. - Change the GitHub URL and set noarch.
  36. * Sun Apr 04 2021 sT331h0rs3 <sT331h0rs3@gmail.com> - 1.1.0-3
  37. - Initial RPM packaging for Fedora is done.