Compare commits
No commits in common. "rawhide" and "f28" have entirely different histories.
4 changed files with 263 additions and 1 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
*~
|
||||
*.rpm
|
||||
*.tar*
|
||||
results_*/
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (xplayer-2.0.1.tar.gz) = 67802aa23658eb91c3b47569612ee5b72f705b34fe2ec8c6e58a65c534362a3afc5ce6806b2affdacd6b826b45ba04b21bfb2728fcab68bceef38d4ee654c658
|
||||
258
xplayer.spec
Normal file
258
xplayer.spec
Normal file
|
|
@ -0,0 +1,258 @@
|
|||
# This package depends on automagic byte compilation
|
||||
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
||||
%global _python_bytecompile_extra 1
|
||||
|
||||
# Filter provides from plugins.
|
||||
%global __provides_exclude_from ^(%{_libdir}/%{name}/.*\\.so|%{_libdir}/mozilla/.*\\.so)$
|
||||
|
||||
|
||||
Name: xplayer
|
||||
Version: 2.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A generic Media Player
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://github.com/linuxmint/%{name}
|
||||
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: gstreamer1-plugins-good
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(clutter-1.0)
|
||||
BuildRequires: pkgconfig(clutter-gst-3.0)
|
||||
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gdk-x11-3.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(grilo-0.3)
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
||||
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-base-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(ice)
|
||||
BuildRequires: pkgconfig(libpeas-1.0)
|
||||
BuildRequires: pkgconfig(libpeas-gtk-1.0)
|
||||
BuildRequires: pkgconfig(lirc)
|
||||
BuildRequires: pkgconfig(pygobject-3.0)
|
||||
BuildRequires: pkgconfig(sm)
|
||||
BuildRequires: pkgconfig(xapp)
|
||||
BuildRequires: pkgconfig(xkbfile)
|
||||
BuildRequires: pkgconfig(xplayer-plparser)
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: pkgconfig(zeitgeist-2.0)
|
||||
%endif
|
||||
BuildRequires: pylint
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pylint
|
||||
BuildRequires: vala-devel
|
||||
|
||||
Requires: python%{python3_pkgversion}-xapps-overrides%{?_isa}
|
||||
Requires: libpeas-loader-python3%{?_isa}
|
||||
|
||||
%if (0%{?rhel} && 0%{?rhel <= 7})
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
%endif
|
||||
|
||||
Obsoletes: xplayer-browser-plugin <= %{version}-%{release}
|
||||
|
||||
%description
|
||||
Xplayer is a generic media player.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Files needed to develop plugins for %{name}
|
||||
Requires: %{name}%{?_isa} == %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains files needed to develop plugins for %{name}.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: gtk-doc
|
||||
|
||||
%description doc
|
||||
This package contains the documentation files for %{name}.
|
||||
|
||||
|
||||
%package plugin-grilo
|
||||
Summary: Plugin for integrating grillo into %{name}
|
||||
Requires: %{name}%{?_isa} == %{version}-%{release}
|
||||
|
||||
%description plugin-grilo
|
||||
Xplayer is a generic media player.
|
||||
|
||||
This package contains the plugin for integrating grillo into %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# Fix shebang to python3.
|
||||
f="data/%{name}-bugreport.py"
|
||||
%{__sed} -e 's~^#!%{_bindir}/python$~#!%{__python3}~' \
|
||||
< ${f} > ${f}.new
|
||||
/bin/touch -r ${f} ${f}.new
|
||||
%{__mv} -f ${f}.new ${f}
|
||||
|
||||
NOCONFIGURE=1 %{_bindir}/gnome-autogen.sh
|
||||
|
||||
|
||||
%build
|
||||
export PYTHON=%{__python3}
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--enable-gtk-doc \
|
||||
--enable-introspection \
|
||||
--disable-Werror
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%{_bindir}/find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
||||
%{_bindir}/find %{buildroot}%{_datadir}/icons -type f -print | \
|
||||
%{__sed} -e 's!%{buildroot}!!g' > %{name}.icons
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
%check
|
||||
# Validate desktop-files.
|
||||
%{_bindir}/desktop-file-validate \
|
||||
%{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
|
||||
%if (0%{?rhel} && 0%{?rhel <= 7})
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_bindir}/update-desktop-database &> /dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
fi
|
||||
%{_bindir}/update-desktop-database &> /dev/null || :
|
||||
|
||||
%posttrans
|
||||
%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_bindir}/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%else
|
||||
%ldconfig_scriptlets
|
||||
%endif
|
||||
|
||||
%files -f %{name}.lang -f %{name}.icons
|
||||
%license AUTHORS COPYING debian/copyright
|
||||
%doc ChangeLog NEWS README debian/changelog
|
||||
%exclude %{_libdir}/%{name}/plugins/grilo/
|
||||
%{_bindir}/%{name}*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.x.player*.xml
|
||||
%{_datadir}/help/*/%{name}/
|
||||
%{_datadir}/thumbnailers/%{name}.thumbnailer
|
||||
%{_datadir}/%{name}/
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
%{_libdir}/lib%{name}*.so.*
|
||||
%{_libdir}/%{name}/
|
||||
%{_libexecdir}/%{name}*
|
||||
%{_mandir}/man1/%{name}*
|
||||
|
||||
|
||||
%files devel
|
||||
%{_datadir}/gir-1.0/*.gir
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/lib%{name}*.so
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
|
||||
|
||||
%files doc
|
||||
%license %{_datadir}/licenses/%{name}*
|
||||
%doc %{_datadir}/doc/%{name}*
|
||||
%doc %{_datadir}/gtk-doc
|
||||
|
||||
|
||||
%files plugin-grilo
|
||||
%{_libdir}/%{name}/plugins/grilo/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 28 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
|
||||
- Update to 2.0.1 release
|
||||
|
||||
* Tue Nov 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-1
|
||||
- Update to 2.0.0 release
|
||||
|
||||
* Mon Aug 27 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.3-2
|
||||
- Update python3 porting patch
|
||||
|
||||
* Wed Aug 15 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.3-1
|
||||
- Update to 1.8.3 release
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.8.0-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Sat May 12 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-2
|
||||
- Port loader to python3
|
||||
- Add requires libpeas-loader-python3
|
||||
- Clean up scriptlets
|
||||
|
||||
* Sun May 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-1
|
||||
- Update to 1.8.0 release
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Nov 17 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-4
|
||||
- Add required scriptlets for EPEL7
|
||||
|
||||
* Fri Nov 17 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-3
|
||||
- Fix Requires
|
||||
|
||||
* Fri Nov 17 2017 Björn Esser <besser82@fedoraproject.org> - 1.6.0-2
|
||||
- Adaptions for EPEL7
|
||||
|
||||
* Sat Nov 04 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.6.0-1
|
||||
- Update to 1.6.0 release
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Jul 01 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.3-1
|
||||
- New upstream release (rhbz#1467001)
|
||||
|
||||
* Wed May 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.2-1
|
||||
- New upstream release (rhbz#1454985)
|
||||
|
||||
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.1-1
|
||||
- New upstream release
|
||||
|
||||
* Mon May 08 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.0-1
|
||||
- Initial import (#1424871)
|
||||
|
||||
* Sat May 06 2017 Björn Esser <besser82@fedoraproject.org> - 1.4.0-0.1
|
||||
- Initial rpm-release (#1424871)
|
||||
Loading…
Add table
Add a link
Reference in a new issue