9397
|
1 |
#
|
|
2 |
# spec file for package libIDL
|
|
3 |
#
|
11559
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
9397
|
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 gheet
|
9397
|
9 |
#
|
16426
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16426
|
12 |
|
9397
|
13 |
Name: libIDL
|
|
14 |
License: LGPL
|
|
15 |
Group: System/Libraries
|
17793
|
16 |
Version: 0.8.14
|
9397
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17864
|
19 |
Vendor: Gnome Community
|
9397
|
20 |
Summary: IDL parsing library
|
|
21 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-%{version}.tar.bz2
|
|
22 |
URL: http://www.gnome.org
|
|
23 |
Docdir: %{_defaultdocdir}/doc
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
AutoReqProv: on
|
|
26 |
Prereq: /sbin/ldconfig
|
|
27 |
|
|
28 |
%define glib2_version 2.4.0
|
|
29 |
%define pkgconfig_version 0.15.0
|
|
30 |
|
|
31 |
Requires: glib2 >= %{glib2_version}
|
|
32 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
33 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
34 |
|
|
35 |
%description
|
|
36 |
libIDL is a small library for creating parse trees of CORBA v2.2
|
|
37 |
compliant Interface Definition Language (IDL) files, which is a
|
|
38 |
specification for defining interfaces which can be used between
|
|
39 |
different CORBA implementations.
|
|
40 |
|
|
41 |
%package devel
|
|
42 |
Summary: IDL parsing library development libraries and header files.
|
|
43 |
Group: Development/Languages/Other
|
|
44 |
Requires: %{name} = %{version}
|
|
45 |
Requires: glib2-devel >= %{glib2_version}
|
|
46 |
|
|
47 |
%description devel
|
|
48 |
libIDL is a small library for creating parse trees of CORBA v2.2
|
|
49 |
compliant Interface Definition Language (IDL) files, which is a
|
|
50 |
specification for defining interfaces which can be used between
|
|
51 |
different CORBA implementations.
|
|
52 |
|
|
53 |
%prep
|
|
54 |
%setup -q
|
|
55 |
|
10580
|
56 |
%build
|
9397
|
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 |
|
10572
|
68 |
export CFLAGS="%optflags"
|
|
69 |
export LDFLAGS="%_ldflags"
|
|
70 |
./configure --prefix=%{_prefix} \
|
|
71 |
--mandir=%{_mandir} \
|
|
72 |
--datadir=%{_datadir} \
|
|
73 |
--libdir=%{_libdir} \
|
|
74 |
--bindir=%{_bindir} \
|
|
75 |
--sysconfdir=%{_sysconfdir}
|
9397
|
76 |
|
|
77 |
make -j $CPUS
|
|
78 |
|
|
79 |
%install
|
|
80 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
81 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
82 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
83 |
|
|
84 |
%clean
|
|
85 |
rm -rf $RPM_BUILD_ROOT
|
|
86 |
|
|
87 |
%post
|
|
88 |
/sbin/ldconfig
|
|
89 |
|
|
90 |
%postun
|
|
91 |
/sbin/ldconfig
|
|
92 |
|
|
93 |
%files
|
|
94 |
%defattr(-,root,root)
|
|
95 |
%{_libdir}/*.so.*
|
|
96 |
|
|
97 |
%files devel
|
|
98 |
%defattr(-,root,root)
|
|
99 |
%{_bindir}/*
|
|
100 |
%{_libdir}/pkgconfig/*.pc
|
|
101 |
%{_libdir}/*.so
|
|
102 |
%{_includedir}/*
|
|
103 |
%{_mandir}/man3/*
|
|
104 |
%{_infodir}/*.info.gz
|
|
105 |
|
|
106 |
%changelog
|
17793
|
107 |
* Sat Apr 3 2010 - [email protected]
|
|
108 |
- Bump to 0.8.14.
|
15435
|
109 |
* Wed Mar 18 2009 - [email protected]
|
|
110 |
- Bump to 0.8.13
|
14697
|
111 |
* Wed Dec 03 2008 - [email protected]
|
|
112 |
- Bump to 0.8.12
|
13209
|
113 |
* Thu Aug 21 2008 - [email protected]
|
|
114 |
- Bump to 0.8.11
|
11559
|
115 |
* Wed Jan 30 2008 - [email protected]
|
|
116 |
- Bump to 0.8.10.
|
10572
|
117 |
* Fri Sep 28 2007 - [email protected]
|
|
118 |
- convert to new style multi-ISA build
|
10507
|
119 |
* Tue Sep 18 2007 - [email protected]
|
|
120 |
- Bump to 0.8.9.
|
9565
|
121 |
* Wed Mar 15 2007 - [email protected]
|
|
122 |
- Removed adding ccdir to PATH
|
9457
|
123 |
* Tue Mar 06 2005 - [email protected]
|
|
124 |
- Bump to 0.8.8.
|
9397
|
125 |
* Mon Aug 15 2005 - [email protected]
|
|
126 |
- Bump to 0.8.6.
|
|
127 |
* Fri May 06 2005 - [email protected]
|
|
128 |
- Bump to 0.8.5
|
|
129 |
* Fri Oct 29 2004 - [email protected]
|
|
130 |
- use $CC64 for the 64-bit build if defined
|
|
131 |
* Sat Oct 2 2004 - [email protected]
|
|
132 |
- Create 64bit libraries for Solaris
|
|
133 |
* Thu Jul 08 2004 - [email protected]
|
|
134 |
- ported to rpm4
|
|
135 |
* Wed Jul 07 2004 - [email protected]
|
|
136 |
- added "-j $CPUS" to make to speed up builds
|
|
137 |
* Wed Jan 28 2004 - <[email protected]> 0.8.3-1
|
|
138 |
- Upgrade to 0.8.3
|
|
139 |
* Mon Dec 15 2003 - <[email protected]>
|
|
140 |
- Add back the man pages.
|
|
141 |
* Thu Aug 14 2003 - <[email protected]>
|
|
142 |
- move lib*.so to -devel, remove *.a, *.la
|
|
143 |
* Fri Aug 01 2003 - <[email protected]> 0.8.2-1
|
|
144 |
- Upgrade to 0.8.2
|
|
145 |
* Tue May 20 2003 - <[email protected]>
|
|
146 |
- initial Sun release
|