A better fix, add requires gstreamer1-plugins-ugly-free-devel (rfbz #4589)

el8
leigh123linux 8 years ago
parent 27740da802
commit 32dc95646d

@ -1,11 +1,13 @@
%global src_name gst-plugins-ugly
Summary: GStreamer 1.0 streaming media framework "ugly" plug-ins Summary: GStreamer 1.0 streaming media framework "ugly" plug-ins
Name: gstreamer1-plugins-ugly Name: gstreamer1-plugins-ugly
Version: 1.12.1 Version: 1.12.1
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/ URL: https://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz Source0: %{url}/src/gst-plugins-ugly/%{src_name}-%{version}.tar.xz
BuildRequires: gstreamer1-devel >= %{version} BuildRequires: gstreamer1-devel >= %{version}
BuildRequires: gstreamer1-plugins-base-devel >= %{version} BuildRequires: gstreamer1-plugins-base-devel >= %{version}
@ -18,7 +20,7 @@ BuildRequires: x264-devel >= 0.0.0-0.28
BuildRequires: opencore-amr-devel BuildRequires: opencore-amr-devel
# Provides locale files # Provides locale files
Requires: gstreamer1-plugins-ugly-free%{?_isa} = %{version} Requires: %{name}-free%{?_isa} = %{version}
%description %description
GStreamer is a streaming media framework, based on graphs of elements which GStreamer is a streaming media framework, based on graphs of elements which
@ -35,6 +37,7 @@ gstreamer-plugins-good because:
Summary: Development documentation for the GStreamer "ugly" plug-ins Summary: Development documentation for the GStreamer "ugly" plug-ins
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-free-devel = %{version}
BuildArch: noarch BuildArch: noarch
%description devel-docs %description devel-docs
@ -49,7 +52,7 @@ be shipped in gstreamer-plugins-good because:
%prep %prep
%autosetup -p1 -n gst-plugins-ugly-%{version} %autosetup -p1 -n %{src_name}-%{version}
%build %build
@ -71,7 +74,7 @@ be shipped in gstreamer-plugins-good because:
%make_install V=1 %make_install V=1
rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la
rm -rf %{buildroot}%{_datadir}/locale/ rm -rf %{buildroot}%{_datadir}/locale/
rm %{buildroot}%{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-1.0/gst-plugins-ugly-plugins-1.0.devhelp2 rm %{buildroot}%{_datadir}/gtk-doc/html/%{src_name}-plugins-1.0/*
%files %files
@ -92,10 +95,13 @@ rm %{buildroot}%{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-1.0/gst-plugins
%files devel-docs %files devel-docs
# Take the dir and everything below it for proper dir ownership # Take the dir and everything below it for proper dir ownership
%doc %{_datadir}/gtk-doc %doc %{_datadir}/gtk-doc/html/%{src_name}-plugins-1.0/
%changelog %changelog
* Sun Jul 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.12.1-3
- A better fix, add requires gstreamer1-plugins-ugly-free-devel (rfbz #4589)
* Sun Jul 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.12.1-2 * Sun Jul 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.12.1-2
- Remove conflicting file in devel-docs (rfbz #4589) - Remove conflicting file in devel-docs (rfbz #4589)

Loading…
Cancel
Save