|
@@ -23,6 +23,9 @@
|
|
|
## SUCH DAMAGE.
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
##
|
|
|
|
|
|
|
|
|
|
+%define V_glib_major 1.2
|
|
|
|
|
+%define V_glib_minor 10
|
|
|
|
|
+
|
|
|
# package information
|
|
# package information
|
|
|
Name: glib
|
|
Name: glib
|
|
|
Summary: The Gtk Utility Library
|
|
Summary: The Gtk Utility Library
|
|
@@ -32,8 +35,8 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [BASE]
|
|
Distribution: OpenPKG [BASE]
|
|
|
Group: Algorithm
|
|
Group: Algorithm
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 1.2.10
|
|
|
|
|
-Release: 20030131
|
|
|
|
|
|
|
+Version: %{V_glib_major}.%{V_glib_minor}
|
|
|
|
|
+Release: 20030508
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_threads no
|
|
%option with_threads no
|
|
@@ -57,6 +60,10 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's;glib-%{V_glib_major};glib;g' \
|
|
|
|
|
+ Makefile.in glib-config.in glib.pc.in \
|
|
|
|
|
+ gmodule/Makefile.in
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
CC="%{l_cc}" \
|
|
CC="%{l_cc}" \
|