Blame SPECS/gstreamer1-plugins-ugly-free.spec

647f16
%global         majorminor 1.0
647f16
647f16
#global gitrel     140
647f16
#global gitcommit  4ca3a22b6b33ad8be4383063e76f79c4d346535d
647f16
#global shortcommit %(c=%{gitcommit}; echo ${c:0:5})
647f16
647f16
Name:           gstreamer1-plugins-ugly-free
647f16
Version:        1.18.4
647f16
Release:        3%{?dist}
647f16
Summary:        GStreamer streaming media framework "ugly" plugins
647f16
647f16
License:        LGPLv2+ and LGPLv2
647f16
URL:            http://gstreamer.freedesktop.org/
647f16
%if 0%{?gitrel}
647f16
# git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly
647f16
# cd gst-plugins-ugly; git reset --hard %{gitcommit}; ./autogen.sh; make; make distcheck
647f16
# modified with gst-p-ugly-cleanup.sh from SOURCE1
647f16
%else
647f16
# The source is:
647f16
# http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
647f16
# modified with gst-p-ugly-cleanup.sh from SOURCE1
647f16
%endif
647f16
Source0:        gst-plugins-ugly-free-%{version}.tar.xz
647f16
Source1:        gst-p-ugly-cleanup.sh
647f16
647f16
BuildRequires:	meson >= 0.48.0
647f16
BuildRequires:	gcc
647f16
647f16
BuildRequires:  gstreamer1-devel >= %{version}
647f16
BuildRequires:  gstreamer1-plugins-base-devel >= %{version}
647f16
647f16
BuildRequires:  check
647f16
BuildRequires:  gettext-devel
647f16
647f16
BuildRequires:  liba52-devel
647f16
BuildRequires:  libcdio-devel
647f16
BuildRequires:  libdvdread-devel
647f16
BuildRequires:  libmpeg2-devel
647f16
647f16
# when mpeg2dec was moved here from -ugly
647f16
Conflicts: gstreamer1-plugins-ugly < 1.16.0-2
647f16
647f16
%description
647f16
GStreamer is a streaming media framework, based on graphs of elements which
647f16
operate on media data.
647f16
647f16
This package contains plug-ins whose license is not fully compatible with LGPL.
647f16
647f16
%package devel
647f16
Summary:        Development files for the GStreamer media framework "ugly" plug-ins
647f16
Requires:       %{name} = %{version}-%{release}
647f16
Requires:       gstreamer1-plugins-base-devel
647f16
647f16
647f16
%description devel
647f16
GStreamer is a streaming media framework, based on graphs of elements which
647f16
operate on media data.
647f16
647f16
This package contains the development files for the plug-ins whose license
647f16
is not fully compatible with LGPL.
647f16
647f16
647f16
%prep
647f16
%setup -q -n gst-plugins-ugly-%{version}
647f16
647f16
647f16
%build
647f16
# libsidplay was removed as obsolete, not forbidden
647f16
%meson \
647f16
    -D package-name="Fedora GStreamer-plugins-ugly package" \
647f16
    -D package-origin="http://download.fedoraproject.org" \
647f16
    -D doc=disabled \
647f16
    -D amrnb=disabled -D amrwbdec=disabled -D sidplay=disabled \
647f16
    -D x264=disabled -D asfdemux=disabled -D dvdlpcmdec=disabled \
647f16
    -D dvdsub=disabled -D realmedia=disabled
647f16
647f16
%meson_build
647f16
647f16
%install
647f16
%meson_install
647f16
647f16
# Register as an AppStream component to be visible in the software center
647f16
#
647f16
# NOTE: It would be *awesome* if this file was maintained by the upstream
647f16
# project, translated and installed into the right place during `make install`.
647f16
#
647f16
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
647f16
#
647f16
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
647f16
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-ugly-free.appdata.xml <
647f16
647f16
647f16
<component type="codec">
647f16
  <id>gstreamer-ugly-free</id>
