libvisual/libvisual.spec
wangshuo 2fe20dd11f add libvisual-0.4.2 sw64 arch patch
(cherry picked from commit b8b78d61e3b28e9500abac9670baa4ad4a1ed8d7)
2024-08-05 08:59:26 +08:00

87 lines
2.3 KiB
RPMSpec

Name: libvisual
Version: 0.4.2
Release: 2
Epoch: 1
Summary: Audio Visualization Library
License: LGPLv2+
URL: http://libvisual.org/
Source0: http://dl.sf.net/libvisual/%{name}-%{version}.tar.gz
Patch1: libvisual-0.4.0-inlinedefineconflict.patch
Patch2: libvisual-0.4.2-sw.patch
BuildRequires: libtool gettext gcc-c++ xorg-x11-proto-devel doxygen SDL-devel
%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}
Requires: pkgconfig
%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
%configure
touch aclocal.m4 #Do not regenerate aclocal.m4, for ci check_build
make %{?_smp_mflags}
# doc file
#doxygen
%install
%make_install
%find_lang %{name}-0.4
%ldconfig_scriptlets
%files -f %{name}-0.4.lang
#%doc doc/html/*
%doc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README TODO
%license COPYING
%{_libdir}/libvisual*.so.*
%{_bindir}/lv-tool*
%{_datadir}/man/man1/lv-tool*
%files devel
%{_includedir}/%{name}-0.4
%{_libdir}/libvisual*.so
%exclude %{_libdir}/libvisual*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
* 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