Package devhelp: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
%define ver_major 40
%define api_ver 3.0
%define xdg_name org.gnome.Devhelp

%def_enable plugin_gedit

Name: devhelp
Version: %ver_major.1
Release: alt1

Summary: Developer's help program
Group: Development/Other
License: GPL-3.0
Url: https://wiki.gnome.org/Apps/Devhelp

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz

%add_python3_path %_libdir/gedit/plugins

%define gtk_ver 3.22.0
%define webkit_ver 2.26
%define glib_ver 2.64
%define amtk_ver 5.0

Requires: lib%name = %version-%release

BuildRequires(pre): meson rpm-build-gnome rpm-build-python3
BuildRequires: gtk-doc yelp-tools libappstream-glib-devel
BuildRequires: pkgconfig(gtk+-3.0) >= %gtk_ver
BuildRequires: pkgconfig(webkit2gtk-4.0) >= %webkit_ver
BuildRequires: pkgconfig(gio-2.0) >= %glib_ver
BuildRequires: pkgconfig(amtk-5) >= %amtk_ver
BuildRequires: zlib-devel
# since 3.23.x
BuildRequires: gobject-introspection-devel libgtk+3-gir-devel libwebkit2gtk-gir-devel
BuildRequires: gsettings-desktop-schemas-devel

%description
A developers help program.

%package -n lib%name
Summary: Devhelp widgets library
Group: System/Libraries

%description -n lib%name
This package provides shared library required for Devhelp to work.

%package -n lib%name-devel
Summary: Devhelp widgets headers
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package provides files required to develop programs that use
Devhelp widgets.

%package -n lib%name-gir
Summary: GObject introspection data for the Devhelp library
Group: System/Libraries
Requires: lib%name = %version-%release

%description -n lib%name-gir
This package provides GObject introspection data for the Devhelp
library.

%package -n lib%name-gir-devel
Summary: GObject introspection devel data for the Devhelp library
Group: Development/Other
BuildArch: noarch
Requires: lib%name-gir = %version-%release
Requires: lib%name-devel = %version-%release

%description -n lib%name-gir-devel
This package provides GObject introspection devel data for the Devhelp
library.

%package -n lib%name-devel-doc
Summary: Development documentation for Devhelp library
Group: Development/Documentation
BuildArch: noarch
Conflicts: lib%name-devel < %version

%description -n lib%name-devel-doc
This package provides development documentation for the Devhelp library.

%package -n gedit-plugin-%name
Summary: DevHelp integration into GEdit
Group: Development/Other
Requires: %name = %version-%release

%description -n gedit-plugin-%name
This plugin for GEdit enables using DevHelp from inside the editor.

%define _devhelpdir %_datadir/%name
%define  gedit_pluginsdir %_libdir/gedit/plugins

%prep
%setup

%build
%meson -Dgtk_doc=true \
%{?_enable_plugin_gedit:-Dplugin_gedit=true}
%nil
%meson_build

%install
%meson_install

# Create some directories in %name hierarchy
mkdir -p %buildroot%_devhelpdir/{specs,books}

%find_lang --with-gnome %name

%files -f %name.lang
%_bindir/*
%dir %_devhelpdir
%_devhelpdir/*
%_desktopdir/%xdg_name.desktop
%_iconsdir/hicolor/*/*/%{xdg_name}*.svg
%_datadir/dbus-1/services/%xdg_name.service
%_datadir/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
%_man1dir/%name.1.*
%_datadir/metainfo/%xdg_name.appdata.xml
%doc AUTHORS NEWS README*

%files -n lib%name
%_libdir/*.so.*
%_datadir/glib-2.0/schemas/org.gnome.libdevhelp-3.gschema.xml

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/lib%name-*.pc

%files -n lib%name-gir
%_typelibdir/Devhelp-%api_ver.typelib

%files -n lib%name-gir-devel
%_girdir/Devhelp-%api_ver.gir

%files -n lib%name-devel-doc
%_datadir/gtk-doc/html/%name-*/