647f16
  <metadata_license>CC0-1.0</metadata_license>
647f16
  <name>GStreamer Multimedia Codecs - Extra</name>
647f16
  <summary>Multimedia playback for CD, DVD, and MP3</summary>
647f16
  <description>
647f16
    

647f16
      This addon includes several additional codecs that have good quality and
647f16
      correct functionality, but whose license is not fully compatible with LGPL.
647f16
    

647f16
    

647f16
      These codecs can be used to encode and decode media files where the
647f16
      format is not patent encumbered.
647f16
    

647f16
    

647f16
      A codec decodes audio and video for for playback or editing and is also
647f16
      used for transmission or storage.
647f16
      Different codecs are used in video-conferencing, streaming media and
647f16
      video editing applications.
647f16
    

647f16
  </description>
647f16
  <keywords>
647f16
    <keyword>CD</keyword>
647f16
    <keyword>DVD</keyword>
647f16
    <keyword>MP3</keyword>
647f16
  </keywords>
647f16
  <url type="homepage">http://gstreamer.freedesktop.org/</url>
647f16
  <url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
647f16
  <url type="help">http://gstreamer.freedesktop.org/documentation/</url>
647f16
  <url type="donation">http://www.gnome.org/friends/</url>
647f16
  <update_contact></update_contact>
