Changes of Revision 35

handbrake.spec Changed
x
 
1
@@ -17,6 +17,7 @@
2
 #
3
 
4
 
5
+%bcond_with     mfx
6
 %ifarch x86_64
7
 %if (0%{?sle_version} >= 150300 && 0%{?is_opensuse}) || 0%{?suse_version} > 1500
8
 %bcond_without  mfx
9
@@ -136,10 +137,10 @@
10
 export PATH="%{_builddir}/HandBrake-%{version}/build/contrib/bin:$PATH"
11
 
12
 # try to remove build date from binaries... -- seife+obs@b1-systems.com
13
-PKGDATE=$(date -r %{_sourcedir}/handbrake.changes +%Y%m%d)
14
+PKGDATE=$(date -r %{_sourcedir}/handbrake.changes +%%Y%%m%%d)
15
 sed -i -e "s/@BUILD@/$PKGDATE/" make/configure.py
16
 
17
-%__mkdir build
18
+mkdir build
19
 ./configure \
20
     --force \
21
     --build="$PWD/build" \
22
@@ -157,31 +158,29 @@
23
     --debug=max
24
 
25
 pushd build
26
-%__make libhb/handbrake/project.h
27
-%__make %{?_smp_mflags}
28
+make libhb/handbrake/project.h
29
+%makebuild
30
 popd
31
 
32
 %install
33
 %makeinstall -C build
34
 
35
-%__ln_s ghb %{buildroot}%{_bindir}/HandBrakeGUI
36
+ln -svfb ghb %{buildroot}%{_bindir}/HandBrakeGUI
37
 
38
 %suse_update_desktop_file -r fr.handbrake.ghb AudioVideo AudioVideoEditing
39
 
40
 # -f because it might not be there if built without gtk...
41
-%__rm -f "%{buildroot}%{_datadir}/icons"/*/*.cache
42
+rm -vf "%{buildroot}%{_datadir}/icons"/*/*.cache
43
 
44
 %find_lang ghb
45
 
46
 %fdupes %{buildroot}
47
 
48
 %files cli
49
-%defattr(-,root,root)
50
 %doc COPYING NEWS.markdown THANKS.markdown
51
 %{_bindir}/HandBrakeCLI
52
 
53
 %files gtk
54
-%defattr(-,root,root)
55
 %doc COPYING NEWS.markdown THANKS.markdown
56
 %{_bindir}/HandBrakeGUI
57
 %{_bindir}/ghb
58