884f275a0e5a5d16210f1b33f367a2f99a148115
[goodguy/history.git] / cinelerra-5.1 / cinelerra.spec
1 %define ver 20171130
2 %define cin cinelerra
3 Summary: Multimedia Editing and construction
4
5 %if 0%{?hidepth}
6 %define xbit 10bit
7 %define xcfg --enable-x265_hidepth --with-exec-name=cinx
8 %endif
9
10 Name: %{cin}%{?xbit}
11 Version: 5.1
12 Release: %{ver}
13 License: GPL
14 Group: Applications/Multimedia
15 URL: http://cinelerra-cv.org/
16
17 # Obtained from :
18 # git clone git://git.cinelerra.org/goodguy/cinelerra.git cinelerra5
19 Source0: %{cin}-%{version}-%{ver}.tar.bz2
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21
22 %if 0%{?fedora}%{?centos}
23 %define rhat 1
24 %endif
25
26 BuildRequires: autoconf
27 BuildRequires: automake
28 BuildRequires: cmake
29 BuildRequires: binutils
30 BuildRequires: ctags
31 BuildRequires: flac-devel
32 BuildRequires: freetype-devel
33 BuildRequires: gcc-c++
34 BuildRequires: gettext-devel
35 BuildRequires: git
36 BuildRequires: inkscape
37 BuildRequires: libpng-devel
38 BuildRequires: libXft-devel
39 BuildRequires: libXinerama-devel
40 BuildRequires: libXv-devel
41 BuildRequires: nasm
42 BuildRequires: ncurses-devel
43 BuildRequires: texinfo
44 BuildRequires: udftools
45 %{?rhat:BuildRequires: alsa-lib-devel}
46 %{?rhat:BuildRequires: bzip2-devel}
47 %{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
48 %{?rhat:BuildRequires: xorg-x11-fonts-cyrillic}
49 %{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi}
50 %{?rhat:BuildRequires: xorg-x11-fonts-ISO8859-1-75dpi}
51 %{?rhat:BuildRequires: xorg-x11-fonts-misc}
52 %{?rhat:BuildRequires: xorg-x11-fonts-Type1}
53 %{?suse:BuildRequires: alsa-devel}
54 %{?suse:BuildRequires: libbz2-devel}
55 %{?suse:BuildRequires: bitstream-vera-fonts}
56 %{?suse:BuildRequires: xorg-x11-fonts-core}
57 %{?suse:BuildRequires: xorg-x11-fonts}
58 %{?suse:BuildRequires: dejavu-fonts}
59 %{?suse:BuildRequires: libnuma-devel}
60 BuildRequires: xz-devel
61 BuildRequires: yasm
62 BuildRequires: zlib-devel
63
64 %description
65 Multimedia editing and construction
66
67 %prep
68 %define _buildsubdir %{cin}-%{version}
69 %setup -q -n %{cin}-%{version}
70 %build
71 ./autogen.sh
72 %configure %{?xcfg}
73 %{__make}
74
75 %install
76 %make_install
77
78 %clean
79 %{__rm} -rf %{buildroot}
80
81 %files
82 %defattr(-, root, root, -)
83 %{_bindir}/*
84 %{_libdir}/*
85 %{_datadir}/*
86
87 %exclude /usr/src/debug
88 %exclude /usr/lib/debug
89
90 %changelog
91