]> git.pld-linux.org Git - packages/openshot.git/blobdiff - openshot.spec
- up to 2.3.2
[packages/openshot.git] / openshot.spec
index 2c802ebf965f01612a9cdf5e4be7e4b6578316c2..d62902baf55f5e1ce9c8a549ead63cb3d330b5c2 100644 (file)
@@ -1,24 +1,22 @@
 Summary:       OpenShot - Non-Linear Video Editor for Linux
 Name:          openshot
-Version:       1.3.0
+Version:       2.3.2
 Release:       1
 License:       GPL v3
 Group:         X11/Applications
-Source0:       http://launchpad.net/openshot/1.3/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5: c44a09af0874a1612ed0693f8e369172
-Patch0:                %{name}-locale_dir.patch
+Source0:       http://launchpad.net/openshot/2.3/%{version}/+download/%{name}-qt-%{version}.tar.gz
+# Source0-md5: ba5692ddc74849003a8feb57c5aa8baf
 URL:           http://www.openshot.org/
-BuildRequires: python-devel
+BuildRequires: python3-devel
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
 Requires(post,postun): scrollkeeper
 Requires(post,postun): shared-mime-info
-Requires:      python-mlt
-Requires:      python-pygoocanvas
-Requires:      python-pygtk-glade
-Requires:      python-pygtk-gtk
-Requires:      python-pygtk-pango
-Requires:      python-pyxdg
+Requires:      python3-PyQt5
+Requires:      python3-PyQt5-uic
+Requires:      python3-httplib2
+Requires:      python3-libopenshot >= 0.1.4
+Requires:      python3-zmq
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,38 +32,15 @@ Features include:
  - and audio effects (chroma-key) Transitions (lumas and masks)
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -c
 
 %build
-%{__python} setup.py build
+%{py3_build}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}{/gnome/help,/omf},%{_localedir}}
 
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
-
-# clean up and move locales to the system localedir
-rm -r $RPM_BUILD_ROOT/%{py_sitescriptdir}/%{name}/locale/OpenShot
-rm $RPM_BUILD_ROOT/%{py_sitescriptdir}/%{name}/locale/README
-rm $RPM_BUILD_ROOT/%{py_sitescriptdir}/%{name}/locale/*/LC_MESSAGES/*.po
-mv $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/locale/* \
-       $RPM_BUILD_ROOT/%{_localedir}
-rmdir $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/locale
-
-%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
-%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
-%py_postclean
-
-rm $RPM_BUILD_ROOT%{_prefix}/lib/mime/packages/%{name}
-
-cp -R docs/gnome $RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
-cp -R docs/omf $RPM_BUILD_ROOT%{_datadir}/omf/%{name}
-
-%find_lang %{name} --all-name --with-gnome --with-omf
+%{py3_install}
 
 %post
 %update_mime_database
@@ -78,15 +53,12 @@ cp -R docs/omf $RPM_BUILD_ROOT%{_datadir}/omf/%{name}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %doc AUTHORS README
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/mime/packages/*
-%{_mandir}/man1/*
-%{_pixmapsdir}/*
-%{_desktopdir}/*.desktop
-%{py_sitescriptdir}/%{name}
-%if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/*.egg-info
-%endif
+%attr(755,root,root) %{_bindir}/openshot-qt
+%{_datadir}/mime/packages/openshot-qt.xml
+%{_datadir}/applications/openshot-qt.desktop
+%{_pixmapsdir}/openshot-qt.svg
+%{py3_sitescriptdir}/%{name}_qt
+%{py3_sitescriptdir}/openshot*.egg-info
This page took 0.071113 seconds and 4 git commands to generate.