diff -ur libopenshot-0.1.2.orig/include/TextReader.h libopenshot-0.1.2/include/TextReader.h
--- libopenshot-0.1.2.orig/include/TextReader.h 2016-08-30 13:23:13.000000000 +0900
+++ libopenshot-0.1.2/include/TextReader.h 2017-01-01 02:41:47.536511096 +0900
-@@ -91,7 +91,7 @@
+@@ -91,7 +91,7 @@ namespace openshot
string text_color;
string background_color;
- tr1::shared_ptr<Magick::Image> image;
+ std::shared_ptr<Magick::Image> image;
- list<Magick::Drawable> lines;
+ vector<Magick::Drawable> lines;
bool is_open;
Summary: Library for creating and editing videos
Name: libopenshot
-Version: 0.1.5
-Release: 2
+Version: 0.1.8
+Release: 1
License: LGPL-3.0+
Group: Libraries
-Source0: https://launchpad.net/libopenshot/0.1/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5: 842551733c3bd82a7ffd9eaeea1c2b1d
+Source0: https://github.com/OpenShot/libopenshot/archive/v%{version}.tar.gz
+# Source0-md5: 70930d0c973dac2ab5468175224f142b
Patch0: imagemagick7.patch
Group: Development/Libraries
URL: http://www.openshot.org/
that use %{name}.
%prep
-%setup -qc
+%setup -q
%patch0 -p1
sed -i -e 's#${_REL_PYTHON_MODULE_PATH}#%{py3_sitedir}#g' src/bindings/python/CMakeLists.txt
%build
install -d build
cd build
-%cmake ..
+%cmake .. \
+ -DENABLE_RUBY=NO
%{__make}
%install
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libopenshot.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libopenshot.so.11
+%attr(755,root,root) %ghost %{_libdir}/libopenshot.so.13
%files devel
%defattr(644,root,root,755)