rpms/xpra-codecs-freeworld/devel xpra-codecs-freeworld.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

T.C. Hollingsworth patches at rpmfusion.org
Wed Mar 25 16:19:20 CET 2015


Author: patches

Update of /cvs/free/rpms/xpra-codecs-freeworld/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29026/devel

Modified Files:
	.cvsignore sources 
Added Files:
	xpra-codecs-freeworld.spec 
Log Message:
initial import (#2733)



--- NEW FILE xpra-codecs-freeworld.spec ---
# This package provides H.264 and swscale support for Xpra.
# 

# Remove private provides from .so files in the python_sitearch directory
%global __provides_exclude_from ^%{python_sitearch}/.*\\.so$

Name:           xpra-codecs-freeworld
Version:        0.14.21
Release:        2%{?dist}
Summary:        Additional codecs for xpra using x264 and ffmpeg

License:        GPLv2+
URL:            http://www.xpra.org/
Source0:        http://xpra.org/src/xpra-%{version}.tar.xz


BuildRequires:  python2-devel pygobject2-devel pygtk2-devel
BuildRequires:  libXtst-devel
BuildRequires:  libxkbfile-devel
BuildRequires:  Cython
BuildRequires:  desktop-file-utils
BuildRequires:  libvpx-devel
BuildRequires:  libwebp-devel
BuildRequires:  x264-devel
BuildRequires:  ffmpeg-devel

Requires:       xpra = %{version}
Requires:       gstreamer-plugins-ugly

%description
Provides support for H.264 encoding and swscale support in xpra using
x264 and ffmpeg.

%prep
%setup -q -n xpra-%{version}

%build
CFLAGS="%{optflags}" %{__python} setup.py build \
    --with-vpx \
    --with-webp \
    --with-enc_x264 \
    --with-dec_avcodec \
    --with-csc_swscale \
    --with-Xdummy \
    --with-Xdummy_wrapper

%install
mkdir destdir
%{__python} setup.py install --skip-build --root destdir

mkdir -p %{buildroot}%{python_sitearch}/xpra/codecs/
pushd destdir%{python_sitearch}/xpra/codecs/
cp -pr csc_swscale dec_avcodec enc_x264 \
        %{buildroot}%{python_sitearch}/xpra/codecs/
popd

#drop shebangs from python_sitearch
find %{buildroot}%{python_sitearch}/xpra -name '*.py' \
    -exec sed -i '1{\@^#!/usr/bin/env python at d}' {} \;
    
#fix permissions on shared objects
find %{buildroot}%{python_sitearch}/xpra -name '*.so' \
    -exec chmod 0755 {} \;

%files
%{python_sitearch}/xpra/codecs/*
%doc COPYING

%changelog
* Tue Mar 24 2015 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.14.21-2
- Remove vpx codec - that's now packaged with the main xpra package

* Mon Mar 23 2015 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 0.14.21-1
- Update to 0.14.21
- Update summary and description
- Tighten xpra requirement to be same version
- Remove out of date comment about libvpx

* Fri Oct 18 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.10.6-1
- new upstream release 0.10.6
  http://lists.devloop.org.uk/pipermail/shifter-users/2013-October/000726.html

* Tue Oct 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.10.4-2
- ship webp support in Fedora package (it is actually useful there)
- include explanation from upstream as to why libswscale is required
- require gstreamer-plugins-ugly (for MP3 audio streams)

* Mon Oct 07 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.10.4-1
- rebase to 0.10.4
- loosen dependency on main xpra package
- add comment explaining libvpx situation

* Thu Mar 28 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.8.8-2
- split off plugins that can't be in Fedora proper

* Thu Mar 14 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.8.8-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xpra-codecs-freeworld/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Oct 2013 20:48:07 -0000	1.1
+++ .cvsignore	25 Mar 2015 15:19:20 -0000	1.2
@@ -0,0 +1 @@
+xpra-0.14.21.tar.xz


Index: sources
===================================================================
RCS file: /cvs/free/rpms/xpra-codecs-freeworld/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Oct 2013 20:48:08 -0000	1.1
+++ sources	25 Mar 2015 15:19:20 -0000	1.2
@@ -0,0 +1 @@
+f22af4f2942dd2fa6224af45a7363ab2  xpra-0.14.21.tar.xz


More information about the rpmfusion-commits mailing list