]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = glib2 | |
7 | ver_major = 2.39 | |
8 | ver_minor = 4 | |
9 | version = %{ver_major}.%{ver_minor} | |
10 | release = 1 | |
11 | thisapp = glib-%{version} | |
12 | ||
13 | maintainer = Erik Kapfer <erik.kapfer@ipfire.org> | |
14 | groups = System/Libraries | |
15 | url = http://www.gtk.org | |
16 | license = LGPLv2+ | |
17 | summary = A library of handy utility functions. | |
18 | ||
19 | description | |
20 | GLib is the low-level core library that forms the basis | |
21 | for projects such as GTK+ and GNOME. It provides data structure | |
22 | handling for C, portability wrappers, and interfaces for such runtime | |
23 | functionality as an event loop, threads, dynamic loading, and an | |
24 | object system. | |
25 | end | |
26 | ||
27 | source_dl = http://ftp.gnome.org/pub/gnome/sources/glib/%{ver_major}/ | |
28 | sources = %{thisapp}.tar.xz | |
29 | ||
30 | build | |
31 | requires | |
32 | gettext | |
33 | libffi-devel | |
34 | libselinux-devel | |
35 | pcre-devel | |
36 | pkg-config | |
37 | zlib-devel | |
38 | end | |
39 | ||
40 | configure_options += \ | |
41 | --sysconfdir=/etc \ | |
42 | --with-pcre=system | |
43 | ||
44 | install_cmds | |
45 | mkdir -pv %{BUILDROOT}/etc/profile.d/ | |
46 | cp -vf %{DIR_SOURCE}/glib2-locale.sh %{BUILDROOT}/etc/profile.d/ | |
47 | end | |
48 | end | |
49 | ||
50 | packages | |
51 | package %{name} | |
52 | ||
53 | package %{name}-devel | |
54 | template DEVEL | |
55 | end | |
56 | ||
57 | package %{name}-debuginfo | |
58 | template DEBUGINFO | |
59 | end | |
60 | end |