]>
Commit | Line | Data |
---|---|---|
bc299c55 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = gsettings-desktop-schemas | |
7 | version = %{ver_maj}.%{ver_min} | |
ec36d5bb AM |
8 | ver_maj = 3.20 |
9 | ver_min = 0 | |
42e36c7e | 10 | release = 2 |
bc299c55 SS |
11 | |
12 | groups = System/Libraries | |
13 | url = http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas | |
14 | license = LGPLv2+ | |
15 | summary = A collection of GSettings schemas | |
16 | ||
17 | description | |
18 | gsettings-desktop-schemas contains a collection of GSettings schemas for | |
19 | settings shared by various components of a desktop. | |
20 | end | |
21 | ||
22 | source_dl = http://download.gnome.org/sources/%{name}/%{ver_maj}/ | |
23 | sources = %{thisapp}.tar.xz | |
24 | ||
25 | build | |
26 | requires | |
27 | glib2 >= 2.31.0 | |
28 | gobject-introspection-devel | |
42e36c7e | 29 | intltool >= 0.50.1 |
bc299c55 SS |
30 | end |
31 | ||
32 | configure_options += \ | |
33 | --disable-schemas-compile \ | |
34 | --enable-introspection=yes | |
35 | ||
36 | make_build_targets += V=1 | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | script posttransin | |
42 | glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || : | |
43 | end | |
44 | ||
45 | script postun | |
46 | glib-compile-schemas %{datadir}/glib-2.0/schemas &> /dev/null || : | |
47 | end | |
48 | end | |
49 | ||
50 | package %{name}-devel | |
51 | template DEVEL | |
52 | ||
53 | files += \ | |
54 | %{datadir}/gir*/ | |
55 | end | |
56 | end |