diff options
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | docs/README.md | 5 | ||||
-rw-r--r-- | spec/terminal-media-launcher.spec | 46 |
4 files changed, 53 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 7c79f47..11c73d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,4 +2,4 @@ SUBDIRS = src docs data dist_man_MANS = man man1_MANS = man/$(PACKAGE_NAME).1 man5_MANS = man/$(PACKAGE_NAME)-config.5 -EXTRA_DIST = debian +EXTRA_DIST = debian spec diff --git a/Makefile.in b/Makefile.in index 6508c1e..dd24389 100644 --- a/Makefile.in +++ b/Makefile.in @@ -338,7 +338,7 @@ SUBDIRS = src docs data dist_man_MANS = man man1_MANS = man/$(PACKAGE_NAME).1 man5_MANS = man/$(PACKAGE_NAME)-config.5 -EXTRA_DIST = debian +EXTRA_DIST = debian spec all: all-recursive .SUFFIXES: diff --git a/docs/README.md b/docs/README.md index 923b22a..804e977 100644 --- a/docs/README.md +++ b/docs/README.md @@ -17,6 +17,11 @@ On Debian and Debian-based systems: # apt install gcc libncurses-dev make ``` +On RHEL and RHEL-based systems: +``` +# dnf install gcc ncurses-devel +``` + 2. Download the latest `.tar.gz` release - The source acquired from the source repository can also be compiled, but requires additional dependencies to build (`autoconf`, `automake`, `autoconf-archive`) 3. Run the commands below in the directory the repository was cloned into. This will build the binary `src/terminal-media-launcher` diff --git a/spec/terminal-media-launcher.spec b/spec/terminal-media-launcher.spec new file mode 100644 index 0000000..1b642de --- /dev/null +++ b/spec/terminal-media-launcher.spec @@ -0,0 +1,46 @@ +Name: terminal-media-launcher +Version: 0.1 +Release: 1%{?dist} +Summary: Lightweight Terminal Media Launcher written in C + +License: GPLv3+ +URL: https://github.com/lshprung/terminal-media-launcher +Source0: %{name}-%{version}.tar.gz + +Requires: glibc >= 2.7, ncurses >= 6 + +%description +Terminal Media Launcher is a command line utility to help streamline +launching applications and other media + +%prep +%autosetup + + +%build +%configure +%make_build + + +%install +rm -rf $RPM_BUILD_ROOT +%make_install + + +%files +%license +%doc +%{_bindir}/terminal-media-launcher +%{_docdir}/terminal-media-launcher/README.md +%{_docdir}/terminal-media-launcher/screenshot1.png +%{_docdir}/terminal-media-launcher/screenshot2.png +%{_docdir}/terminal-media-launcher/terminal-media-launcher-config.md +%{_docdir}/terminal-media-launcher/windows_compile_instructions.md +%{_mandir}/man1/terminal-media-launcher.1.gz +%{_mandir}/man5/terminal-media-launcher-config.5.gz + + + +%changelog +* Thu Mar 02 2023 louie +- First version being packaged |