Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: package for ubuntu/debian and fedora #27

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,33 @@ cachix use tsirysndr
nix profile install --experimental-features "nix-command flakes" github:tsirysndr/tunein-cli
```

Using [paru](https://github.com/Morganamilo/paru) (Arch Linux):
### Ubuntu/Debian

```bash
echo "deb [trusted=yes] https://apt.fury.io/tsiry/ /" | sudo tee /etc/apt/sources.list.d/fury.list
sudo apt-get update
sudo apt-get install tunein-cli
```

### Fedora

Add the following to `/etc/yum.repos.d/fury.repo`:

```
[fury]
name=Gemfury Private Repo
baseurl=https://yum.fury.io/tsiry/
enabled=1
gpgcheck=0
```

Then run:
```bash
dnf install tunein-cli
```

### Arch Linux
Using [paru](https://github.com/Morganamilo/paru):

```bash
paru -S tunein-cli-bin
Expand Down
1 change: 1 addition & 0 deletions dist/debian/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.deb
1 change: 1 addition & 0 deletions dist/debian/amd64/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/*
8 changes: 8 additions & 0 deletions dist/debian/amd64/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Package: tunein-cli
Version: 0.3.0
Section: user/multimedia
Priority: optional
Architecture: amd64
Maintainer: Tsiry Sandratraina <[email protected]>
Depends: alsa-utils, libasound2-dev
Description: Browse and listen to thousands of radio stations across the globe right from your terminal 🌎 πŸ“» 🎡✨
1 change: 1 addition & 0 deletions dist/debian/arm64/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/*
9 changes: 9 additions & 0 deletions dist/debian/arm64/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Package: tunein-cli
Version: 0.3.0
Section: user/multimedia
Priority: optional
Architecture: arm64
Maintainer: Tsiry Sandratraina <[email protected]>
Depends: alsa-utils, libasound2-dev
Description: Browse and listen to thousands of radio stations across the globe right from your terminal 🌎 πŸ“» 🎡✨

26 changes: 26 additions & 0 deletions dist/rpm/amd64/tunein.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Name: tunein-cli
Version: 0.3.0
Release: 1%{?dist}
Summary: CLI for listening to internet radio stations

License: MIT

BuildArch: x86_64

Requires: alsa-utils, alsa-lib-devel

%description
Browse and listen to thousands of radio stations across the globe right from your terminal 🌎 πŸ“» 🎡✨

%prep
# Prepare the build environment

%build
# Build steps (if any)

%install
mkdir -p %{buildroot}/usr/bin
cp -r %{_sourcedir}/amd64/usr %{buildroot}/

%files
/usr/bin/tunein
27 changes: 27 additions & 0 deletions dist/rpm/arm64/tunein.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

Name: tunein-cli
Version: 0.3.0
Release: 1%{?dist}
Summary: CLI for listening to internet radio stations

License: MIT

BuildArch: aarch64

Requires: alsa-utils, alsa-lib-devel

%description
Browse and listen to thousands of radio stations across the globe right from your terminal 🌎 πŸ“» 🎡✨

%prep
# Prepare the build environment

%build
# Build steps (if any)

%install
mkdir -p %{buildroot}/usr/bin
cp -r %{_sourcedir}/arm64/usr %{buildroot}/

%files
/usr/bin/tunein