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
|
||||
Version: 0.15.1b
|
||||
Release: 6mamba
|
||||
Version: 0.16.1
|
||||
Release: 2mamba
|
||||
Summary: A library for reading, writing, and manipulating ID3v1 and ID3v2 tags
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.underbit.com/products/mad/
|
||||
Source: http://downloads.sourceforge.net/sourceforge/mad/libid3tag-%{version}.tar.gz
|
||||
URL: https://github.com/tenacityteam/libid3tag
|
||||
Source: https://github.com/tenacityteam/libid3tag.git/%{version}/libid3tag-%{version}.tar.bz2
|
||||
Patch0: libid3tag-0.16.1-fix-soversion.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags.
|
||||
@ -32,30 +32,17 @@ This is the devel package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%cmake -d build \
|
||||
-DCMAKE_STRIP=false
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
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
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -70,14 +57,20 @@ Cflags: -L\${includedir}" > %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libid3tag.a
|
||||
%{_libdir}/libid3tag.la
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libid3tag.so
|
||||
%{_libdir}/pkgconfig/id3tag.pc
|
||||
%{_includedir}/*.h
|
||||
%dir %{_libdir}/cmake/id3tag
|
||||
%{_libdir}/cmake/id3tag/id3tag*.cmake
|
||||
%doc CHANGES CREDITS README TODO
|
||||
|
||||
%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
|
||||
- rebuilt with debug package and aarch64 build fix
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user