Changes of Revision 9
djv.spec
Changed
x
1
2
3
%define soname 0
4
Name: djv
5
-Version: 2.0.8.20200611.00a38241
6
+Version: 1.0.5.20150809.a7104da
7
Release: 0
8
Summary: DJV Imaging
9
License: GPL-2.0
10
11
Patch5: djv-1.0.5_qt5-5.5.patch
12
Patch6: djv-ffmpeg.patch
13
Patch7: djv-runtime_paths.patch
14
-BuildRequires: cmake >= 3.10
15
+BuildRequires: cmake >= 3.0
16
BuildRequires: doxygen
17
BuildRequires: fdupes
18
BuildRequires: gcc-c++
19
20
BuildRequires: pkgconfig(zlib) >= 1.2.8
21
Recommends: %{name}-doc
22
Requires: lib%{name}Core%{soname} = %{version}-%{release}
23
-ExclusiveArch: x86_64
24
+ExcludeArch: %{arm}
25
26
%description
27
Professional movie playback software for film production, VFX, and
28
29
%patch6 -p1
30
%patch7 -p1
31
32
-%build
33
# Change exec-path
34
sed -i '/Exec/s|[/].*|%{name}_view|' $(grep -rl 'djv_view.sh')
35
sed -i~ /tests/d CMakeLists.txt
36
37
+%build
38
%cmake \
39
- -DDJV_THIRD_PARTY_OPTIONAL_DEPS=OFF \
40
- -DCMAKE_SKIP_RPATH=OFF \
41
- %{nil}
42
+ -DCMAKE_SKIP_RPATH=OFF
43
44
-%cmake_build
45
+make %{?_smp_mflags}
46
47
%install
48
%cmake_install
49
50
%icon_theme_cache_postun
51
52
%files
53
-%license LICENSE
54
+%defattr(-,root,root)
55
+%doc LICENSE README
56
%{_bindir}/%{name}_convert
57
%{_bindir}/%{name}_info
58
%{_bindir}/%{name}_ls
59
60
%exclude %{_libdir}/%{name}/lib%{name}*Plugin.so
61
62
%files -n lib%{name}Core%{soname}
63
+%defattr(-,root,root)
64
%{_libdir}/lib%{name}*.so.*
65
66
%files plugins
67
+%defattr(-,root,root)
68
%{_libdir}/%{name}/lib%{name}*Plugin.so
69
70
%files devel
71
+%defattr(-,root,root)
72
%{_includedir}/%{name}*.h
73
%{_libdir}/lib%{name}*.so
74
75
%files doc
76
+%defattr(-,root,root)
77
%dir %{_datadir}/%{name}
78
%dir %{_datadir}/%{name}/doc
79
%{_datadir}/%{name}/doc
80
_service
Changed
19
1
2
<services>
3
<service name="tar_scm" mode="disabled">
4
- <param name="filename">djv</param>
5
- <param name="revision">00a38241d8c9839cb1901a23a4d07e7aa5191ef6</param>
6
+ <param name="url">git://git.code.sf.net/p/djv/git</param>
7
<param name="scm">git</param>
8
- <param name="submodules">disable</param>
9
- <param name="url">https://github.com/darbyjohnston/DJV</param>
10
- <param name="versionformat">@PARENT_TAG@.%cd.%h</param>
11
- <param name="versionrewrite-pattern">[v]?([^+]+)(.*)</param>
12
- <param name="versionrewrite-replacement">\1</param>
13
+ <param name="versionformat">1.0.5.%cd.%h</param>
14
+ <param name="revision">master</param>
15
+ <param name="filename">djv</param>
16
</service>
17
<service name="recompress" mode="disabled">
18
<param name="file">*.tar</param>
19