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