9397
|
1 |
#
|
|
2 |
# spec file for package libglade
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner erwannc
|
9397
|
9 |
#
|
16430
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16430
|
12 |
|
9397
|
13 |
Name: libglade
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries/GNOME
|
15424
|
16 |
Version: 2.6.4
|
9397
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17865
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: Library for loading GLADE interfaces at runtime
|
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
|
|
22 |
URL: http://www.daa.com.au/~james/gnome/
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
Docdir: %{_defaultdocdir}/doc
|
|
25 |
Autoreqprov: on
|
|
26 |
Prereq: /sbin/ldconfig
|
|
27 |
|
|
28 |
%define gtk2_version 2.5.0
|
|
29 |
%define libxml2_version 2.6.7
|
|
30 |
%define python_xml_version 2.3.3
|
|
31 |
|
|
32 |
Requires: gtk2 >= %{gtk2_version}
|
|
33 |
Requires: libxml2 >= %{libxml2_version}
|
|
34 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
35 |
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
36 |
BuildRequires: python-xml >= %{python_xml_version}
|
|
37 |
|
|
38 |
%description
|
|
39 |
This library allows you to load glade interface files in a program at runtime.
|
|
40 |
|
|
41 |
%package devel
|
|
42 |
Summary: Development library for loading GLADE interfaces at runtime
|
|
43 |
Group: Development/Libraries/GNOME
|
|
44 |
Requires: %{name} = %{version}
|
|
45 |
Requires: gtk2-devel >= %{gtk2_version}
|
|
46 |
Requires: libxml2-devel >= %{libxml2_version}
|
|
47 |
Requires: python-xml >= %{python_xml_version}
|
|
48 |
|
|
49 |
%description devel
|
|
50 |
This library allows you to load glade interface files in a program at runtime.
|
|
51 |
|
|
52 |
%prep
|
|
53 |
%setup -q
|
|
54 |
|
|
55 |
|
|
56 |
%build
|
|
57 |
%ifos linux
|
|
58 |
if [ -x /usr/bin/getconf ]; then
|
|
59 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
60 |
fi
|
|
61 |
%else
|
|
62 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
63 |
%endif
|
|
64 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
65 |
CPUS=1
|
|
66 |
fi
|
|
67 |
|
|
68 |
|
|
69 |
CONFLAGS="--prefix=%{_prefix}"
|
|
70 |
gtkdocize
|
|
71 |
libtoolize --force
|
|
72 |
aclocal $ACLOCAL_FLAGS -I ./m4
|
|
73 |
autoheader
|
|
74 |
automake -a -c -f
|
|
75 |
autoconf
|
9576
|
76 |
export CFLAGS="%{optflags}"
|
|
77 |
export LDFLAGS="%{_ldflags}"
|
|
78 |
./configure --prefix=%{_prefix} \
|
9397
|
79 |
--sysconfdir=%{_sysconfdir} \
|
9576
|
80 |
--libdir=%{_libdir} \
|
|
81 |
--bindir=%{_bindir} \
|
9397
|
82 |
%{gtk_doc_option}
|
|
83 |
make -j $CPUS
|
|
84 |
|
|
85 |
%install
|
|
86 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
87 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
88 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
89 |
|
|
90 |
%clean
|
|
91 |
rm -rf $RPM_BUILD_ROOT
|
|
92 |
|
|
93 |
%post
|
|
94 |
/sbin/ldconfig
|
|
95 |
|
|
96 |
%postun
|
|
97 |
/sbin/ldconfig
|
|
98 |
|
|
99 |
%files
|
|
100 |
%{_libdir}/lib*.so.*
|
|
101 |
|
|
102 |
%files devel
|
|
103 |
%defattr(-, root, root)
|
|
104 |
%{_bindir}
|
|
105 |
%{_libdir}/lib*.so
|
|
106 |
%{_includedir}/libglade-2.0/
|
|
107 |
%{_libdir}/pkgconfig/*.pc
|
|
108 |
%{_datadir}/gtk-doc/html/libglade
|
|
109 |
%{_datadir}/xml/libglade
|
|
110 |
%{_mandir}/man3/*
|
|
111 |
|
|
112 |
%changelog
|
15424
|
113 |
* Wed Mar 18 2009 - [email protected]
|
|
114 |
- Bump to 2.6.4
|
13228
|
115 |
* Tue Aug 19 2008 - [email protected]
|
|
116 |
- Bump to 2.6.3
|
10238
|
117 |
* Tue Jul 31 2007 - [email protected]
|
|
118 |
- Bump to 2.6.2. Remove upstream patch, 01-gtk-tooltips.
|
10209
|
119 |
* Tue Jul 24 2007 - [email protected]
|
|
120 |
- Add upstream patch, 01-gtk-tooltips, to fix build failure. Bugzilla: 455566.
|
10076
|
121 |
* Tue Jun 19 2007 - [email protected]
|
|
122 |
- Bump to 2.6.1.
|
9576
|
123 |
* Thu Mar 15 2007 - [email protected]
|
|
124 |
- convert to new style of building multiple ISAs as per docs/multi-ISA.txt
|
9565
|
125 |
* Wed Mar 15 2007 - [email protected]
|
|
126 |
- Removed adding ccdir to PATH
|
9397
|
127 |
* Fri Nov 3 2006 - [email protected]
|
|
128 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
129 |
--without-gtk-doc
|
|
130 |
* Thu Jul 20 2006 - [email protected]
|
|
131 |
- Bump to 2.6.0.
|
|
132 |
* Wed Aug 24 2005 - [email protected]
|
|
133 |
- Add _bindir to %files devel to pick up libglade-convert.
|
|
134 |
* Fri May 06 2005 - [email protected]
|
|
135 |
- Add "-I ./m4" to the ACLOCAL_FLAGS since it is needed to build
|
|
136 |
on Solaris.
|
|
137 |
* Fri May 05 2005 - [email protected]
|
|
138 |
- Bump to 2.5.1
|
|
139 |
* Fri Oct 29 2004 - [email protected]
|
|
140 |
- use $CC64 for the 64-bit build if defined
|
|
141 |
* Sat Oct 02 2004 - [email protected]
|
|
142 |
- Create 64bit libraries for Solaris
|
|
143 |
* Wed Aug 18 2004 - [email protected]
|
|
144 |
- added --enable-gtk-doc.
|
|
145 |
* Wed Jul 07 2004 - [email protected]
|
|
146 |
- Ported to rpm4
|
|
147 |
* Wed Jul 07 2004 - [email protected]
|
|
148 |
- added "-j $CPUS" to make to speed up builds
|
|
149 |
* Tue Mar 16 2004 - <[email protected]>
|
|
150 |
- Bump to 2.3.6
|
|
151 |
* Wed Feb 25 2004 - <[email protected]>
|
|
152 |
- use the jds versions of the autotools
|
|
153 |
* Wed Feb 25 2004 - <[email protected]>
|
|
154 |
- autotoolize
|
|
155 |
* Wed Feb 18 2004 - <[email protected]>
|
|
156 |
- Bump to 2.3.2
|
|
157 |
* Mon Dec 15 2003 - <[email protected]>
|
|
158 |
- Bump to 2.3.1
|
|
159 |
* Mon Oct 6 2003 - <[email protected]>
|
|
160 |
- upped some dep version numbers
|
|
161 |
* Thu Aug 14 2003 - <[email protected]>
|
|
162 |
- move lib*.so to -devel, remove *.a, *.la
|
|
163 |
* Tue May 13 2003 - [email protected]
|
|
164 |
- Initial Sun Spec File
|