commit 97eb70821d3b02f60c5e4d15fa555017c14bfbc5
Author: Antonio Trande <3974791-anto.trande(a)users.noreply.gitlab.com>
Date: Tue Mar 2 11:13:16 2021 +0100
Release 4.1
.gitignore | 1 +
sources | 2 +-
xpra-codecs-freeworld.spec | 24 ++++++++++++++++--------
3 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2be5683..40155c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,4 @@ xpra-0.16.3.tar.xz
/xpra-4.0.4.tar.xz
/xpra-4.0.5.tar.xz
/xpra-4.0.6.tar.xz
+/xpra-4.1.tar.gz
diff --git a/sources b/sources
index 3d45319..48bd59b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xpra-4.0.6.tar.xz) =
e3dc66040898ed40ef12b8cdb89e5f42c2f36edc071afb435334389e727f376ddc116dbee47018468bff24f2cdd7be35750b58bc108ba73c5558bd9eccbd04ea
+SHA512 (xpra-4.1.tar.gz) =
9f7fb17bf05aa265976f4815279368993057a59fc58bb8cf74843419affaae429f6cedfe692c6daaa5a085f3aada2ce3f145667bef0b277faa610895ec26a5bf
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index e77a8fc..64494be 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -25,12 +25,12 @@
%endif
Name: xpra-codecs-freeworld
-Version: 4.0.6
-Release: 2%{?dist}
+Version: 4.1
+Release: 1%{?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
+Source0:
https://github.com/Xpra-org/xpra/archive/v%{version}/xpra-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-gobject-devel
@@ -44,6 +44,11 @@ BuildRequires: python3-Cython, ack
BuildRequires: gcc
BuildRequires: libwebp-devel
BuildRequires: libXdamage-devel
+BuildRequires: xorg-x11-server-Xorg
+BuildRequires: xorg-x11-drv-dummy
+BuildRequires: xorg-x11-xauth
+BuildRequires: xkbcomp, setxkbmap
+BuildRequires: pandoc
%if %{with debug}
BuildRequires: libasan
%endif
@@ -78,14 +83,13 @@ sed -i 's|-mfpmath=387|-mfloat-abi=hard|' setup.py
--with-Xdummy \
--with-Xdummy_wrapper \
--with-enc_ffmpeg \
- --without-html5 \
--without-tests \
--with-verbose \
--without-strict \
- --without-html5_gzip --without-html5_brotli
+ --without-docs
%install
-%py3_install -- --root destdir --without-html5_gzip --without-html5_brotli
+%py3_install -- --root destdir
## We are interested to additional codecs only
mkdir -p %{buildroot}%{python3_sitearch}/xpra/codecs/
@@ -105,6 +109,7 @@ popd
#fix shebangs from python3_sitearch
find %{buildroot}%{python3_sitearch}/xpra -name '*.py' | xargs pathfix.py -pn -i
"%{__python3}"
+find %{buildroot}%{python3_sitearch}/xpra -name '*.py' | xargs chmod 0755
for i in `ack -rl '^#!/.*python' %{buildroot}%{python3_sitearch}/xpra`; do
chmod 0755 $i
done
@@ -112,15 +117,18 @@ done
#fix permissions on shared objects
find %{buildroot}%{python3_sitearch}/xpra -name '*.so' \
-exec chmod 0755 {} \;
-
+
%files
%dir %{python3_sitearch}/xpra
%dir %{python3_sitearch}/xpra/codecs
%{python3_sitearch}/xpra/codecs/*
-%doc README NEWS
+%doc README.md
%license COPYING
%changelog
+* Mon Mar 01 2021 Antonio Trande <sagitter(a)fedoraproject.org> - 4.1-1
+- Release 4.1
+
* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
4.0.6-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild