Created
June 13, 2018 15:52
-
-
Save jdoss/958431fe4daca706a1e5ced43a3915d0 to your computer and use it in GitHub Desktop.
RPM spec for shipping the Slack for Linux repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global debug_package %{nil} | |
Name: slack-repo | |
Version: 0.0.1 | |
Release: 1%{?dist} | |
Epoch: 1 | |
URL: https://github.com/jdoss/slack-repo/ | |
Summary: Fast, modern, secure VPN tunnel | |
License: MIT | |
Group: System Environment/Kernel | |
BuildArch: noarch | |
Source: https://github.com/jdoss/slack-repo/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz | |
Provides: slack-repo | |
%description | |
A DNF/YUM repository for installing Slack on RHEL, CentOS, and Fedora Linux. | |
%prep | |
%setup -q -n slack-repo-%{version} | |
%build | |
echo "Nothing to build. This package just provides a single file. :)" | |
%install | |
install -p -d -m 755 %{buildroot}%{_sysconfdir}/yum.repos.d | |
install -p -D -m 0644 %{_builddir}/slack-repo-%{version}/slack.repo %{buildroot}%{_sysconfdir}/yum.repos.d/slack.repo | |
%files | |
%config(noreplace) %{_sysconfdir}/yum.repos.d/slack.repo | |
%changelog | |
* Tue Jun 12 2018 Joe Doss <[email protected]> - 0.0.1 | |
- Intial slack-repo release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment