%global __provides_exclude_from %{_libdir}/gstreamer-.*/.*\\.so$ Name: gst-buzztard Version: 0.7.0 Release: 1%{?dist} Summary: Buzztard GStreamer Plug-ins Group: Applications/Multimedia License: LGPLv2+ URL: http://gentrans.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRequires: bml-devel BuildRequires: fluidsynth-devel BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: orc-devel Requires: gstreamer %description The Buzztard project's objective is a music studio that allows one to compose songs only using a computer with a soundcard. This package provides the buzztard gstreamer plugin. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the header files and development documentation for %{name}. %package doc Summary: Documentation for Buzztard GStreamer Plug-ins Group: Documentation BuildArch: noarch BuildRequires: gtk-doc %description doc This package contains the documentation for %{name}. %prep %setup -q %build %configure --disable-static # Kill rpaths sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/*/*.la %check make check %files %{_libdir}/*.so.* %{_libdir}/gstreamer-*/*.so %files devel %{_includedir}/libgstbuzztard %{_libdir}/*.so %{_libdir}/pkgconfig/libgstbuzztard.pc %files doc %{_datadir}/gtk-doc/html/%{name} %changelog * Thu Jan 24 2013 pcpa - 0.7.0-1 - Initial gst-buzztard spec.