update to 0.4.2 [release 0.4.2-1mamba;Wed Apr 05 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 06:04:26 +01:00
parent 37ea7df746
commit 080a2a8679

View File

@ -2,27 +2,43 @@
Name: libvisual Name: libvisual
Release: 1mamba Release: 1mamba
Version: 0.4.1 Version: 0.4.2
Summary: An abstraction library that comes between applications and audio visualisation plugins Summary: An abstraction library that comes between applications and audio visualisation plugins
Group: System/Multimedia Group: System/Multimedia
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libvisual/ URL: https://sourceforge.net/projects/libvisual/
Source0: http://downloads.sourceforge.net/libvisual/libvisual-%{version}.tar.bz2 Source0: https://github.com/Libvisual/libvisual.git/libvisual-%{version}/libvisual-%{version}.tar.bz2
Patch0: libvisual-0.4.0-inlinedefineconflict.patch Patch0: libvisual-0.4.0-inlinedefineconflict.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libdirectfb-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libts-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean and easy to use API. Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean and easy to use API.
%package tools
Group: System/Tools
Summary: Tools provided with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean and easy to use API.
This package contains the tools provided with %{name}.
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Static libraries and headers for %{name} Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean and easy to use API. Libvisual is a library that comes between applications and audio visualisation plugins and provides every application that wants to draw visualisation a clean and easy to use API.
@ -32,31 +48,36 @@ This package contains static libraries and header files needed for development.
%prep %prep
%setup -q %setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub cd libvisual
# libvisual's definition of "inline" causes issues when compiling with the ./autogen.sh
# new C++11 ABI (patch from Fedora)
#%patch0 -p1 -b .inlinedefineconflict
%build %build
cd libvisual
%configure %configure
%make %make
%install %install
[ %{buildroot} != / ] && rm -rf "%{buildroot}" [ %{buildroot} != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C libvisual
%find_lang %{name}-%{majversion} %find_lang %{name}-%{majversion}
%clean %clean
[ %{buildroot} != / ] && rm -rf "%{buildroot}" [ %{buildroot} != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files -f %{name}-%{majversion}.lang %files -f %{name}-%{majversion}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libvisual-*.so.* %{_libdir}/libvisual-*.so.*
%doc AUTHORS COPYING %doc libvisual/AUTHORS libvisual/COPYING
#%files plugins
#%defattr(-,root,root)
#%dir %{_datadir}/%{name}-%{majversion}
#%{_datadir}/%{name}-%{majversion}/*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -65,9 +86,17 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%{_includedir}/%{name}-%{majversion}/%{name}/*.h %{_includedir}/%{name}-%{majversion}/%{name}/*.h
%{_libdir}/libvisual-*.so %{_libdir}/libvisual-*.so
%{_libdir}/pkgconfig/%{name}-%{majversion}.pc %{_libdir}/pkgconfig/%{name}-%{majversion}.pc
%doc ChangeLog NEWS README TODO %doc libvisual/ChangeLog libvisual/NEWS libvisual/README libvisual/TODO
%files tools
%defattr(-,root,root)
%{_bindir}/lv-tool-%{majversion}
%{_mandir}/man1/lv-tool-%{majversion}.1*
%changelog %changelog
* Wed Apr 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- update to 0.4.2
* Fri Dec 30 2022 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba * Fri Dec 30 2022 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist - automatic version update by autodist