1 Summary: libglade library
7 Source: ftp://ftp.daa.com.au/pub/james/gnome/%{name}-%{version}.tar.gz
8 BuildRequires: gnome-libs-devel
9 BuildRequires: gtk+-devel >= 1.2.0
10 BuildRequires: libxml-devel
11 BuildRequires: XFree86-devel
12 URL: http://www.gnome.org
13 BuildRoot: /tmp/%{name}-%{version}-root
15 %define _prefix /usr/X11R6
18 Requires: libxml >= 1.3
21 This library allows you to load user interfaces in your program, which are
22 stored externally. This allows alteration of the interface without
23 recompilation of the program.
25 The interfaces can also be edited with GLADE.
28 Summary: Libraries, includes, etc to develop libglade applications
30 Requires: %{name} = %{version}
33 Libraries, include files, etc you can use to develop libglade applications.
36 Summary: Static libglade library
37 Group: X11/Development/Libraries
38 Requires: %{name} = %{version}
41 Static libglade library.
48 gettextize --copy --force
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}
57 DESTDIR=$RPM_BUILD_ROOT \
58 m4datadir=/usr/share/aclocal
60 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
62 gzip -9nf AUTHORS ChangeLog NEWS README
64 install test-libglade.c *.glade $RPM_BUILD_ROOT/usr/src/examples/%{name}
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 rm -rf $RPM_BUILD_ROOT
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/lib*.so.*.*
79 %defattr(644,root,root,755)
81 %docdir %{_datadir}/gnome/html/libglade
82 %doc %{_datadir}/gnome/html/libglade/*
83 %attr(755,root,root) %{_bindir}/*
84 %attr(755,root,root) %{_libdir}/libgladeConf.sh
85 %attr(755,root,root) %{_libdir}/lib*.so
86 %attr(755,root,root) %{_libdir}/lib*.la
91 /usr/src/examples/%{name}
94 %attr(644,root,root) %{_libdir}/lib*.a