647f16
</component>
647f16
EOF
647f16
647f16
%find_lang gst-plugins-ugly-%{majorminor}
647f16
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
647f16
647f16
647f16
%files -f gst-plugins-ugly-%{majorminor}.lang
647f16
%license COPYING
647f16
%doc AUTHORS README REQUIREMENTS
647f16
647f16
%{_datadir}/appdata/*.appdata.xml
647f16
647f16
# Plugins without external dependencies
647f16
%{_libdir}/gstreamer-%{majorminor}/libgstxingmux.so
647f16
647f16
# Plugins with external dependencies
647f16
%{_libdir}/gstreamer-%{majorminor}/libgsta52dec.so
647f16
%{_libdir}/gstreamer-%{majorminor}/libgstcdio.so
647f16
%{_libdir}/gstreamer-%{majorminor}/libgstdvdread.so
647f16
%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2dec.so
647f16
647f16
%if 0
647f16
%files devel
647f16
%doc %{_datadir}/gtk-doc/html/gst-plugins-ugly-plugins-%{majorminor}
647f16
%endif
647f16
647f16
%changelog
647f16
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.18.4-3
647f16
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
647f16
  Related: rhbz#1991688
647f16
647f16
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.18.4-2
647f16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
647f16
647f16
* Tue Mar 16 2021 Wim Taymans <wtaymans@redhat.com> - 1.18.4-1
647f16
- Update to 1.18.4
647f16
647f16
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-2
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
647f16
647f16
* Thu Dec 10 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.2-1
647f16
- Update to 1.18.2
647f16
647f16
* Fri Oct 30 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.1-1
647f16
- Update to 1.18.1
647f16
647f16
* Sat Oct 17 2020 Dominik Mierzejewski <rpm@greysector.net> - 1.18.0-2
647f16
- rebuild for libdvdread-6.1 ABI bump
647f16
647f16
* Tue Sep 8 2020 Wim Taymans <wtaymans@redhat.com> - 1.18.0-1
647f16
- Update to 1.18.0
647f16
647f16
* Fri Aug 21 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.90-1
647f16
- Update to 1.17.90
647f16
647f16
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-2
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
647f16
647f16
* Mon Jul 6 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.2-1
647f16
- Update to 1.17.2
647f16
647f16
* Mon Jun 22 2020 Wim Taymans <wtaymans@redhat.com> - 1.17.1-1
647f16
- Update to 1.17.1
647f16
647f16
* Mon Mar 30 2020 Adrian Reber <adrian@lisas.de> - 1.16.2-3
647f16
- Rebuilt for new libcdio (2.1.0)
647f16
647f16
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.2-2
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
647f16
647f16
* Thu Jan 2 2020 Wim Taymans <wtaymans@redhat.com> - 1.16.2-1
647f16
- Update to 1.16.2
647f16
647f16
* Fri Nov 15 2019 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> - 1.16.1-2
647f16
- rebuild for libdvdread ABI bump
647f16
647f16
* Tue Sep 24 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.1-1
647f16
- Update to 1.16.1
647f16
647f16
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.0-4
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
647f16
647f16
* Mon May 20 2019 Rex Dieter <rdieter@fedoraproject.org> - 1.16.0-3
647f16
- Conflicts: gstreamer1-plugins-ugly < 1.16.0-2
647f16
647f16
* Mon May 13 2019 Yaakov Selkowitz <yselkowi@redhat.com> - 1.16.0-2
647f16
- Enable mpeg2dec plugin (#1709470)
647f16
647f16
* Tue Apr 23 2019 Wim Taymans <wtaymans@redhat.com> - 1.16.0-1
647f16
- Update to 1.16.0
647f16
647f16
* Fri Mar 01 2019 Wim Taymans <wtaymans@redhat.com> - 1.15.2-1
647f16
- Update to 1.15.2
647f16
647f16
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-2
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
647f16
647f16
* Fri Jan 25 2019 Wim Taymans <wtaymans@redhat.com> - 1.15.1-1
647f16
- Update to 1.15.1
647f16
647f16
* Wed Oct 03 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.4-1
647f16
- Update to 1.14.4
647f16
647f16
* Tue Sep 18 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.3-1
647f16
- Update to 1.14.3
647f16
647f16
* Mon Jul 23 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.2-1
647f16
- Update to 1.14.2
647f16
647f16
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-4
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
647f16
647f16
* Fri May 25 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-3
647f16
- rebuild (#1581325) to update Provides
647f16
647f16
* Tue May 22 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.14.1-2
647f16
- rebuild (file)
647f16
647f16
* Mon May 21 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.1-1
647f16
- Update to 1.14.1
647f16
647f16
* Tue Mar 20 2018 Wim Taymans <wtaymans@redhat.com> - 1.14.0-1
647f16
- Update to 1.14.0
647f16
647f16
* Wed Mar 14 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.91-1
647f16
- Update to 1.13.91
647f16
647f16
* Mon Mar 05 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.90-1
647f16
- Update to 1.13.90
647f16
647f16
* Tue Feb 27 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.13.1-2
647f16
- drop Obsoletes/Provides: -mpg123 (moved to -good)
647f16
647f16
* Thu Feb 22 2018 Wim Taymans <wtaymans@redhat.com> - 1.13.1-1
647f16
- Update to 1.13.1
647f16
- mp3 plugins moved to -good
647f16
647f16
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.4-4
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
647f16
647f16
* Thu Jan 25 2018 Adrian Reber <adrian@lisas.de> - 1.12.4-3
647f16
- Rebuilt for new libcdio (2.0.0)
647f16
647f16
* Sun Jan 14 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.4-2
647f16
- Enable twolame plugin (#1534289)
647f16
647f16
* Mon Dec 11 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.4-1
647f16
- Update to 1.12.4
647f16
- Add autoconf and friends to BuildRequires
647f16
647f16
* Tue Sep 19 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.3-1
647f16
- Update to 1.12.3
647f16
647f16
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-3
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
647f16
647f16
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.2-2
647f16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
647f16
647f16
* Mon Jul 17 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.2-1
647f16
- Update to 1.12.2
647f16
647f16
* Tue Jun 20 2017 Wim Taymans <wtaymans@redhat.com> - 1.12.1-1
647f16
- Update to 1.12.1
647f16
647f16
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-3
647f16
- Enable LAME plugin (#1450108)
647f16
647f16
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.12.0-2
647f16
- Update to 1.12.0
647f16
647f16
* Thu May 11 2017 Yaakov Selkowitz <yselkowi@redhat.com> - 1.10.4-2
647f16
- Initial Fedora spec file