162 lines
5.3 KiB
RPMSpec
162 lines
5.3 KiB
RPMSpec
%define smallversion 0.5
|
|
%global commit 7e4bc9ab9b54f94b399e193e5850276bfc2f55a5
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: libvisual
|
|
Version: 0.5.0
|
|
Release: 0.1.git%{shortcommit}%{?dist}
|
|
Summary: Abstraction library for audio visualisation plugins
|
|
|
|
Group: Applications/Multimedia
|
|
License: LGPLv2+
|
|
URL: http://github.com/Libvisual/libvisual
|
|
Source0: https://github.com/Libvisual/libvisual/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: xorg-x11-proto-devel, orc-devel, cmake
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
|
|
Patch0: libvisual-0.5.0-better-altivec-detection.patch
|
|
|
|
|
|
%description
|
|
Libvisual is an abstraction library that comes between applications and
|
|
audio visualisation plugins.
|
|
|
|
Often when it comes to audio visualisation plugins or programs that create
|
|
visuals they do depend on a player or something else, basically there is no
|
|
general framework that enable application developers to easy access cool
|
|
audio visualisation plugins. Libvisual wants to change this by providing
|
|
an interface towards plugins and applications, through this easy to use
|
|
interface applications can easily access plugins and since the drawing is
|
|
done by the application it also enables the developer to draw the visual
|
|
anywhere he wants.
|
|
|
|
%package devel
|
|
Summary: Development files for libvisual
|
|
Group: Development/Libraries
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Libvisual is an abstraction library that comes between applications and
|
|
audio visualisation plugins.
|
|
|
|
This package contains the files needed to build an application with libvisual.
|
|
|
|
%prep
|
|
%setup -qn %{name}-%{commit}
|
|
pushd libvisual
|
|
%patch0 -p1 -b .altivec-detection
|
|
popd
|
|
|
|
%build
|
|
pushd libvisual
|
|
%cmake -DOPT_C_FLAGS="%{optflags}"
|
|
|
|
make %{?_smp_mflags}
|
|
# CXX_FLAGS+="%{optflags}"
|
|
|
|
popd
|
|
|
|
%install
|
|
pushd libvisual
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
|
popd
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%doc libvisual/AUTHORS libvisual/COPYING libvisual/ChangeLog libvisual/NEWS libvisual/README libvisual/TODO
|
|
%{_bindir}/lv-tool
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/%{name}-%{smallversion}
|
|
|
|
%changelog
|
|
* Tue Dec 03 2013 Tom Callaway <spot@fedoraproject.org> - 0.5.0-0.1.git7e4bc9a
|
|
- Update to 0.5.0 (git)
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Sat Mar 07 2009 Caolán McNamara <caolanm@redhat.com> - 0.4.0-8
|
|
- defining inline causes problems trying to build against libvisual headers,
|
|
e.g. libvisual-plugins
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Tue Mar 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.4.0-6
|
|
- Better Altivec detection, code from David Woodhouse
|
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.0-5
|
|
- Autorebuild for GCC 4.3
|
|
|
|
* Sun Aug 26 2007 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-4
|
|
- fix license tag
|
|
|
|
* Wed Aug 30 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-3
|
|
- rebuild
|
|
|
|
* Sat Jul 08 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-2
|
|
- bump release
|
|
|
|
* Thu Jul 06 2006 Aurelien Bompard <abompard@fedoraproject.org> 0.4.0-1
|
|
- version 0.4.0
|
|
- drop Patch0 (applied upstream)
|
|
|
|
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-8
|
|
- fix dependency for modular X
|
|
|
|
* Tue Feb 21 2006 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-7
|
|
- rebuild for FC5
|
|
|
|
* Wed Jun 15 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-6
|
|
- rebuild
|
|
|
|
* Wed Jun 15 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-5
|
|
- fix build for GCC4
|
|
|
|
* Thu Jun 9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.2.0-4
|
|
- use dist tag for all-arch-rebuild
|
|
|
|
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.2.0-3
|
|
- rebuilt
|
|
|
|
* Mon Feb 14 2005 David Woodhouse <dwmw2@infradead.org> 0.2.0-2
|
|
- Fix bogus #if where #ifdef was meant
|
|
|
|
* Thu Feb 10 2005 Aurelien Bompard <gauret[AT]free.fr> 0.2.0-1
|
|
- version 0.2.0
|
|
- drop patch
|
|
|
|
* Sat Nov 27 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.7-0.fdr.1
|
|
- version 0.1.7
|
|
|
|
* Thu Oct 21 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.6-0.fdr.2
|
|
- Apply Adrian Reber's suggestions in bug 2182
|
|
|
|
* Tue Sep 28 2004 Aurelien Bompard <gauret[AT]free.fr> 0:0.1.6-0.fdr.1
|
|
- Initial RPM release.
|