[packages/vorbisgain] - updated to 0.37
qboosh
qboosh at pld-linux.org
Tue May 28 22:17:17 CEST 2024
commit 7a71aebcb7ceb7a071da81d1a7c92f84f14c738d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue May 28 22:12:03 2024 +0200
- updated to 0.37
vorbisgain-format.patch | 19 +++++++++++++++++++
vorbisgain.spec | 18 ++++++++++--------
2 files changed, 29 insertions(+), 8 deletions(-)
---
diff --git a/vorbisgain.spec b/vorbisgain.spec
index 4543a75..64614d9 100644
--- a/vorbisgain.spec
+++ b/vorbisgain.spec
@@ -1,17 +1,18 @@
#
# Conditional build:
-%bcond_without recursive # build without recursive support
+%bcond_without recursive # recursive processing support
#
Summary: Calculate the replay gain for Ogg Vorbis files
Summary(pl.UTF-8): Obliczanie wskaźnika głośności dla plików Ogg Vorbis
Name: vorbisgain
-Version: 0.36
+Version: 0.37
Release: 1
-License: LGPL
+License: GPL v2
Group: Applications/Sound
-Source0: http://sjeng.org/ftp/vorbis/%{name}-%{version}.zip
-# Source0-md5: 3c9df5028fa395aa98fdf0f58a5187b0
-URL: http://www.sjeng.org/vorbisgain.html
+Source0: https://sjeng.org/ftp/vorbis/%{name}-%{version}.tar.gz
+# Source0-md5: 850b05a7b2b0ee67edb5a27b8c6ac3a2
+Patch0: %{name}-format.patch
+URL: https://www.sjeng.org/vorbisgain.html
BuildRequires: gawk
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
@@ -37,6 +38,7 @@ całość była użyteczna.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
@@ -56,5 +58,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc NEWS README
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/vorbisgain
+%{_mandir}/man1/vorbisgain.1*
diff --git a/vorbisgain-format.patch b/vorbisgain-format.patch
new file mode 100644
index 0000000..33fe488
--- /dev/null
+++ b/vorbisgain-format.patch
@@ -0,0 +1,19 @@
+--- vorbisgain-0.37/misc.c.orig 2004-01-03 22:17:28.000000000 +0100
++++ vorbisgain-0.37/misc.c 2024-05-28 22:06:08.761860103 +0200
+@@ -23,6 +23,7 @@
+ #else /* WIN32 */
+ #include <errno.h>
+ #include <ctype.h>
++#include <unistd.h>
+
+ #ifndef DISABLE_WINSIZE
+
+@@ -56,7 +57,7 @@ void file_error(const char* message, ...
+ vfprintf(stderr, message, args);
+ va_end(args);
+
+- fprintf(stderr, strerror(err_num));
++ fputs(strerror(err_num), stderr);
+ fprintf(stderr, "\n");
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vorbisgain.git/commitdiff/7a71aebcb7ceb7a071da81d1a7c92f84f14c738d
More information about the pld-cvs-commit
mailing list