Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.0 KiB

7 years ago
  1. Summary: TigerOS package repositories
  2. Name: tigeros-repos
  3. Version: 26
  4. Release: 1
  5. License: MIT
  6. Group: System Environment/Base
  7. URL: https://github.com/RITlug/TigerOS
  8. Source: %{name}-%{version}.tar.gz
  9. Provides: tigeros-repos(%{version})
  10. Requires: system-release(%{version})
  11. BuildArch: noarch
  12. %description
  13. TigerOS package repository files for yum and dnf along with gpg public keys
  14. %prep
  15. %setup -q
  16. %build
  17. %install
  18. # Install the keys
  19. install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg
  20. install -m 644 RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/
  21. # and add symlink for compat generic location
  22. ln -s RPM-GPG-KEY-TigerOS-%{version}-primary RPM-GPG-KEY-%{version}-TigerOS
  23. install -d -m 755 $RPM_BUILD_ROOT/etc/yum.repos.d
  24. for file in tigeros*repo ; do
  25. install -m 644 $file $RPM_BUILD_ROOT/etc/yum.repos.d
  26. done
  27. %files
  28. %defattr(-,root,root,-)
  29. %dir /etc/yum.repos.d
  30. %config(noreplace) /etc/yum.repos.d/tigeros.repo
  31. %dir /etc/pki/rpm-gpg
  32. /etc/pki/rpm-gpg/*
  33. %changelog