92 lines
2.7 KiB
RPMSpec
92 lines
2.7 KiB
RPMSpec
Name: libvisual
|
|
Version: 0.4.2
|
|
Release: 4
|
|
Epoch: 1
|
|
Summary: Audio Visualization Library
|
|
|
|
License: LGPL-2.1-or-later
|
|
URL: http://libvisual.org/
|
|
Source0: https://github.com/Libvisual/libvisual/releases/download/libvisual-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Patch1: libvisual-0.4.0-inlinedefineconflict.patch
|
|
Patch2: libvisual-0.4.2-sw.patch
|
|
Patch3: libvisual-0.4.2-respect-environment-ldflags.patch
|
|
Patch4: libvisual-c99.patch
|
|
|
|
BuildRequires: libtool gettext-devel gcc-c++ doxygen autoconf-archive automake
|
|
BuildRequires: pkgconfig(sdl) >= 1.2.0
|
|
|
|
%description
|
|
Libvisual is a library that acts as a middle layer between applications
|
|
that want audio visualization, and audio visualization plugins. It is
|
|
middleware aimed at providing a common interface between application
|
|
developers with a need for audio visualization and developers who write
|
|
visualizations.
|
|
|
|
%package devel
|
|
Summary: Development files for libvisual
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
%description devel
|
|
Libvisual is a library that acts as a middle layer between applications
|
|
that want audio visualization, and audio visualization plugins.
|
|
This package provides the necessary development libraries and include
|
|
files to allow you to develop applications and plugins using the libvisual
|
|
libraries.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
#automake upgrade to 1.17 and autoconf upgrade to 2.72, but libvisual configure etc files also 1.16.5, so autoreconf
|
|
autoreconf -f
|
|
%configure --disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%find_lang %{name}-0.4
|
|
|
|
%files -f %{name}-0.4.lang
|
|
%doc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README TODO
|
|
%license COPYING
|
|
%{_libdir}/libvisual*.so.*
|
|
%{_bindir}/lv-tool*
|
|
%{_mandir}/man1/lv-tool*
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}-0.4
|
|
%{_libdir}/libvisual*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Mon Aug 05 2024 Funda Wang <fundawang@yeah.net> - 1:0.4.2-4
|
|
- Add patch to respect environment LDFLAGS
|
|
- C99 compatibility fixes
|
|
|
|
* Mon Jul 22 2024 wangxiao <wangxiao184@h-partners.com> - 1:0.4.2-3
|
|
- fix build failure due to automake upgrade
|
|
|
|
* Tue Feb 27 2024 wangshuo <wangshuo@kylinos.cn> - 1:0.4.2-2
|
|
- add libvisual-0.4.2 sw64 arch patch
|
|
|
|
* Tue Feb 6 2024 zhangnaichuan <zhangnaichuan@huawei.com> - 1:0.4.2-1
|
|
- upgrade to 0.4.2
|
|
|
|
* Thu Dec 29 2022 licihua <licihua@huawei.com> - 1:0.4.1-1
|
|
- upgrade to 0.4.1
|
|
|
|
* Fri Dec 16 2022 zhangzhixin <zhixin.zhang@i-soft.com.cn> - 1:0.4.0-29
|
|
- Add sw64 arch patch
|
|
|
|
* Fri Oct 28 2022 chenhaixiang <chenhaixiang3@huawei.com> - 1:0.4.0-28
|
|
- rebuild package
|
|
|
|
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.4.0-27
|
|
- Update source code
|
|
|
|
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.4.0-26
|
|
- Package init
|