1 | Summary: libglade library |
---|
2 | Name: @PACKAGE@ |
---|
3 | Version: @VERSION@ |
---|
4 | Release: 1 |
---|
5 | Copyright: LGPL |
---|
6 | Group: System Environment/Libraries |
---|
7 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libglade/libglade-%{version}.tar.gz |
---|
8 | BuildRoot: /var/tmp/%{name}-root |
---|
9 | Packager: James Henstridge |
---|
10 | URL: http://www.gnome.org |
---|
11 | |
---|
12 | Requires: gtk+ |
---|
13 | Requires: libxml >= 1.3 |
---|
14 | |
---|
15 | %description |
---|
16 | This library allows you to load user interfaces in your program, which are |
---|
17 | stored externally. This allows alteration of the interface without |
---|
18 | recompilation of the program. |
---|
19 | |
---|
20 | The interfaces can also be edited with GLADE. |
---|
21 | |
---|
22 | %package devel |
---|
23 | Summary: Libraries, includes, etc to develop libglade applications |
---|
24 | Group: Development/Libraries |
---|
25 | Requires: libglade gtk+-devel libxml-devel |
---|
26 | |
---|
27 | %description devel |
---|
28 | Libraries, include files, etc you can use to develop libglade applications. |
---|
29 | |
---|
30 | |
---|
31 | %changelog |
---|
32 | |
---|
33 | * Sun Nov 1 1998 James Henstridge <james@daa.com.au> |
---|
34 | |
---|
35 | - Updated the dependencies of the devel package, so users must have gtk+-devel. |
---|
36 | |
---|
37 | * Sun Oct 25 1998 James Henstridge <james@daa.com.au> |
---|
38 | |
---|
39 | - Initial release 0.0.1 |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup |
---|
43 | |
---|
44 | %build |
---|
45 | %ifarch alpha |
---|
46 | MYARCH_FLAGS="--host=alpha-redhat-linux" |
---|
47 | %endif |
---|
48 | |
---|
49 | CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} |
---|
50 | |
---|
51 | if [ "$SMP" != "" ]; then |
---|
52 | make -k -j$SMP check "MAKE=make -k -j$SMP check" |
---|
53 | else |
---|
54 | make -k check |
---|
55 | fi |
---|
56 | |
---|
57 | %install |
---|
58 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | make -k prefix=$RPM_BUILD_ROOT%{_prefix} install |
---|
61 | |
---|
62 | |
---|
63 | %clean |
---|
64 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %post |
---|
67 | /sbin/ldconfig |
---|
68 | |
---|
69 | %postun |
---|
70 | /sbin/ldconfig |
---|
71 | |
---|
72 | %files |
---|
73 | %defattr(-, root, root) |
---|
74 | |
---|
75 | %doc AUTHORS ChangeLog NEWS README COPYING |
---|
76 | %{_prefix}/lib/lib*.so.* |
---|
77 | |
---|
78 | %files devel |
---|
79 | %defattr(-, root, root) |
---|
80 | |
---|
81 | %{_prefix}/bin/* |
---|
82 | %{_prefix}/lib/lib*.so |
---|
83 | %{_prefix}/lib/*a |
---|
84 | %{_prefix}/include/libglade-1.0/glade/* |
---|
85 | %{_prefix}/share/aclocal/* |
---|
86 | %{_prefix}/lib/libgladeConf.sh |
---|
87 | %{_prefix}/lib/pkgconfig/*.pc |
---|
88 | |
---|
89 | %doc test-libglade.c |
---|
90 | %doc *.glade |
---|
91 | %doc %{_prefix}/share/gnome/html/libglade/* |
---|