fix library SOVERSION [release 0.16.1-2mamba;Thu Feb 03 2022]
This commit is contained in:
parent
d63d7e2aa9
commit
41f97a02c1
11
libid3tag-0.16.1-fix-soversion.patch
Normal file
11
libid3tag-0.16.1-fix-soversion.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libid3tag-0.16.1/CMakeLists.txt.orig 2022-02-03 09:09:57.156983546 +0100
|
||||||
|
+++ libid3tag-0.16.1/CMakeLists.txt 2022-02-03 09:10:38.460553440 +0100
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
|
||||||
|
set_target_properties(id3tag PROPERTIES
|
||||||
|
VERSION ${CMAKE_PROJECT_VERSION}
|
||||||
|
- SOVERSION ${CMAKE_PROJECT_VERSION}
|
||||||
|
+ SOVERSION 0
|
||||||
|
)
|
||||||
|
|
||||||
|
include(CheckIncludeFile)
|
@ -1,19 +1,19 @@
|
|||||||
Name: libid3tag
|
Name: libid3tag
|
||||||
Version: 0.15.1b
|
Version: 0.16.1
|
||||||
Release: 6mamba
|
Release: 2mamba
|
||||||
Summary: A library for reading, writing, and manipulating ID3v1 and ID3v2 tags
|
Summary: A library for reading, writing, and manipulating ID3v1 and ID3v2 tags
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.underbit.com/products/mad/
|
URL: https://github.com/tenacityteam/libid3tag
|
||||||
Source: http://downloads.sourceforge.net/sourceforge/mad/libid3tag-%{version}.tar.gz
|
Source: https://github.com/tenacityteam/libid3tag.git/%{version}/libid3tag-%{version}.tar.bz2
|
||||||
|
Patch0: libid3tag-0.16.1-fix-soversion.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
|
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
|
||||||
@ -32,30 +32,17 @@ This is the devel package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%cmake -d build \
|
||||||
|
-DCMAKE_STRIP=false
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
|
|
||||||
install -d %{buildroot}%{_libdir}/pkgconfig
|
|
||||||
|
|
||||||
echo "\
|
|
||||||
prefix=%{_prefix}
|
|
||||||
exec_prefix=\${prefix}
|
|
||||||
libdir=\${exec_prefix}/lib
|
|
||||||
includedir=\${prefix}/include
|
|
||||||
|
|
||||||
Name: id3tag
|
|
||||||
Description: ID3 tag reading library
|
|
||||||
Requires:
|
|
||||||
Version: 0.15.1b
|
|
||||||
Libs: -L\${libdir} -lid3tag -lz
|
|
||||||
Cflags: -L\${includedir}" > %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -70,14 +57,20 @@ Cflags: -L\${includedir}" > %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/libid3tag.a
|
%{_includedir}/*.h
|
||||||
%{_libdir}/libid3tag.la
|
|
||||||
%{_libdir}/libid3tag.so
|
%{_libdir}/libid3tag.so
|
||||||
%{_libdir}/pkgconfig/id3tag.pc
|
%{_libdir}/pkgconfig/id3tag.pc
|
||||||
%{_includedir}/*.h
|
%dir %{_libdir}/cmake/id3tag
|
||||||
|
%{_libdir}/cmake/id3tag/id3tag*.cmake
|
||||||
%doc CHANGES CREDITS README TODO
|
%doc CHANGES CREDITS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-2mamba
|
||||||
|
- fix library SOVERSION
|
||||||
|
|
||||||
|
* Sun Dec 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-1mamba
|
||||||
|
- update to 0.16.1
|
||||||
|
|
||||||
* Thu Dec 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba
|
* Thu Dec 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1b-6mamba
|
||||||
- rebuilt with debug package and aarch64 build fix
|
- rebuilt with debug package and aarch64 build fix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user