40
|
1 |
Name: libglade
|
190
|
2 |
License: LGPL
|
|
3 |
Group: System/Libraries/GNOME
|
1791
|
4 |
Version: 2.3.2
|
2159
|
5 |
Release: 8
|
1791
|
6 |
Distribution: Cinnabar
|
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
|
1988
|
11 |
Patch: libglade-01-uninstalled-pc.diff
|
40
|
12 |
URL: http://www.daa.com.au/~james/gnome/
|
|
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
190
|
14 |
Docdir: %{_defaultdocdir}/doc
|
40
|
15 |
Autoreqprov: on
|
1080
|
16 |
Prereq: /sbin/ldconfig
|
40
|
17 |
|
2002
|
18 |
# Define the standard prefix of the JDS common build environment
|
|
19 |
%define JDS_CBE_prefix /opt/jds
|
|
20 |
|
2021
|
21 |
%define autoconf_jds_version 2.59
|
2002
|
22 |
%define automake_jds_version 1.8.2
|
|
23 |
%define libtool_jds_version 1.5
|
1436
|
24 |
%define gtk2_version 2.3.0
|
190
|
25 |
%define libxml2_version 2.4.23
|
1201
|
26 |
%define python_xml_version 2.2.1
|
190
|
27 |
|
|
28 |
Requires: gtk2 >= %{gtk2_version}
|
|
29 |
Requires: libxml2 >= %{libxml2_version}
|
2002
|
30 |
BuildRequires: autoconf-jds >= %{autoconf_jds_version}
|
|
31 |
BuildRequires: automake-jds >= %{automake_jds_version}
|
|
32 |
BuildRequires: libtool-jds >= %{libtool_jds_version}
|
190
|
33 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
34 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
35 |
BuildRequires: python-xml >= %{python_xml_version}
|
|
36 |
|
40
|
37 |
%description
|
|
38 |
This library allows you to load glade interface files in a program at runtime.
|
|
39 |
|
|
40 |
%package devel
|
190
|
41 |
Summary: Development library for loading GLADE interfaces at runtime
|
40
|
42 |
Group: Development/Libraries/GNOME
|
191
|
43 |
Requires: %{name} = %{version}
|
|
44 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
45 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
46 |
Requires: python-xml >= %{python_xml_version}
|
40
|
47 |
|
|
48 |
%description devel
|
|
49 |
This library allows you to load glade interface files in a program at runtime.
|
|
50 |
|
|
51 |
%prep
|
|
52 |
%setup -q
|
1988
|
53 |
%patch -p1
|
40
|
54 |
|
|
55 |
%build
|
2002
|
56 |
%ifos linux
|
|
57 |
export PATH=%{JDS_CBE_prefix}/bin:$PATH
|
|
58 |
export ACLOCAL_FLAGS="-I %{JDS_CBE_prefix}/share/aclocal -I %{_datadir}/aclocal"
|
|
59 |
%endif
|
1989
|
60 |
libtoolize --force
|
|
61 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
|
|
62 |
automake -a -c -f
|
|
63 |
autoconf
|
190
|
64 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
65 |
./configure --prefix=%{_prefix} \
|
|
66 |
--sysconfdir=%{_sysconfdir}
|
40
|
67 |
make
|
|
68 |
|
|
69 |
%install
|
|
70 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1507
|
71 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3
|
|
72 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man3
|
40
|
73 |
|
|
74 |
%clean
|
|
75 |
rm -rf $RPM_BUILD_ROOT
|
|
76 |
|
190
|
77 |
%post
|
|
78 |
/sbin/ldconfig
|
|
79 |
|
|
80 |
%postun
|
|
81 |
/sbin/ldconfig
|
|
82 |
|
40
|
83 |
%files
|
1058
|
84 |
%{_libdir}/lib*.so.*
|
40
|
85 |
|
|
86 |
%files devel
|
|
87 |
%defattr(-, root, root)
|
|
88 |
%{_bindir}/*
|
1058
|
89 |
%{_libdir}/lib*.so
|
190
|
90 |
%{_includedir}/libglade-2.0/
|
40
|
91 |
%{_libdir}/pkgconfig/*.pc
|
|
92 |
%{_datadir}/gtk-doc/html/libglade
|
|
93 |
%{_datadir}/xml/libglade
|
1436
|
94 |
%{_mandir}/man3/*
|
40
|
95 |
|
190
|
96 |
%changelog
|
2002
|
97 |
* Wed Feb 25 2004 - <[email protected]>
|
|
98 |
- use the jds versions of the autotools
|
|
99 |
|
1989
|
100 |
* Wed Feb 25 2004 - <[email protected]>
|
|
101 |
- autotoolize
|
|
102 |
|
1791
|
103 |
* Wed Feb 18 2004 - <[email protected]>
|
|
104 |
- Bump to 2.3.2
|
|
105 |
|
1436
|
106 |
* Mon Dec 15 2003 - <[email protected]>
|
|
107 |
- Bump to 2.3.1
|
|
108 |
|
1201
|
109 |
* Mon Oct 6 2003 - <[email protected]>
|
|
110 |
- upped some dep version numbers
|
1436
|
111 |
|
1058
|
112 |
* Thu Aug 14 2003 - <[email protected]>
|
|
113 |
- move lib*.so to -devel, remove *.a, *.la
|
|
114 |
|
40
|
115 |
* Tue May 13 2003 - [email protected]
|
|
116 |
- Initial Sun Spec File
|