From 712af9ea3cb3d0de866221ade19341fd114f7000 Mon Sep 17 00:00:00 2001 From: Louie S Date: Fri, 3 Mar 2023 19:08:50 -0800 Subject: Change a couple of files to templates for less copy/paste --- spec/terminal-media-launcher.spec | 49 ------------------------------------ spec/terminal-media-launcher.spec.in | 49 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 spec/terminal-media-launcher.spec create mode 100644 spec/terminal-media-launcher.spec.in (limited to 'spec') diff --git a/spec/terminal-media-launcher.spec b/spec/terminal-media-launcher.spec deleted file mode 100644 index 2adcc1c..0000000 --- a/spec/terminal-media-launcher.spec +++ /dev/null @@ -1,49 +0,0 @@ -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 --enable-desktop-entry -%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 -%{_mandir}/man5/terminal-media-launcher-config.5.gz -%{_datadir}/applications/terminal-media-launcher.desktop -%{_datadir}/pixmaps/terminal-media-launcher.svg - - - -%changelog -* Thu Mar 02 2023 louie -- First version being packaged diff --git a/spec/terminal-media-launcher.spec.in b/spec/terminal-media-launcher.spec.in new file mode 100644 index 0000000..238282e --- /dev/null +++ b/spec/terminal-media-launcher.spec.in @@ -0,0 +1,49 @@ +Name: @PACKAGE_NAME@ +Version: @PACKAGE_VERSION@ +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 --enable-desktop-entry +%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 +%{_mandir}/man5/terminal-media-launcher-config.5.gz +%{_datadir}/applications/terminal-media-launcher.desktop +%{_datadir}/pixmaps/terminal-media-launcher.svg + + + +%changelog +* Thu Mar 02 2023 louie +- First version being packaged -- cgit