avatar
abondrov has added 36e80ad801
Rebuild against new tracker
view file @ afee4d434d
... ... --- a/brasero-tracker-1.0.patch
... ... +++ /dev/null
... ... @@ -1,17 +0,0 @@
0
--- brasero/configure.tracker_10	2014-02-19 10:39:34.190886512 +0100
1
+++ brasero/configure	2014-02-19 10:39:51.140505861 +0100
2
@@ -16711,6 +16711,14 @@
3
   test $ac_status = 0; }; then
4
   tracker_api="0.18"
5
 fi
6
+                              if test -n "$PKG_CONFIG" && \
7
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tracker-sparql-1.0 >= \$TRACKER_REQUIRED\""; } >&5
8
+  ($PKG_CONFIG --exists --print-errors "tracker-sparql-1.0 >= $TRACKER_REQUIRED") 2>&5
9
+  ac_status=$?
10
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11
+  test $ac_status = 0; }; then
12
+  tracker_api="1.0"
13
+fi
14
 
15
 fi
16
 
... ... --- a/brasero.spec
... ... +++ b/brasero.spec
... ... @@ -9,35 +9,43 @@
9 9
%define girmedia	%mklibname %{name}-media-gir %{gi_major}
10 10
%define girburn		%mklibname %{name}-burn-gir %{gi_major}
11 11
12
%define develname	%mklibname -d %{name}
12
%define devname	%mklibname -d %{name}
13 13
14 14
%define url_ver	%(echo %{version}|cut -d. -f1,2)
15 15
16
Name:		brasero
17 16
Summary:	A disc burning application for GNOME
17
Name:		brasero
18 18
Version:	3.12.2
19
Release:	1
19
Release:	2
20
License:	GPLv2+
21
Group:		Archiving/Cd burning
22
Url:		http://www.gnome.org/projects/brasero/
20 23
Source0:	ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
21 24
Source1:	brasero_copy_disc.desktop
22 25
Source2:	brasero_create_data_project_from_blank_medium.desktop
23 26
Source3:	brasero_create_audio_cd_from_blank_medium.desktop
24
URL:		http://www.gnome.org/projects/brasero/
25
License:	GPLv2+
26
Group:		Archiving/Cd burning
27
BuildRequires:	glib2.0-common
28
# Only needed when gnome-autogen.sh is used
29
BuildRequires:	gnome-common
30
BuildRequires:	gtk-doc
31
BuildRequires:	imagemagick
32
BuildRequires:	intltool
33
BuildRequires:	itstool
34
BuildRequires:	yelp-tools
35
BuildRequires:	gettext-devel
27 36
BuildRequires:	pkgconfig(gdk-x11-3.0)
28
BuildRequires:	pkgconfig(glib-2.0) >= 2.28.0
29
BuildRequires:	pkgconfig(gmodule-2.0) >= 2.6.0
30
BuildRequires:	pkgconfig(gmodule-export-2.0) >= 2.6.0
31
BuildRequires:	pkgconfig(gobject-2.0) >= 2.28.0
32
BuildRequires:	pkgconfig(gobject-introspection-1.0) >= 0.6.3
33
BuildRequires:	pkgconfig(gio-2.0) >= 2.28.0
37
BuildRequires:	pkgconfig(gio-2.0)
38
BuildRequires:	pkgconfig(glib-2.0)
39
BuildRequires:	pkgconfig(gmodule-2.0)
40
BuildRequires:	pkgconfig(gmodule-export-2.0)
41
BuildRequires:	pkgconfig(gnome-doc-utils)
42
BuildRequires:	pkgconfig(gobject-2.0)
43
BuildRequires:	pkgconfig(gobject-introspection-1.0)
34 44
BuildRequires:	pkgconfig(gstreamer-1.0)
35 45
BuildRequires:	pkgconfig(gstreamer-plugins-base-1.0)
36 46
BuildRequires:	pkgconfig(gthread-2.0) >= 2.6.0
37 47
BuildRequires:	pkgconfig(gtk+-3.0) >= 3.0.0
38 48
BuildRequires:	pkgconfig(ice)
39
BuildRequires:	pkgconfig(tracker-sparql-1.0)
40
BuildRequires:	glib2.0-common
41 49
BuildRequires:	pkgconfig(libburn-1) >= 0.4.0
42 50
BuildRequires:	pkgconfig(libcanberra) >= 0.1
43 51
BuildRequires:	pkgconfig(libcanberra-gtk3) >= 0.1
... ... @@ -47,18 +55,12 @@ BuildRequires: pkgconfig(libnotify) >= 0.6.1
55 55
BuildRequires:	pkgconfig(libxml-2.0) >= 2.6.0
56 56
BuildRequires:	pkgconfig(sm)
57 57
BuildRequires:	pkgconfig(totem-plparser) >= 2.29.1
58
BuildRequires:	intltool >= 0.35.0
59
BuildRequires:	pkgconfig(gnome-doc-utils)
60
BuildRequires:	imagemagick
61
# Only needed when gnome-autogen.sh is used
62
BuildRequires:	gnome-common
63
BuildRequires:	gtk-doc
64
BuildRequires:	gettext-devel itstool yelp-tools
58
BuildRequires:	pkgconfig(tracker-sparql-2.0)
65 59
66 60
# optional requirements to make video projects work
67
Suggests:	vcdimager
68 61
Suggests:	dvdauthor
69 62
Suggests:	gstreamer1.0-plugins-bad
63
Suggests:	vcdimager
70 64
71 65
%description
72 66
Brasero is yet another CD / DVD writing application for the GNOME
... ... @@ -67,9 +69,26 @@ unique features to enable users to create their discs easily and
69 69
quickly. It can handle both audio and data discs, and can use either
70 70
cdrkit or libburn / libisofs as the writing backend.
71 71
72
%files -f %{name}.lang
73
%doc AUTHORS MAINTAINERS NEWS README
74
%{_bindir}/%{name}
75
%{_libdir}/%{name}3
76
%{_libdir}/nautilus/extensions-3.0/libnautilus-brasero-extension.*
77
%{_datadir}/applications/*
78
%{_datadir}/%{name}
79
%{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml
80
%{_datadir}/GConf/gsettings/brasero.convert
81
%{_datadir}/icons/hicolor/*/apps/*
82
%{_mandir}/man1/%{name}.1*
83
%{_datadir}/mime/packages/%{name}.xml
84
%{_datadir}/apps/solid/actions/*
85
%{_datadir}/appdata/brasero.appdata.xml
86
87
#----------------------------------------------------------------------------
88
72 89
%package -n %{libnameburn3}
73
Group:		System/Libraries
74 90
Summary:	A disc burning application for GNOME - shared library
91
Group:		System/Libraries
75 92
76 93
%description -n %{libnameburn3}
77 94
Brasero is yet another CD / DVD writing application for the GNOME
... ... @@ -78,6 +97,11 @@ unique features to enable users to create their discs easily and
97 97
quickly. It can handle both audio and data discs, and can use either
98 98
cdrkit or libburn / libisofs as the writing backend.
99 99
100
%files -n %{libnameburn3}
101
%{_libdir}/lib%{name}-burn3.so.%{major}*
102
103
#----------------------------------------------------------------------------
104
100 105
%package -n %{libnamemedia3}
101 106
Group:		System/Libraries
102 107
Summary:	A disc burning application for GNOME - shared library
... ... @@ -89,6 +113,11 @@ unique features to enable users to create their discs easily and
113 113
quickly. It can handle both audio and data discs, and can use either
114 114
cdrkit or libburn / libisofs as the writing backend.
115 115
116
%files -n %{libnamemedia3}
117
%{_libdir}/lib%{name}-media3.so.%{major}*
118
119
#----------------------------------------------------------------------------
120
116 121
%package -n %{libnameutils3}
117 122
Group:		System/Libraries
118 123
Summary:	A disc burning application for GNOME - shared library
... ... @@ -100,40 +129,65 @@ unique features to enable users to create their discs easily and
129 129
quickly. It can handle both audio and data discs, and can use either
130 130
cdrkit or libburn / libisofs as the writing backend.
131 131
132
%files -n %{libnameutils3}
133
%{_libdir}/lib%{name}-utils3.so.%{major}*
134
135
#----------------------------------------------------------------------------
136
132 137
%package -n %{girburn}
133 138
Summary:	GObject Introspection interface description for GData
134 139
Group:		System/Libraries
135
Requires:	%{libnameburn3} = %{version}-%{release}
140
Requires:	%{libnameburn3} = %{EVRD}
136 141
Obsoletes:	%{_lib}%{name}-burn-gir0.0 < 3.2.0-2
137 142
138 143
%description -n %{girburn}
139 144
GObject Introspection interface description for GData.
140 145
146
%files -n %{girburn}
147
%{_libdir}/girepository-1.0/BraseroBurn-*.typelib
148
149
#----------------------------------------------------------------------------
150
141 151
%package -n %{girmedia}
142 152
Summary:	GObject Introspection interface description for GData
143 153
Group:		System/Libraries
144
Requires:	%{libnamemedia3} = %{version}-%{release}
154
Requires:	%{libnamemedia3} = %{EVRD}
145 155
Obsoletes:	%{_lib}%{name}-media-gir0.0 < 3.2.0-2
146 156
147 157
%description -n %{girmedia}
148 158
GObject Introspection interface description for GData.
149 159
150
%package -n %{develname}
160
%files -n %{girmedia}
161
%{_libdir}/girepository-1.0/BraseroMedia-*.typelib
162
163
#----------------------------------------------------------------------------
164
165
%package -n %{devname}
151 166
Summary:	A disc burning application for GNOME - development library
152 167
Group:		Development/C
153
Requires:	%{libnameburn3} = %{version}-%{release}
154
Requires:	%{libnamemedia3} = %{version}-%{release}
155
Requires:	%{libnameutils3} = %{version}-%{release}
156
Provides:	%{name}-devel = %{version}-%{release}
157
Provides:	lib%{name}-devel = %{version}-%{release}
168
Requires:	%{libnameburn3} = %{EVRD}
169
Requires:	%{libnamemedia3} = %{EVRD}
170
Requires:	%{libnameutils3} = %{EVRD}
171
Provides:	%{name}-devel = %{EVRD}
172
Provides:	lib%{name}-devel = %{EVRD}
158 173
159
%description -n %{develname}
174
%description -n %{devname}
160 175
Brasero is yet another CD / DVD writing application for the GNOME
161 176
desktop. It is designed to be as simple as possible and has some
162 177
unique features to enable users to create their discs easily and
163 178
quickly. It can handle both audio and data discs, and can use either
164 179
cdrkit or libburn / libisofs as the writing backend.
165 180
181
%files -n %{devname}
182
%doc %{_datadir}/gtk-doc/html/libbrasero*
183
%{_libdir}/lib%{name}-*.so
184
%{_libdir}/pkgconfig/*.pc
185
%{_includedir}/%{name}3
186
%{_datadir}/gir-1.0/BraseroBurn-*.gir
187
%{_datadir}/gir-1.0/BraseroMedia-*.gir
188
189
#----------------------------------------------------------------------------
190
166 191
%prep
167 192
%setup -q
168 193
%apply_patches
... ... @@ -149,16 +203,13 @@ cdrkit or libburn / libisofs as the writing backend.
203 203
        --disable-caches \
204 204
        --disable-static
205 205
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
206
%make 
206
%make
207 207
208 208
%install
209 209
%makeinstall_std
210 210
211 211
sed -i 's/cd:x/cd;x/' %{buildroot}%{_datadir}/applications/%{name}.desktop
212 212
213
#we don't want these
214
find %{buildroot} -name "*.la" -delete
215
216 213
%find_lang %{name} --with-gnome
217 214
218 215
#(nl) KDE Solid integration
... ... @@ -167,41 +218,3 @@ install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/apps/solid/actions/
218 218
install -D -m 644 %{SOURCE2} %{buildroot}%{_datadir}/apps/solid/actions/
219 219
install -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/apps/solid/actions/
220 220
221
%files -f %{name}.lang
222
%doc AUTHORS MAINTAINERS NEWS README
223
%{_bindir}/%{name}
224
%{_libdir}/%{name}3
225
%{_libdir}/nautilus/extensions-3.0/libnautilus-brasero-extension.*
226
%{_datadir}/applications/*
227
%{_datadir}/%{name}
228
%{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml
229
%{_datadir}/GConf/gsettings/brasero.convert
230
%{_datadir}/icons/hicolor/*/apps/*
231
%{_mandir}/man1/%{name}.1*
232
%{_datadir}/mime/packages/%{name}.xml
233
%{_datadir}/apps/solid/actions/*
234
%{_datadir}/appdata/brasero.appdata.xml
235
236
%files -n %{libnameburn3}
237
%{_libdir}/lib%{name}-burn3.so.%{major}*
238
239
%files -n %{libnamemedia3}
240
%{_libdir}/lib%{name}-media3.so.%{major}*
241
242
%files -n %{libnameutils3}
243
%{_libdir}/lib%{name}-utils3.so.%{major}*
244
245
%files -n %{girburn}
246
%{_libdir}/girepository-1.0/BraseroBurn-*.typelib
247
248
%files -n %{girmedia}
249
%{_libdir}/girepository-1.0/BraseroMedia-*.typelib
250
251
%files -n %develname
252
%doc %{_datadir}/gtk-doc/html/libbrasero*
253
%{_libdir}/lib%{name}-*.so
254
%{_libdir}/pkgconfig/*.pc
255
%{_includedir}/%{name}3
256
%{_datadir}/gir-1.0/BraseroBurn-*.gir
257
%{_datadir}/gir-1.0/BraseroMedia-*.gir
258

Comments