# Maintainer: goodguy <lists.cinelerra-gg.org>
pkgname=cin
pkgver=5.1
-pkgrel=20181129
+pkgrel=20181231
pkgdesc="Cinelerra git://git.cinelerra-gg.org/goodguy/cinelerra.git ($pkgrel)"
arch=('x86_64')
url="https://www.cinelerra-gg.org"
-%define ver 20181129
+%define ver 20181231
%define cin cinelerra
Summary: Multimedia Editing and construction
%clean
%{__rm} -rf %{buildroot}
+%post
+if [ -d /etc/yum.repos.d ]; then
+ echo > /etc/yum.repos.d/cin.repo "[cin]"
+ echo >> /etc/yum.repos.d/cin.repo name=cinelerra-gg
+ echo >> /etc/yum.repos.d/cin.repo baseurl=https://cinelerra-gg.org/download/pkgs/fedora$releasever/
+ echo >> /etc/yum.repos.d/cin.repo enabled=1
+ echo >> /etc/yum.repos.d/cin.repo gpgcheck=0
+fi
+%postun
+if [ -d /etc/yum.repos.d ]; then
+ rm -f /etc/yum.repos.d/cin.repo
+fi
+
%files
%defattr(-, root, root, -)
%{_bindir}/*
Source: cin
Section: video
Priority: optional
-Standards-Version: 5.1.20181129
+Standards-Version: 5.1.20181231
Homepage: https://www.cinelerra-gg.org/
Build-Depends: nasm, yasm, g++, gdb, build-essential, e2fsprogs,