diff --git a/.cvsignore b/.cvsignore index e69de29..f92e56d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libvisual-0.1.6.tar.gz diff --git a/libvisual-0.1.6-destdir.diff b/libvisual-0.1.6-destdir.diff new file mode 100644 index 0000000..99630b8 --- /dev/null +++ b/libvisual-0.1.6-destdir.diff @@ -0,0 +1,13 @@ +--- ./Makefile.in.destdir 2004-09-28 10:36:36.783088158 +0200 ++++ ./Makefile.in 2004-09-28 10:39:32.114687891 +0200 +@@ -641,8 +641,8 @@ + + + install-exec-local: libvisual/lvconfig.h +- $(mkinstalldirs) $(prefix)/include/libvisual +- file=$(prefix)/include/libvisual/lvconfig.h; \ ++ $(mkinstalldirs) $(DESTDIR)$(prefix)/include/libvisual ++ file=$(DESTDIR)$(prefix)/include/libvisual/lvconfig.h; \ + if test -r $$file && cmp -s libvisual/lvconfig.h $$file; then :; \ + else $(INSTALL_DATA) libvisual/lvconfig.h $$file; fi + diff --git a/libvisual.spec b/libvisual.spec new file mode 100644 index 0000000..61ed3f0 --- /dev/null +++ b/libvisual.spec @@ -0,0 +1,85 @@ +Name: libvisual +Version: 0.1.6 +Release: 0.fdr.2.2 +Epoch: 0 +Summary: An abstraction library for audio visualisation plugins + +Group: Applications/Multimedia +License: LGPL +URL: http://libvisual.sf.net +Source0: http://dl.sf.net/libvisual/libvisual-0.1.6.tar.gz +Patch0: libvisual-0.1.6-destdir.diff +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: xorg-x11-devel + + +%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, basicly 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} = %{epoch}:%{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 -q +%patch0 -b .destdir + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -rf examples/.deps examples/Makefile* + +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%doc examples +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_includedir}/%{name} + + +%changelog +* Thu Oct 21 2004 Aurelien Bompard 0:0.1.6-0.fdr.2 +- Apply Adrian Reber's suggestions in bug 2182 + +* Tue Sep 28 2004 Aurelien Bompard 0:0.1.6-0.fdr.1 +- Initial RPM release. diff --git a/sources b/sources index e69de29..ca4b345 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2b71b1c82b8a8bb36a79fbaf166ec430 libvisual-0.1.6.tar.gz