Hello community, here is the log from the commit of package alac for openSUSE:Factory checked in at 2016-10-20 23:09:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alac (Old) and /work/SRC/openSUSE:Factory/.alac.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alac" Changes: -------- --- /work/SRC/openSUSE:Factory/alac/alac.changes 2016-07-15 12:45:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.alac.new/alac.changes 2016-10-20 23:10:08.000000000 +0200 @@ -1,0 +2,10 @@ +Wed Oct 19 11:21:42 UTC 2016 - [email protected] + +- Update project url +- Use _service to fetch sources from git +- Update to version 0.0+git.20160511 +- Refresh patches: + * alac-endian.patch + * libalac-makefile.patch + +------------------------------------------------------------------- Old: ---- alac-r3.tar.bz2 New: ---- _service alac-0.0+git.20160511.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alac.spec ++++++ --- /var/tmp/diff_new_pack.TYUe9m/_old 2016-10-20 23:10:09.000000000 +0200 +++ /var/tmp/diff_new_pack.TYUe9m/_new 2016-10-20 23:10:09.000000000 +0200 @@ -16,20 +16,20 @@ # +%define sover 0 Name: alac -%define lname libalac0 -Version: 0+r3 +Version: 0.0+git.20160511 Release: 0 Summary: Apple Lossless Audio Codec License: Apache-2.0 Group: Productivity/Multimedia/Sound/Editors and Convertors -Url: http://alac.macosforge.org/ -#SVN-Clone: http://svn.macosforge.org/repository/alac/trunk/ -Source: alac-r3.tar.bz2 +Url: https://macosforge.github.io/alac/ +Source: %{name}-%{version}.tar.xz Patch1: libalac-makefile.patch Patch2: alac-endian.patch BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,23 +41,25 @@ This package contains a command-line utility to convert the ALAC format. -%package -n %{lname} +%package -n lib%{name}%{sover} Summary: Apple Lossless Audio Codec Group: System/Libraries -%description -n %{lname} +%description -n lib%{name}%{sover} The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and supported on iPhone, iPad, most iPods, Mac and iTunes. ALAC is a data compression method which reduces the size of audio files with no loss of information. A decoded ALAC stream is bit-for-bit identical to the original uncompressed audio file. -%package -n libalac-devel +%package devel Summary: Apple Lossless Audio Codec Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version}-%{release} +Requires: lib%{name}%{sover} = %{version} +Provides: lib{name}-devel = %{version} +Obsoletes: lib{name}-devel < %{version} -%description -n libalac-devel +%description devel The Apple Lossless Audio Codec (ALAC) is an audio codec developed by Apple and supported on iPhone, iPad, most iPods, Mac and iTunes. ALAC is a data compression method which reduces the size of audio files with no loss of @@ -65,45 +67,44 @@ uncompressed audio file. %prep -%setup -qn %{name} -%patch1 -p1 -%patch2 -p1 +%setup -q +%patch1 +%patch2 %build for d in codec convert-utility; do make -C "$d" \ - OPTFLAGS="%{optflags} -fvisibility-inlines-hidden -fno-strict-aliasing -D_GNU_SOURCE $(getconf LFS_CFLAGS)" \ + OPTFLAGS="%{optflags} -fvisibility-inlines-hidden -fno-strict-aliasing -D_GNU_SOURCE" \ CC="g++" done %install -install -D -m0755 convert-utility/alacconvert "%{buildroot}%{_bindir}/alacconvert" +install -D -p -m 0755 convert-utility/alacconvert \ + %{buildroot}%{_bindir}/alacconvert -install -d "%{buildroot}%{_includedir}" -cp -a codec/*.h "%{buildroot}%{_includedir}/" +install -d %{buildroot}%{_includedir} +cp -a codec/*.h %{buildroot}%{_includedir}/ -install -d "%{buildroot}%{_libdir}" -cp -a codec/libalac.so* "%{buildroot}%{_libdir}/" +install -d %{buildroot}%{_libdir} +cp -a codec/libalac.so* %{buildroot}%{_libdir}/ -%post -n %{lname} -p /sbin/ldconfig +%post -n lib%{name}%{sover} -p /sbin/ldconfig +%postun -n lib%{name}%{sover} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig - -%files -n %{lname} +%files %defattr(-,root,root) %doc codec/APPLE_LICENSE.txt LICENSE -%{_libdir}/libalac.so.0 -%{_libdir}/libalac.so.0.3 +%{_bindir}/alacconvert -%files -n libalac-devel +%files -n lib%{name}%{sover} %defattr(-,root,root) %doc codec/APPLE_LICENSE.txt LICENSE -%{_includedir}/*.h -%{_libdir}/libalac.so +%{_libdir}/libalac.so.%{sover}* -%files +%files devel %defattr(-,root,root) %doc codec/APPLE_LICENSE.txt LICENSE -%{_bindir}/alacconvert +%{_includedir}/*.h +%{_libdir}/libalac.so %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">https://github.com/macosforge/alac.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">alac</param> <param name="versionformat">0.0+git.%cd</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version"/> </services> ++++++ alac-endian.patch ++++++ --- /var/tmp/diff_new_pack.TYUe9m/_old 2016-10-20 23:10:09.000000000 +0200 +++ /var/tmp/diff_new_pack.TYUe9m/_new 2016-10-20 23:10:09.000000000 +0200 @@ -1,5 +1,7 @@ ---- alac.orig/codec/EndianPortable.c -+++ alac/codec/EndianPortable.c +Index: codec/EndianPortable.c +=================================================================== +--- codec/EndianPortable.c.orig ++++ codec/EndianPortable.c @@ -25,20 +25,15 @@ // @@ -27,8 +29,10 @@ #define TARGET_RT_LITTLE_ENDIAN 1 #endif ---- alac.orig/codec/ALACAudioTypes.h -+++ alac/codec/ALACAudioTypes.h +Index: codec/ALACAudioTypes.h +=================================================================== +--- codec/ALACAudioTypes.h.orig ++++ codec/ALACAudioTypes.h @@ -42,10 +42,9 @@ extern "C" { #endif ++++++ libalac-makefile.patch ++++++ --- /var/tmp/diff_new_pack.TYUe9m/_old 2016-10-20 23:10:09.000000000 +0200 +++ /var/tmp/diff_new_pack.TYUe9m/_new 2016-10-20 23:10:09.000000000 +0200 @@ -1,5 +1,7 @@ ---- alac.orig/codec/makefile -+++ alac/codec/makefile +Index: codec/makefile +=================================================================== +--- codec/makefile.orig ++++ codec/makefile @@ -1,6 +1,10 @@ # libalac make @@ -29,8 +31,10 @@ EndianPortable.o : EndianPortable.c $(CC) -I $(INCLUDES) $(CFLAGS) EndianPortable.c ---- alac.orig/convert-utility/makefile -+++ alac/convert-utility/makefile +Index: convert-utility/makefile +=================================================================== +--- convert-utility/makefile.orig ++++ convert-utility/makefile @@ -1,6 +1,7 @@ # alacconvert make
