From 996713356fb19c5a32ef9d5c53b57ea52182b8b8 Mon Sep 17 00:00:00 2001 From: wrobell Date: Thu, 3 Oct 2002 17:03:39 +0000 Subject: [PATCH] - based on template Changed files: cd-discid.spec -> 1.1 --- cd-discid.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 cd-discid.spec diff --git a/cd-discid.spec b/cd-discid.spec new file mode 100644 index 0000000..b19b7ef --- /dev/null +++ b/cd-discid.spec @@ -0,0 +1,41 @@ + +# +# todo: pl description and summary +# + +Summary: Backend utility to get CDDB discid information from a CD-ROM +Name: cd-discid +Version: 0.7 +Release: 1 +License: GPL +Group: Applications +Source0: http://lly.org/~rcw/cd-discid/cd-discid_%{version}.orig.tar.gz +URL: http://lly.org/~rcw/cd-discid/page +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Cd-discid is a backend utility to get CDDB discid information from a CD-ROM +disc. It was originally designed for cdgrab (now abcde), but can be used +for any purpose requiring CDDB data. + +%prep +%setup -q + +%build +gcc %{rpmcflags} -o cd-discid cd-discid.c + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install cd-discid $RPM_BUILD_ROOT%{_bindir} +install *.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README changelog +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* -- 2.44.0