Logoj0ke.net Open Build Service > Projects > multimedia > transcode > Changes
Sign Up | Log In

Changes of Revision 8

[-] Changed transcode.spec
x
 
1
@@ -20,7 +20,7 @@
2
 
3
 Autoreqprov: on
4
 
5
-%if %suse_version >= 1000
6
+%if 0%{?suse_version} >= 1000
7
 BuildRequires:  lzo-devel >= 2.01
8
 %else
9
 BuildRequires:  lzo-devel < 2
10
@@ -32,7 +32,7 @@
11
 BuildRequires:  libogg-devel
12
 BuildRequires:  libxml2-devel
13
 BuildRequires:  glib-devel
14
-%if %suse_version >= 1020
15
+%if 0%{?suse_version} >= 1020
16
 BuildRequires: libquicktime-devel >= 0.9.3
17
 %endif
18
 BuildRequires:  libfame-devel
19
@@ -52,7 +52,7 @@
20
 BuildRequires:    libvorbis
21
 BuildRequires:    libvorbis-devel
22
 BuildRequires:    libmpeg3-devel
23
-%if %suse_version > 1000
24
+%if 0%{?suse_version} > 1000
25
 BuildRequires:    mjpegtools-devel
26
 %endif
27
 BuildRequires:    gcc-c++
28
@@ -79,7 +79,7 @@
29
 
30
 %prep
31
 %setup -q -n %{name}-%version
32
-%if %suse_version >= 1000
33
+%if 0%{?suse_version} >= 1000
34
 %patch0 -p1
35
 %endif
36
 
37
@@ -96,24 +96,25 @@
38
    --enable-freetype2 \
39
    --enable-lzo --with-lzo-includes=%_includedir/lzo \
40
    --enable-a52 --enable-a52-default-decoder \
41
-%if %suse_version >= 1020
42
+%if 0%{?suse_version} >= 1020
43
    --enable-libquicktime\
44
 %endif
45
    --enable-libpostproc --with-libpostproc-includes=%_includedir/postproc\
46
-%if %suse_version < 1000
47
+%if 0%{?suse_version} < 1000
48
    --enable-avifile --with-avifile-includes=%_includedir/avifile-0.7 \
49
 %endif
50
    --enable-libxml2 \
51
-   --enable-mjpegtools --enable-sdl --enable-gtk --enable-libfame --enable-imagemagick --enable-ffbin\
52
+   --enable-mjpegtools --enable-sdl --enable-gtk --enable-libfame --enable-imagemagick --enable-ffbin \
53
 %ifarch x86_64 amd64 ia32e
54
-   --enable-pvm3  --with-pvm3-libs=/usr/lib/pvm3/lib/LINUX64
55
+   --enable-pvm3  --with-pvm3-libs=/usr/lib/pvm3/lib/LINUX64 \
56
 %else
57
 %ifarch ppc
58
-        --enable-pvm3  --with-pvm3-libs=/usr/lib/pvm3/lib/LINUXPPC
59
+        --enable-pvm3  --with-pvm3-libs=/usr/lib/pvm3/lib/LINUXPPC \
60
 %else
61
-   --enable-pvm3  --with-pvm3-libs=%{_libdir}/pvm3/lib/LINUX  
62
+   --enable-pvm3  --with-pvm3-libs=%{_libdir}/pvm3/lib/LINUX \
63
 %endif
64
 %endif
65
+|| cat config.log
66
 
67
 %{__make} %{?jobs:-j%{jobs}}
68
 
69
@@ -126,7 +127,7 @@
70
 %{__rm} -f %{buildroot}%{_bindir}/pvmgs
71
 %{__install} contrib/tccomplete.source -D  %{buildroot}%{_sysconfdir}/bash_completion.d/transcode.sh
72
 
73
-%if %suse_version >= 1000
74
+%if 0%{?suse_version} >= 1000
75
 %{__rm} %{buildroot}%{_libdir}/%{name}/export_af6.conf
76
 %endif
77
 
78
@@ -165,7 +166,7 @@
79
 %{_libdir}/%{name}/export_pvn.so
80
 %{_libdir}/%{name}/export_ac3.la
81
 %{_libdir}/%{name}/export_ac3.so
82
-%if %suse_version < 1000
83
+%if 0%{?suse_version} < 1000
84
 %{_libdir}/%{name}/export_af6.conf
85
 %{_libdir}/%{name}/export_af6.la
86
 %{_libdir}/%{name}/export_af6.so
87
@@ -198,7 +199,7 @@
88
 %{_libdir}/%{name}/export_lzo.so
89
 %{_libdir}/%{name}/export_mjpeg.la
90
 %{_libdir}/%{name}/export_mjpeg.so
91
-%if %suse_version >= 1020
92
+%if 0%{?suse_version} >= 1020
93
 %{_libdir}/%{name}/export_mov.la
94
 %{_libdir}/%{name}/export_mov.so
95
 %endif
96
@@ -377,7 +378,7 @@
97
 
98
 %{_libdir}/%{name}/import_ac3.la
99
 %{_libdir}/%{name}/import_ac3.so
100
-%if %suse_version < 1000
101
+%if 0%{?suse_version} < 1000
102
 %{_libdir}/%{name}/import_af6.la
103
 %{_libdir}/%{name}/import_af6.so
104
 %endif
105
@@ -403,7 +404,7 @@
106
 %{_libdir}/%{name}/import_lav.so
107
 %{_libdir}/%{name}/import_lzo.la
108
 %{_libdir}/%{name}/import_lzo.so
109
-%if %suse_version >= 1020
110
+%if 0%{?suse_version} >= 1020
111
 %{_libdir}/%{name}/import_mov.la
112
 %{_libdir}/%{name}/import_mov.so
113
 %endif
114
@@ -411,7 +412,7 @@
115
 %{_libdir}/%{name}/import_mp3.so
116
 %{_libdir}/%{name}/import_mpeg2.la
117
 %{_libdir}/%{name}/import_mpeg2.so
118
-#%if %suse_version != 920
119
+#%if 0%{?suse_version} != 920
120
 #%{_libdir}/%{name}/import_mpeg3.la
121
 #%{_libdir}/%{name}/import_mpeg3.so
122
 #%endif
123
Deleted transcode-1.0.4.tar.bz2 ^