40
|
1 |
Name: libglade
|
190
|
2 |
License: LGPL
|
|
3 |
Group: System/Libraries/GNOME
|
1436
|
4 |
Version: 2.3.1
|
1609
|
5 |
Release: 3
|
40
|
6 |
Distribution: Mercury
|
575
|
7 |
Vendor: Sun Microsystems, Inc.
|
190
|
8 |
Summary: Library for loading GLADE interfaces at runtime
|
1000
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/libglade-%{version}.tar.bz2
|
1436
|
10 |
Source1: libglade-2.0.3.gz
|
40
|
11 |
URL: http://www.daa.com.au/~james/gnome/
|
|
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
190
|
13 |
Docdir: %{_defaultdocdir}/doc
|
40
|
14 |
Autoreqprov: on
|
1080
|
15 |
Prereq: /sbin/ldconfig
|
40
|
16 |
|
1436
|
17 |
%define gtk2_version 2.3.0
|
190
|
18 |
%define libxml2_version 2.4.23
|
1201
|
19 |
%define python_xml_version 2.2.1
|
190
|
20 |
|
|
21 |
Requires: gtk2 >= %{gtk2_version}
|
|
22 |
Requires: libxml2 >= %{libxml2_version}
|
|
23 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
24 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
25 |
BuildRequires: python-xml >= %{python_xml_version}
|
|
26 |
|
40
|
27 |
%description
|
|
28 |
This library allows you to load glade interface files in a program at runtime.
|
|
29 |
|
|
30 |
%package devel
|
190
|
31 |
Summary: Development library for loading GLADE interfaces at runtime
|
40
|
32 |
Group: Development/Libraries/GNOME
|
191
|
33 |
Requires: %{name} = %{version}
|
|
34 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
35 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
36 |
Requires: python-xml >= %{python_xml_version}
|
40
|
37 |
|
|
38 |
%description devel
|
|
39 |
This library allows you to load glade interface files in a program at runtime.
|
|
40 |
|
|
41 |
%prep
|
|
42 |
%setup -q
|
|
43 |
|
|
44 |
%build
|
190
|
45 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
46 |
./configure --prefix=%{_prefix} \
|
|
47 |
--sysconfdir=%{_sysconfdir}
|
40
|
48 |
make
|
|
49 |
|
|
50 |
%install
|
|
51 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1507
|
52 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3
|
|
53 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man3
|
40
|
54 |
|
|
55 |
%clean
|
|
56 |
rm -rf $RPM_BUILD_ROOT
|
|
57 |
|
190
|
58 |
%post
|
|
59 |
/sbin/ldconfig
|
|
60 |
|
|
61 |
%postun
|
|
62 |
/sbin/ldconfig
|
|
63 |
|
40
|
64 |
%files
|
1058
|
65 |
%{_libdir}/lib*.so.*
|
40
|
66 |
|
|
67 |
%files devel
|
|
68 |
%defattr(-, root, root)
|
|
69 |
%{_bindir}/*
|
1058
|
70 |
%{_libdir}/lib*.so
|
190
|
71 |
%{_includedir}/libglade-2.0/
|
40
|
72 |
%{_libdir}/pkgconfig/*.pc
|
|
73 |
%{_datadir}/gtk-doc/html/libglade
|
|
74 |
%{_datadir}/xml/libglade
|
1436
|
75 |
%{_mandir}/man3/*
|
40
|
76 |
|
190
|
77 |
%changelog
|
1436
|
78 |
* Mon Dec 15 2003 - <[email protected]>
|
|
79 |
- Bump to 2.3.1
|
|
80 |
|
1201
|
81 |
* Mon Oct 6 2003 - <[email protected]>
|
|
82 |
- upped some dep version numbers
|
1436
|
83 |
|
1058
|
84 |
* Thu Aug 14 2003 - <[email protected]>
|
|
85 |
- move lib*.so to -devel, remove *.a, *.la
|
|
86 |
|
40
|
87 |
* Tue May 13 2003 - [email protected]
|
|
88 |
- Initial Sun Spec File
|