Skip to content

Commit

Permalink
Upgrade: twolame version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
archana25-ms committed Jan 13, 2025
1 parent be5bb3f commit 394fcfb
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 116 deletions.
4 changes: 2 additions & 2 deletions SPECS-EXTENDED/twolame/twolame.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"twolame-0.3.13.tar.gz": "98f332f48951f47f23f70fd0379463aff7d7fb26f07e1e24e42ddef22cc6112a"
"twolame-0.4.0.tar.gz": "cc35424f6019a88c6f52570b63e1baf50f62963a3eac52a03a800bb070d7c87d"
}
}
}
168 changes: 56 additions & 112 deletions SPECS-EXTENDED/twolame/twolame.spec
Original file line number Diff line number Diff line change
@@ -1,80 +1,75 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
Name: twolame
Version: 0.3.13
Release: 16%{?dist}
Version: 0.4.0
Release: 6%{?dist}
Summary: Optimized MPEG Audio Layer 2 encoding library based on tooLAME
# build-scripts/install-sh is MIT/X11, build-scripts/{libtool.m4, ltmain.sh} are GPLv2+
License: LGPLv2+
URL: http://www.twolame.org/
Source: http://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz
License: LGPL-2.1-or-later
URL: https://www.twolame.org/

Source: https://downloads.sourceforge.net/twolame/%{name}-%{version}.tar.gz

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: make
BuildRequires: gcc
BuildRequires: libsndfile-devel
#BuildRequires: libtool
BuildRequires: libtool
BuildRequires: pkgconfig(sndfile) >= 1.0.0

%description
TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME,
which in turn is based heavily on
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
twolame is an optimized mpeg audio layer 2 (mp2) encoder. it should be able to
be used as a drop-in replacement for lame (a mpeg layer 3 encoder). the frontend
takes very similar command line options to lame, and the backend library has a
very similar api to lame.

This package contains the command line frontend.
this package contains the command line frontend.

%package libs
Summary: TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME
summary: twolame is an optimized mpeg audio layer 2 encoding library based on toolame
%description libs
TwoLAME is an optimized MPEG Audio Layer 2 encoding library based on tooLAME,
which in turn is based heavily on
- the ISO dist10 code
- improvement to algorithms as part of the LAME project (www.sulaco.org/mp3)
twolame is an optimized mpeg audio layer 2 (mp2) encoder. it should be able to
be used as a drop-in replacement for lame (a mpeg layer 3 encoder). the frontend
takes very similar command line options to lame, and the backend library has a
very similar api to lame.

This package contains the shared library.

%package devel
Summary: Development tools for TwoLAME applications
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig

%description devel
This package contains the header files and documentation
needed to develop applications with TwoLAME.
This package contains the header files and documentation needed to develop
applications with TwoLAME.

