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