commit 0fe789e9131155dc5c953075d36fb26cee466dc4
Author: Jan Rękorajski <[email protected]>
Date:   Sun Sep 1 17:59:05 2024 +0200

    - up to 3.2.1

 noarch-dir.patch | 11 +++++++++++
 openshot.spec    | 25 +++++++++++++++----------
 2 files changed, 26 insertions(+), 10 deletions(-)
---
diff --git a/openshot.spec b/openshot.spec
index 8e979ef..8973539 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -1,14 +1,13 @@
 Summary:       OpenShot - Non-Linear Video Editor for Linux
 Summary(pl.UTF-8):     OpenShot - nieliniowy edytor filmów dla Linuksa
 Name:          openshot
-Version:       2.4.2
-Release:       3
+Version:       3.2.1
+Release:       1
 License:       GPL v3
 Group:         X11/Applications
-#Source0Download: https://github.com/OpenShot/openshot-qt/releases
-#TODO: use     
https://github.com/OpenShot/openshot-qt/archive/v%{version}/%{name}-%{version}.tar.gz
-Source0:       
https://github.com/OpenShot/openshot-qt/archive/v%{version}.tar.gz
-# Source0-md5: d5cdf9a71a4b02d54df18a83596c49f4
+Source0:       
https://github.com/OpenShot/openshot-qt/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 081b1aedfbb1e0a9812653f4c7586d67
+Patch0:                noarch-dir.patch
 URL:           http://www.openshot.org/
 BuildRequires: python3-devel
 BuildRequires: python3-setuptools
@@ -18,7 +17,7 @@ Requires(post,postun):        shared-mime-info
 Requires:      python3-PyQt5
 Requires:      python3-PyQt5-uic
 Requires:      python3-httplib2
-Requires:      python3-libopenshot >= 0.1.8
+Requires:      python3-libopenshot >= 0.3.3
 Requires:      python3-zmq
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -48,6 +47,7 @@ Możliwości obejmują:
 
 %prep
 %setup -q -n %{name}-qt-%{version}
+%patch0 -p1
 
 %build
 %py3_build
@@ -68,10 +68,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README.md
+%doc AUTHORS.md README.md
 %attr(755,root,root) %{_bindir}/openshot-qt
-%{_datadir}/mime/packages/openshot-qt.xml
-%{_datadir}/applications/openshot-qt.desktop
 %{_pixmapsdir}/openshot-qt.svg
 %{py3_sitescriptdir}/openshot_qt
 %{py3_sitescriptdir}/openshot*.egg-info
+%{_datadir}/mime/packages/openshot-qt
+%{_desktopdir}/org.openshot.OpenShot.desktop
+%{_iconsdir}/hicolor/*x*/apps/openshot-qt.png
+%{_iconsdir}/hicolor/scalable/apps/openshot-qt.svg
+%{_iconsdir}/hicolor/scalable/mimetypes/openshot-qt-doc.svg
+%{_datadir}/metainfo/org.openshot.OpenShot.appdata.xml
+%{_datadir}/mime/packages/org.openshot.OpenShot.xml
diff --git a/noarch-dir.patch b/noarch-dir.patch
new file mode 100644
index 0000000..9db3d19
--- /dev/null
+++ b/noarch-dir.patch
@@ -0,0 +1,11 @@
+--- openshot-qt-3.2.1/setup.py~        2024-07-10 23:00:58.000000000 +0200
++++ openshot-qt-3.2.1/setup.py 2024-09-01 14:33:31.396571634 +0200
+@@ -79,7 +79,7 @@
+     # XDG desktop mime types cache
+     ('share/mime/packages', ['xdg/org.openshot.OpenShot.xml']),
+     # launcher (mime.types)
+-    ('lib/mime/packages', ['xdg/openshot-qt']),
++    ('share/mime/packages', ['xdg/openshot-qt']),
+ ]
+ 
+ # Find files matching patterns
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openshot.git/commitdiff/0fe789e9131155dc5c953075d36fb26cee466dc4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to