9
|
1 |
Name: libIDL
|
156
|
2 |
License: LGPL
|
|
3 |
Group: System/Libraries
|
1551
|
4 |
Version: 0.8.3
|
3320
|
5 |
Release: 14
|
1611
|
6 |
Distribution: Cinnabar
|
575
|
7 |
Vendor: Sun Microsystems, Inc.
|
182
|
8 |
Summary: IDL parsing library
|
1642
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-%{version}.tar.bz2
|
1432
|
10 |
Source1: libIDL-2.3.gz
|
176
|
11 |
URL: http://www.gnome.org
|
|
12 |
Docdir: %{_defaultdocdir}/doc
|
9
|
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
156
|
14 |
AutoReqProv: on
|
1080
|
15 |
Prereq: /sbin/ldconfig
|
156
|
16 |
|
182
|
17 |
%define glib2_version 2.2.1
|
|
18 |
%define pkgconfig_version 0.15.0
|
|
19 |
|
|
20 |
Requires: glib2 >= %{glib2_version}
|
|
21 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
22 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
9
|
23 |
|
|
24 |
%description
|
|
25 |
libIDL is a small library for creating parse trees of CORBA v2.2
|
|
26 |
compliant Interface Definition Language (IDL) files, which is a
|
|
27 |
specification for defining interfaces which can be used between
|
|
28 |
different CORBA implementations.
|
|
29 |
|
|
30 |
%package devel
|
182
|
31 |
Summary: IDL parsing library development libraries and header files.
|
|
32 |
Group: Development/Languages/Other
|
176
|
33 |
Requires: %{name} = %{version}
|
182
|
34 |
Requires: glib2-devel >= %{glib2_version}
|
9
|
35 |
|
|
36 |
%description devel
|
|
37 |
libIDL is a small library for creating parse trees of CORBA v2.2
|
|
38 |
compliant Interface Definition Language (IDL) files, which is a
|
|
39 |
specification for defining interfaces which can be used between
|
|
40 |
different CORBA implementations.
|
|
41 |
|
|
42 |
%prep
|
|
43 |
%setup -q
|
|
44 |
|
|
45 |
%build
|
3263
|
46 |
%ifos linux
|
|
47 |
if [ -x /usr/bin/getconf ]; then
|
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
49 |
fi
|
|
50 |
%else
|
|
51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l`
|
|
52 |
%endif
|
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
54 |
CPUS=1
|
|
55 |
fi
|
|
56 |
|
176
|
57 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
58 |
./configure --prefix=%{_prefix} \
|
|
59 |
--sysconfdir=%{_sysconfdir}
|
3263
|
60 |
make -j $CPUS
|
9
|
61 |
|
|
62 |
%install
|
176
|
63 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1432
|
64 |
install -d $RPM_BUILD_ROOT/usr/share/man/man3
|
|
65 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/man/man3
|
9
|
66 |
|
|
67 |
%clean
|
|
68 |
rm -rf $RPM_BUILD_ROOT
|
|
69 |
|
176
|
70 |
%post
|
|
71 |
/sbin/ldconfig
|
156
|
72 |
|
176
|
73 |
%postun
|
|
74 |
/sbin/ldconfig
|
156
|
75 |
|
9
|
76 |
%files
|
|
77 |
%defattr(-,root,root)
|
1058
|
78 |
%{_libdir}/*.so.*
|
9
|
79 |
|
|
80 |
%files devel
|
|
81 |
%defattr(-,root,root)
|
156
|
82 |
%{_bindir}/*
|
|
83 |
%{_libdir}/pkgconfig/*.pc
|
1058
|
84 |
%{_libdir}/*.so
|
156
|
85 |
%{_includedir}/*
|
1432
|
86 |
%{_mandir}/man3/*
|
9
|
87 |
|
|
88 |
%changelog
|
3263
|
89 |
* Wed Jul 07 2004 - [email protected]
|
|
90 |
- added "-j $CPUS" to make to speed up builds
|
|
91 |
|
1551
|
92 |
* Wed Jan 28 2004 - <[email protected]> 0.8.3-1
|
|
93 |
- Upgrade to 0.8.3
|
|
94 |
|
1432
|
95 |
* Mon Dec 15 2003 - <[email protected]>
|
|
96 |
- Add back the man pages.
|
|
97 |
|
1058
|
98 |
* Thu Aug 14 2003 - <[email protected]>
|
|
99 |
- move lib*.so to -devel, remove *.a, *.la
|
|
100 |
|
912
|
101 |
* Fri Aug 01 2003 - <[email protected]> 0.8.2-1
|
|
102 |
- Upgrade to 0.8.2
|
|
103 |
|
|
104 |
* Tue May 20 2003 - <[email protected]>
|
156
|
105 |
- initial Sun release
|