1 Summary: Library for creating and editing videos
7 URL: http://www.openshot.org/
8 Source0: https://launchpad.net/libopenshot/0.1/0.1.2/+download/%{name}-%{version}.tar.gz
9 # Source0-md5: 1491f454af8ef23b6c2f7f3e4ce39291
10 Group: Development/Libraries
11 BuildRequires: ImageMagick-c++-devel
12 BuildRequires: Qt5Core-devel
13 BuildRequires: Qt5Multimedia-devel
14 BuildRequires: Qt5MultimediaWidgets-devel
16 BuildRequires: cppzmq-devel
17 BuildRequires: doxygen
18 BuildRequires: ffmpeg-devel
19 BuildRequires: ffmpeg-libs
20 BuildRequires: libopenshot-audio-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: python3-devel
24 BuildRequires: unittest-cpp-devel
25 BuildRequires: zeromq-devel
28 OpenShot Library (libopenshot) is an open-source project dedicated to
29 delivering high quality video editing, animation, and playback
30 solutions to the world. For more information visit
31 <http://www.openshot.org/>.
34 Summary: Development files for %{name}
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 The %{name}-devel package contains libraries and header files for
40 developing applications that use %{name}.
42 %package -n python3-%{name}
43 Summary: Python bindings for %{name}
44 Group: Development/Libraries
45 Requires: %{name} = %{version}-%{release}
47 %description -n python3-%{name}
48 The python-%{name} package contains python bindings for applications
57 sed -i -e 's#${_REL_PYTHON_MODULE_PATH}#%{py3_sitedir}#g' src/bindings/python/CMakeLists.txt
64 rm -rf $RPM_BUILD_ROOT
66 %{__make} -C build install \
67 DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libopenshot.so.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libopenshot.so.9
81 %defattr(644,root,root,755)
82 %{_includedir}/libopenshot
83 %attr(755,root,root) %{_libdir}/libopenshot.so
85 %files -n python3-%{name}
86 %defattr(644,root,root,755)
87 %{py3_sitedir}/openshot.py
88 %attr(755,root,root) %{py3_sitedir}/_openshot.so