[packages/cd-discid] - new URLs, updated to 1.4
qboosh
qboosh at pld-linux.org
Mon Apr 7 19:21:55 CEST 2025
commit 385e68f13440b0082045004196cad7ef3900b3cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 7 19:02:21 2025 +0200
- new URLs, updated to 1.4
cd-discid.spec | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)
---
diff --git a/cd-discid.spec b/cd-discid.spec
index ed3a6a8..f6c845e 100644
--- a/cd-discid.spec
+++ b/cd-discid.spec
@@ -1,18 +1,19 @@
Summary: Backend utility to get CDDB discid information from a CD-ROM
Summary(pl.UTF-8): Narzędzie do pobierania identyfikatora CDDB kompaktu
Name: cd-discid
-Version: 0.9
-Release: 3
-License: GPL
-Group: Applications
-Source0: http://lly.org/~rcw/cd-discid/cd-discid_%{version}.orig.tar.gz
-# Source0-md5: 64677b8b63d1db0db015043f5455171a
-URL: http://lly.org/~rcw/cd-discid/page/
+Version: 1.4
+Release: 1
+License: GPL v2+
+Group: Applications/Multimedia
+#Source0Download: https://github.com/taem/cd-discid/tags
+Source0: https://github.com/taem/cd-discid/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 960c613556e5f220021781ef801e2409
+URL: https://github.com/taem/cd-discid
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.
+Cd-discid is a backend utility to get CDDB discid information from a
+CD-ROM disc.
%description -l pl.UTF-8
Cd-discid jest programem do pobierania identyfikatora CDDB kompaktu.
@@ -21,14 +22,19 @@ Cd-discid jest programem do pobierania identyfikatora CDDB kompaktu.
%setup -q
%build
-%{__cc} %{rpmcflags} -o cd-discid cd-discid.c
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+CPPFLAGS="%{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make}
%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
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX=%{_prefix} \
+ STRIP=true
%clean
rm -rf $RPM_BUILD_ROOT
@@ -36,5 +42,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README changelog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/cd-discid
+%{_mandir}/man1/cd-discid.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cd-discid.git/commitdiff/385e68f13440b0082045004196cad7ef3900b3cc
More information about the pld-cvs-commit
mailing list