%prep
%autosetup
# convert manpage to UTF8
pushd doc
iconv -f iso8859-1 -t utf8 %{name}.1 > %{name}.1.utf && mv %{name}.1.utf %{name}.1
# fix HTML docs line endings
for file in html/*.html ; do
tr -d '\r' <$file >$file.unix && mv $file.unix $file
done
popd

%build
#autoreconf -f -i
%configure --disable-static

# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

autoreconf -vif
%configure \
--disable-static \
--enable-sndfile
%make_build

%install
%make_install
rm %{buildroot}%{_libdir}/*.la
# Let RPM pick up the docs in the files section
rm -rf %{buildroot}%{_docdir}

%if 0%{?rhel} == 7
%ldconfig_scriptlets libs
%endif

%files
%doc AUTHORS ChangeLog README TODO
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*

%files libs
%license COPYING
%{_libdir}/lib%{name}.so.*

%files devel
Expand All @@ -84,88 +79,37 @@ rm -rf %{buildroot}%{_docdir}
%{_includedir}/%{name}.h

%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 0.3.13-16
- Initial CBL-Mariner import from Fedora 32 (license: MIT).

* Fri Jan 31 2020 Fedora Release Engineering <[email protected]> - 0.3.13-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Sat Jul 27 2019 Fedora Release Engineering <[email protected]> - 0.3.13-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 0.3.13-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 0.3.13-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 0.3.13-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Mon Feb 05 2018 Igor Gnatenko <[email protected]> - 0.3.13-10
- Switch to %%ldconfig_scriptlets

* Tue Jan 16 2018 Zamir SUN <[email protected]> - 0.3.13-9
- Build for Fedora

* Fri Jan 12 2018 Zamir SUN <[email protected]> - 0.3.13-8
- Prepare for push into Fedora repo

* Thu Aug 31 2017 RPM Fusion Release Engineering <[email protected]> - 0.3.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Mon Mar 20 2017 RPM Fusion Release Engineering <[email protected]> - 0.3.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Aug 18 2016 Sérgio Basto <[email protected]> - 0.3.13-5
- Clean spec, Vascom patches series, rfbz #4202, add license tag

* Sun Aug 31 2014 Sérgio Basto <[email protected]> - 0.3.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Mar 03 2013 Nicolas Chauvet <[email protected]> - 0.3.13-3
- Mass rebuilt for Fedora 19 Features

* Wed Jan 25 2012 Nicolas Chauvet <[email protected]> - 0.3.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jan 13 2025 Archana Shettigar <[email protected]> - 0.4.0-6
- Initial Azure Linux import from Fedora 41 (license: MIT).
- License Verified

* Mon Jul 11 2011 Nicolas Chauvet <[email protected]> - 0.3.13-1
- Update to 0.3.13
* Sat Jul 20 2024 Fedora Release Engineering <[email protected]> - 0.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3.12-4
- rebuild for new F11 features
* Sat Jan 27 2024 Fedora Release Engineering <[email protected]> - 0.4.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Aug 04 2008 kwizart < kwizart at gmail.com > - 0.3.12-3
- Remove rpath with the "patch libtool" method instead of autoreconf
* Sat Jul 22 2023 Fedora Release Engineering <[email protected]> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3.12-2
- rebuild
* Sat Jan 21 2023 Fedora Release Engineering <[email protected]> - 0.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Sun Jan 13 2008 Dominik Mierzejewski <[email protected]> 0.3.12-1
- updated to 0.3.12
- updated source URL
- split off libs to avoid multilib conflicts
- move docs processing to prep to avoid problems with shortcut builds
- update license tag
* Fri Aug 19 2022 Simone Caronni <[email protected]> - 0.4.0-1
- Update to 0.4.0.

* Thu May 03 2007 Dominik Mierzejewski <[email protected]> 0.3.10-1
- updated to 0.3.10
- removed redundant BRs
* Fri Aug 19 2022 Simone Caronni <[email protected]> - 0.3.13-21
- Clean up SPEC file.
- Trim changelog.

* Wed Nov 01 2006 Dominik Mierzejewski <[email protected]> 0.3.8-1
- updated to 0.3.8
- rebuild autofiles to get rid of rpath
- disable static library build
- fix manpage encoding
- fix HTML docs line endings
* Sat Jul 23 2022 Fedora Release Engineering <[email protected]> - 0.3.13-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Sun Mar 12 2006 Dominik Mierzejewski <[email protected]> 0.3.6-1
- updated to 0.3.6
* Sat Jan 22 2022 Fedora Release Engineering <[email protected]> - 0.3.13-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Tue Jan 24 2006 Dominik Mierzejewski <[email protected]> 0.3.5-1
- updated to 0.3.5
- simplified package layout
- FE/livna compliance
* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 0.3.13-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Sun Aug 21 2005 Dominik Mierzejewski <[email protected]>
- initial package
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.3.13-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28896,8 +28896,8 @@
"type": "other",
"other": {
"name": "twolame",
"version": "0.3.13",
"downloadUrl": "http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz"
"version": "0.4.0",
"downloadUrl": "http://downloads.sourceforge.net/twolame/twolame-0.4.0.tar.gz"
}
}
},
Expand Down

0 comments on commit 394fcfb

Please sign in to comment.