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