Changes of Revision 8

djv.spec Changed
x
 
1
@@ -17,7 +17,7 @@
2
 
3
 %define soname  0
4
 Name:           djv
5
-Version:        1.0.5.20150809.a7104da
6
+Version:        2.0.8.20200611.00a38241
7
 Release:        0
8
 Summary:        DJV Imaging
9
 License: GPL-2.0
10
@@ -34,7 +34,7 @@
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.0
15
+BuildRequires:  cmake >= 3.10
16
 BuildRequires:  doxygen
17
 BuildRequires:  fdupes
18
 BuildRequires:  gcc-c++
19
@@ -63,7 +63,7 @@
20
 BuildRequires:  pkgconfig(zlib) >= 1.2.8
21
 Recommends:     %{name}-doc
22
 Requires:       lib%{name}Core%{soname} = %{version}-%{release}
23
-ExcludeArch:    %{arm}
24
+ExclusiveArch:  x86_64
25
 
26
 %description
27
 Professional movie playback software for film production, VFX, and 
28
@@ -135,15 +135,17 @@
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
-      -DCMAKE_SKIP_RPATH=OFF
40
+   -DDJV_THIRD_PARTY_OPTIONAL_DEPS=OFF \
41
+   -DCMAKE_SKIP_RPATH=OFF \
42
+   %{nil}
43
 
44
-make %{?_smp_mflags}
45
+%cmake_build
46
 
47
 %install
48
 %cmake_install
49
@@ -182,8 +184,7 @@
50
 %icon_theme_cache_postun
51
 
52
 %files
53
-%defattr(-,root,root)
54
-%doc LICENSE README
55
+%license LICENSE
56
 %{_bindir}/%{name}_convert
57
 %{_bindir}/%{name}_info
58
 %{_bindir}/%{name}_ls
59
@@ -195,20 +196,16 @@
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
@@ -1,10 +1,13 @@
2
 <services>
3
   <service name="tar_scm" mode="disabled">
4
-    <param name="url">git://git.code.sf.net/p/djv/git</param>
5
-    <param name="scm">git</param>
6
-    <param name="versionformat">1.0.5.%cd.%h</param>
7
-    <param name="revision">master</param>
8
     <param name="filename">djv</param>
9
+    <param name="revision">00a38241d8c9839cb1901a23a4d07e7aa5191ef6</param>
10
+    <param name="scm">git</param>
11
+    <param name="submodules">disable</param>
12
+    <param name="url">https://github.com/darbyjohnston/DJV</param>
13
+    <param name="versionformat">@PARENT_TAG@.%cd.%h</param>
14
+    <param name="versionrewrite-pattern">[v]?([^+]+)(.*)</param>
15
+    <param name="versionrewrite-replacement">\1</param>
16
   </service>
17
   <service name="recompress" mode="disabled">
18
     <param name="file">*.tar</param>
19