This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
rpmbuild/mp3gain/mp3gain-1.4.6-2.te.spec

57 lines
1.6 KiB
RPMSpec

Summary: Lossless MP3 volume adjustment tool
Name: mp3gain
%define real_version 1_4_6
Version: 1.4.6
Release: 2.te
License: LGPL
Group: Applications/Multimedia
URL: http://mp3gain.sourceforge.net
Packager: Troy Engel <tengel@sonic.net>
Vendor: Glen Sawyer <mp3gain@hotmail.com>
Source: %{name}-%{real_version}-src.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch0: %{name}-%{version}.patch
%description
MP3Gain analyzes and adjusts mp3 files so that they have the same
volume. It does not just do peak normalization, as many normalizers
do. Instead, it does some statistical analysis to determine how loud
the file actually sounds to the human ear. Also, the changes MP3Gain
makes are completely lossless. There is no quality lost in the change
because the program adjusts the mp3 file directly, without decoding
and re-encoding.
%prep
%setup -c %{name}-%{version}
%patch0 -p1
%build
%{__make} CFLAGS="%{optflags} -DHAVE_MEMCPY"
%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 mp3gain %{buildroot}%{_bindir}/mp3gain
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc lgpl.txt
%{_bindir}/mp3gain
%changelog
* Fri Feb 17 2006 Troy Engel <tengel@sonic.net> 1.4.6-2.te
- apply fixes from CVS: exit codes, segfault on 48kHz files, AACgain note
- tweak CVS exit code fix based on Debian diff (EXIT_FAILURE)
- add 'NowWriting = 0' patches from Debian diff
* Fri Feb 17 2006 Troy Engel <tengel@sonic.net> 1.4.6-1.te
- Borrow Dag's spec, update to 1.4.6
* Wed Jul 20 2005 Dag Wieers <dag@wieers.com> - 1.4.4-1 - 3404/dag
- Initial package. (using DAR)