%{?_enable_plugin_gedit:
%files -n gedit-plugin-%name
%gedit_pluginsdir/*}

%changelog
* Thu Aug 26 2021 Yuri N. Sedunov <aris@altlinux.org> 40.1-alt1
- 40.1

* Mon Apr 12 2021 Yuri N. Sedunov <aris@altlinux.org> 40.0-alt1
- 40.0

* Fri Nov 20 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.1-alt1
- 3.38.1

* Fri Sep 11 2020 Yuri N. Sedunov <aris@altlinux.org> 3.38.0-alt1
- 3.38.0

* Sun Apr 26 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.2-alt1
- 3.36.2

* Fri Mar 27 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.1-alt1
- 3.36.1
- fixed requires for Gedit plugin

* Thu Mar 05 2020 Yuri N. Sedunov <aris@altlinux.org> 3.36.0-alt1
- 3.36.0

* Mon Sep 09 2019 Yuri N. Sedunov <aris@altlinux.org> 3.34.0-alt1
- 3.34.0

* Sun Mar 10 2019 Yuri N. Sedunov <aris@altlinux.org> 3.32.0-alt1
- 3.32.0

* Wed Oct 24 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.1-alt1
- 3.30.1

* Mon Jul 16 2018 Yuri N. Sedunov <aris@altlinux.org> 3.30.0-alt1
- 3.30.0

* Sun Apr 08 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.1-alt1
- 3.28.1

* Sat Mar 10 2018 Yuri N. Sedunov <aris@altlinux.org> 3.28.0-alt1
- 3.28.0

* Sat Dec 09 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.1-alt1
- 3.26.1

* Sun Sep 10 2017 Yuri N. Sedunov <aris@altlinux.org> 3.26.0-alt1
- 3.26.0

* Sun Mar 19 2017 Yuri N. Sedunov <aris@altlinux.org> 3.24.0-alt1
- 3.24.0

* Mon Sep 19 2016 Yuri N. Sedunov <aris@altlinux.org> 3.22.0-alt1
- 3.22.0

* Sun Mar 20 2016 Yuri N. Sedunov <aris@altlinux.org> 3.20.0-alt1
- 3.20.0

* Tue Oct 13 2015 Yuri N. Sedunov <aris@altlinux.org> 3.18.1-alt1
- 3.18.1

* Mon Sep 21 2015 Yuri N. Sedunov <aris@altlinux.org> 3.18.0-alt1
- 3.18.0

* Tue Sep 01 2015 Yuri N. Sedunov <aris@altlinux.org> 3.17.91-alt1
- 3.17.91

* Mon Apr 13 2015 Yuri N. Sedunov <aris@altlinux.org> 3.16.1-alt1
- 3.16.1

* Sat Mar 28 2015 Yuri N. Sedunov <aris@altlinux.org> 3.16.0-alt1
- 3.16.0

* Tue Oct 07 2014 Alexey Shabalin <shaba@altlinux.ru> 3.14.0-alt2
- rebuild

* Tue Sep 23 2014 Alexey Shabalin <shaba@altlinux.ru> 3.14.0-alt1
- 3.14.0
- build with webkit2gtk-4.0

* Tue Sep 16 2014 Alexey Shabalin <shaba@altlinux.ru> 3.13.90-alt1
- 3.13.90

* Fri Apr 25 2014 Alexey Shabalin <shaba@altlinux.ru> 3.12.1-alt1
- 3.12.1

* Tue Mar 25 2014 Alexey Shabalin <shaba@altlinux.ru> 3.12.0-alt1
- 3.12.0

* Mon Nov 18 2013 Alexey Shabalin <shaba@altlinux.ru> 3.10.2-alt1
- 3.10.2

* Tue Sep 24 2013 Alexey Shabalin <shaba@altlinux.ru> 3.10.0-alt1
- 3.10.0

* Tue Sep 03 2013 Alexey Shabalin <shaba@altlinux.ru> 3.9.91-alt1
- 3.9.91

* Wed May 15 2013 Alexey Shabalin <shaba@altlinux.ru> 3.8.2-alt1
- 3.8.2

* Fri Apr 19 2013 Alexey Shabalin <shaba@altlinux.ru> 3.8.1-alt1
- 3.8.1

* Tue Mar 26 2013 Alexey Shabalin <shaba@altlinux.ru> 3.8.0-alt1
- 3.8.0

* Thu Mar 07 2013 Alexey Shabalin <shaba@altlinux.ru> 3.7.91-alt1
- 3.7.91

* Mon Feb 25 2013 Alexey Shabalin <shaba@altlinux.ru> 3.7.5-alt1
- 3.7.5

* Wed Nov 14 2012 Alexey Shabalin <shaba@altlinux.ru> 3.6.1-alt1
- 3.6.1

* Mon Sep 24 2012 Alexey Shabalin <shaba@altlinux.ru> 3.6.0-alt1
- 3.6.0

* Thu Apr 05 2012 Alexey Shabalin <shaba@altlinux.ru> 3.4.0-alt1
- 3.4.0

* Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.0.0-alt1.1
- Rebuild with Python-2.7

* Thu May 26 2011 Alexey Shabalin <shaba@altlinux.ru> 3.0.0-alt1
- 3.0.0

* Thu Mar 31 2011 Alexey Shabalin <shaba@altlinux.ru> 2.91.92-alt1
- 2.91.92

* Fri Oct 08 2010 Alexey Shabalin <shaba@altlinux.ru> 2.32.0-alt2
- add default value for books_disabled to GConf schema

* Mon Oct 04 2010 Alexey Shabalin <shaba@altlinux.ru> 2.32.0-alt1
- 2.32.0

* Mon Sep 13 2010 Alexey Shabalin <shaba@altlinux.ru> 2.31.92-alt1
- 2.31.92

* Tue Mar 30 2010 Alexey Shabalin <shaba@altlinux.ru> 2.30.0-alt1
- 2.30.0

* Wed Feb 10 2010 Alexey Shabalin <shaba@altlinux.ru> 0.29.90-alt1
- 0.29.90

* Wed Dec 02 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.28.1-alt1.1
- Rebuilt with python 2.6

* Tue Oct 20 2009 Alexey Shabalin <shaba@altlinux.ru> 0.28.1-alt1
- 0.28.1

* Mon Sep 28 2009 Alexey Shabalin <shaba@altlinux.ru> 0.28.0.1-alt1
- 0.28.0.1

* Mon Sep 21 2009 Alexey Shabalin <shaba@altlinux.ru> 0.28.0-alt1
- 0.28.0

* Tue Aug 18 2009 Alexey Shabalin <shaba@altlinux.ru> 0.23.1-alt1
- 0.23.1

* Fri Apr 10 2009 Alexey Shabalin <shaba@altlinux.ru> 0.23-alt1
- 0.23
- cleanup spec (drop all about cvsdate)

* Sat Dec 06 2008 Yuri N. Sedunov <aris@altlinux.org> 0.22-alt1
- 0.22 (move to WebKit)

* Thu Oct 02 2008 Yuri N. Sedunov <aris@altlinux.org> 0.21-alt2
- 0.21
- fixed build for x86_64

* Thu Oct 02 2008 Yuri N. Sedunov <aris@altlinux.org> 0.20-alt1
- 0.20

* Thu Jul 10 2008 Yuri N. Sedunov <aris@altlinux.org> 0.19.1-alt1
- new version
- build against xulrunner.

* Thu Apr 10 2008 Igor Vlasenko <viy@altlinux.ru> 0.19-alt2.qa1
- NMU (by repocop): the following fixes applied:
 * desktop-mime-entry for devhelp
 * update_menus for devhelp

* Mon Feb 25 2008 Alexey Rusakov <ktirf@altlinux.org> 0.19-alt2
- Rebuilt with Python 2.5.

* Mon Feb 11 2008 Alexey Rusakov <ktirf@altlinux.org> 0.19-alt1
- new version 0.19 (with rpmrb script)

* Tue Jan 08 2008 Alexey Rusakov <ktirf@altlinux.org> 0.17-alt1
- New version (0.17).
- The patch for the .pc file went upstream.
- Updated dependencies.

* Tue Oct 09 2007 Alexey Rusakov <ktirf@altlinux.org> 0.16.1-alt1
- new version (0.16.1)
- fixed excess dependencies mentioned in the .pc file.

* Mon Sep 10 2007 Alexey Rusakov <ktirf@altlinux.org> 0.16-alt1
- new version (0.16)
- more macros used, including license macro.

* Sat Jun 09 2007 Alexey Rusakov <ktirf@altlinux.org> 0.14-alt1
- new version (0.14)
- updated dependencies
- package GEdit plugin

* Tue Apr 03 2007 Alexey Rusakov <ktirf@altlinux.org> 0.13-alt1
- new version 0.13 (with rpmrb script)

* Tue Dec 19 2006 Alexey Rusakov <ktirf@altlinux.org> 0.12-alt2
- switch Gecko backend to Firefox.
- minor cleanup.

* Fri Jul 28 2006 Alexey Rusakov <ktirf@altlinux.ru> 0.12-alt1
- new version 0.12.
- updated files list (GEdit plugin is not included yet).

* Sat Feb 25 2006 Alexey Rusakov <ktirf@altlinux.ru> 0.11-alt1
- new version (0.11)
- cleaned up the spec, revised dependencies
- introduced gecko_provider switch (choose from mozilla, seamonkey, FF, and TB).
- removed Debian menu support.

* Mon Jun 13 2005 Yuri N. Sedunov <aris@altlinux.ru> 0.10-alt1
- 0.10

* Thu Oct 28 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.9.3-alt1
- 0.9.3

* Tue Aug 17 2004 Vital Khilko <vk@altlinux.ru> 0.9.1-alt2
- updated belarusian translations.

* Sun Jul 25 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.9.1-alt1
- 0.9.1
- use freedesktop2menu.pl to build menu file.
- updated translations.

* Fri Jul 23 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.9-alt1.1
- rebuild against new mozilla-1.7

* Thu Mar 18 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.9-alt1
- 0.9

* Fri Feb 13 2004 Yuri N. Sedunov <aris@altlinux.ru> 0.8.1-alt1
- 0.8.1

* Wed Oct 01 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.7-alt2
- fixed buildreqs.

* Sun Jun 29 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.7-alt1
- 0.7

* Mon Apr 28 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.6.0-alt1
- 0.6.0

* Mon Mar 03 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.5.0-alt0.7
- 0.5.0

* Tue Feb 04 2003 Yuri N. Sedunov <aris@altlinux.ru> 0.4.99-alt0.6cvs20030204
- gnome2 version from cvs crashes on startup.

* Sun May 05 2002 Yuri N. Sedunov <aris@altlinux.ru> 0.4-alt1
- First build for Sisyphus.