]> git.pld-linux.org Git - packages/libopenshot.git/blame - libopenshot.spec
- ImageMagick-7.0.7.0-1 rebuild
[packages/libopenshot.git] / libopenshot.spec
CommitLineData
1bbada96
AM
1Summary: Library for creating and editing videos
2Name: libopenshot
7a97a0b2 3Version: 0.1.5
386216a0 4Release: 2
1bbada96
AM
5License: LGPL-3.0+
6Group: Libraries
1eccc80b 7Source0: https://launchpad.net/libopenshot/0.1/%{version}/+download/%{name}-%{version}.tar.gz
7a97a0b2 8# Source0-md5: 842551733c3bd82a7ffd9eaeea1c2b1d
9d4c4944 9Patch0: imagemagick7.patch
1bbada96 10Group: Development/Libraries
1eccc80b 11URL: http://www.openshot.org/
1bbada96
AM
12BuildRequires: ImageMagick-c++-devel
13BuildRequires: Qt5Core-devel
14BuildRequires: Qt5Multimedia-devel
15BuildRequires: Qt5MultimediaWidgets-devel
16BuildRequires: cmake
17BuildRequires: cppzmq-devel
18BuildRequires: doxygen
19BuildRequires: ffmpeg-devel
20BuildRequires: ffmpeg-libs
21BuildRequires: libopenshot-audio-devel
22BuildRequires: libstdc++-devel
23BuildRequires: python3-devel
24BuildRequires: swig
25BuildRequires: unittest-cpp-devel
26BuildRequires: zeromq-devel
1eccc80b 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1bbada96 28
5e00ae6e
JR
29%define skip_post_check_so libopenshot.so.*
30
1bbada96
AM
31%description
32OpenShot Library (libopenshot) is an open-source project dedicated to
33delivering high quality video editing, animation, and playback
34solutions to the world. For more information visit
35<http://www.openshot.org/>.
36
1eccc80b 37%package devel
1bbada96
AM
38Summary: Development files for %{name}
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
1eccc80b 42%description devel
1bbada96
AM
43The %{name}-devel package contains libraries and header files for
44developing applications that use %{name}.
45
1eccc80b 46%package -n python3-%{name}
1bbada96
AM
47Summary: Python bindings for %{name}
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
1eccc80b 51%description -n python3-%{name}
1bbada96
AM
52The python-%{name} package contains python bindings for applications
53that use %{name}.
54
55%prep
1eccc80b 56%setup -qc
9d4c4944 57%patch0 -p1
1bbada96 58
1bbada96
AM
59sed -i -e 's#${_REL_PYTHON_MODULE_PATH}#%{py3_sitedir}#g' src/bindings/python/CMakeLists.txt
60
1eccc80b
ER
61%build
62install -d build
1bbada96
AM
63cd build
64%cmake ..
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} -C build install \
71 DESTDIR=$RPM_BUILD_ROOT
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
1eccc80b
ER
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
1bbada96
AM
78
79%files
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_libdir}/libopenshot.so.*.*
7a97a0b2 82%attr(755,root,root) %ghost %{_libdir}/libopenshot.so.11
1bbada96
AM
83
84%files devel
85%defattr(644,root,root,755)
86%{_includedir}/libopenshot
87%attr(755,root,root) %{_libdir}/libopenshot.so
88
89%files -n python3-%{name}
90%defattr(644,root,root,755)
91%{py3_sitedir}/openshot.py
92%attr(755,root,root) %{py3_sitedir}/_openshot.so
This page took 0.100389 seconds and 4 git commands to generate.