libvisual/libvisual.spec

100 lines
3.2 KiB
RPMSpec
Raw Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libvisual
Release: 1mamba
Version: 0.4.1
Summary: An abstraction library that comes between applications and audio visualisation plugins
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libvisual/
Source0: http://downloads.sourceforge.net/libvisual/libvisual-%{version}.tar.bz2
Patch0: libvisual-0.4.0-inlinedefineconflict.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%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.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
# libvisual's definition of "inline" causes issues when compiling with the
# new C++11 ABI (patch from Fedora)
#%patch0 -p1 -b .inlinedefineconflict
%build
%configure
%make
%install
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}-%{majversion}
%clean
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}-%{majversion}.lang
%defattr(-,root,root)
%{_libdir}/libvisual-*.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/%{name}-%{majversion}
%dir %{_includedir}/%{name}-%{majversion}/%{name}
%{_includedir}/%{name}-%{majversion}/%{name}/*.h
%{_libdir}/libvisual-*.so
%{_libdir}/pkgconfig/%{name}-%{majversion}.pc
%doc ChangeLog NEWS README TODO
%changelog
* Fri Dec 30 2022 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Wed Sep 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-6mamba
- rebuilt with c++11 abi fix to build libvisual-plugins
* Fri Dec 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-5mamba
- rebuilt with debug package and aarch64 build fix
* Tue Dec 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-4mamba
- split libvisual and libvisual-plugins source packages
* Wed Dec 12 2007 Aleph0 <aleph0@openmamba.org> 0.4.0-3mamba
- updated specfile
* Tue Feb 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2qilnx
- rebuilt
* Thu Jun 15 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.4.0-1qilnx
- update to version 0.4.0 by autospec
* Tue Aug 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.0-2qilnx
- added libvisual plugins
* Mon Feb 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.0-1qilnx
- update to version 0.2.0 by autospec
* Thu Sep 30 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.1.6-1qilnx
- package created by autospec