libIDL.spec
author laca
Mon, 18 Oct 2004 03:09:21 +0000
changeset 4271 eb46de360ab6
parent 4133 ac0c5fbef3de
child 4276 2a2c7f354601
permissions -rw-r--r--
2004-10-18 Laszlo Peter <[email protected]> * GConf.spec, ORBit2.spec, atk.spec, glib2.spec, gtk2.spec, libIDL.spec, libbonobo.spec, libglade.spec, pango.spec: enable 64-bit build on Solaris sparcv9 and amd64 platforms.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
     1
Name:         libIDL
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
     2
License:      LGPL
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
     3
Group:        System/Libraries
1551
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
     4
Version:      0.8.3
4133
ac0c5fbef3de Incremented release numbers for build 20
dermotm
parents: 4127
diff changeset
     5
Release:      20
1611
b26373a6874f Update Distribution Tag to Cinnabar
mattk
parents: 1609
diff changeset
     6
Distribution: Cinnabar
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
     7
Vendor:       Sun Microsystems, Inc.
182
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
     8
Summary:      IDL parsing library
1642
1a2233015772 *** empty log message ***
laca
parents: 1611
diff changeset
     9
Source:       http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/libIDL-%{version}.tar.bz2
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
    10
Source1:      libIDL-2.3.gz
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    11
URL:          http://www.gnome.org
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    12
Docdir:       %{_defaultdocdir}/doc
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    13
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    14
AutoReqProv:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    15
Prereq:       /sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    16
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    17
%define glib2_version 2.4.0
182
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    18
%define pkgconfig_version 0.15.0
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    19
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    20
Requires:      glib2 >= %{glib2_version}
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    21
BuildRequires: glib2-devel >= %{glib2_version}
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    22
BuildRequires: pkgconfig >= %{pkgconfig_version}
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    23
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    24
%description
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    25
libIDL is a small library for creating parse trees of CORBA v2.2
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    26
compliant Interface Definition Language (IDL) files, which is a
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    27
specification for defining interfaces which can be used between
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    28
different CORBA implementations.
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    29
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    30
%package devel
182
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    31
Summary:      IDL parsing library development libraries and header files.
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    32
Group:        Development/Languages/Other
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    33
Requires:     %{name} = %{version}
182
ad006afc1616 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 177
diff changeset
    34
Requires:     glib2-devel >= %{glib2_version}
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    35
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    36
%description devel
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    37
libIDL is a small library for creating parse trees of CORBA v2.2
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    38
compliant Interface Definition Language (IDL) files, which is a
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    39
specification for defining interfaces which can be used between
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    40
different CORBA implementations.
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    41
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    42
%prep
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    43
%setup -q
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    44
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    45
%ifos solaris
4271
eb46de360ab6 2004-10-18 Laszlo Peter <[email protected]>
laca
parents: 4133
diff changeset
    46
%ifarch amd64 sparcv9
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    47
cd ..
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    48
cp -rp libIDL-%{version} libIDL-%{version}-64
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    49
%endif
4127
69ec35a2e770 * Temp disable 64-building on x86.
dc144907
parents: 4121
diff changeset
    50
%endif
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    51
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    52
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    53
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    59
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    62
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    63
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    64
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    65
CONFLAGS="--prefix=%{_prefix} --infodir=%{_infodir}"
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    66
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    67
%ifos solaris
4271
eb46de360ab6 2004-10-18 Laszlo Peter <[email protected]>
laca
parents: 4133
diff changeset
    68
%ifarch amd64 sparcv9
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    69
CPUS=$(($CPUS*4))
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    70
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    71
cd ../libIDL-%version-64
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    72
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    73
export CFLAGS="$CFLAGS64"
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    74
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH64"
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    75
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    76
./configure $CONFLAGS					\
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    77
            --bindir=%{_bindir}/%{_arch64}		\
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    78
            --libdir=%{_libdir}/%{_arch64}		\
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    79
            --libexecdir=%{_libexecdir}/%{_arch64}	\
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    80
            --sysconfdir=%{_sysconfdir}/%{_arch64}
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    81
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    82
make -j $CPUS
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    83
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    84
cd ../libIDL-%version
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    85
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    86
export CFLAGS="$RPM_OPT_FLAGS"
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    87
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH32"
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    88
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    89
%endif
4127
69ec35a2e770 * Temp disable 64-building on x86.
dc144907
parents: 4121
diff changeset
    90
%endif
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    91
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    92
CFLAGS="$RPM_OPT_FLAGS"				\
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    93
./configure $CONFLAGS				\
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    94
            --sysconfdir=%{_sysconfdir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    95
make -j $CPUS
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    96
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    97
%install
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    98
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
    99
%ifos solaris
4271
eb46de360ab6 2004-10-18 Laszlo Peter <[email protected]>
laca
parents: 4133
diff changeset
   100
%ifarch amd64 sparcv9
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   101
cd ../libIDL-%version-64
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   102
make install DESTDIR=$RPM_BUILD_ROOT
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   103
cd ../libIDL-%version
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   104
%endif
4127
69ec35a2e770 * Temp disable 64-building on x86.
dc144907
parents: 4121
diff changeset
   105
%endif
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   106
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
   107
make DESTDIR=$RPM_BUILD_ROOT install
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   108
install -d $RPM_BUILD_ROOT/usr/share/man/man3
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   109
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/man/man3
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   110
rm $RPM_BUILD_ROOT%{_libdir}/*.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   111
rm $RPM_BUILD_ROOT%{_libdir}/*.la
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   112
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   113
%clean
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   114
rm -rf $RPM_BUILD_ROOT
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   115
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
   116
%post
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
   117
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   118
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
   119
%postun
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
   120
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   121
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   122
%files
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   123
%defattr(-,root,root)
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   124
%{_libdir}/*.so.*
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   125
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   126
%files devel
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   127
%defattr(-,root,root)
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   128
%{_bindir}/*
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   129
%{_libdir}/pkgconfig/*.pc
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   130
%{_libdir}/*.so
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   131
%{_includedir}/*
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   132
%{_mandir}/man3/*
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   133
%{_infodir}/*.info.gz
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   134
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
   135
%changelog
4121
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   136
* Sat Oct  2 2004 - [email protected]
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   137
- Create 64bit libraries for Solaris
397b519ee64a Create 64bit libraries for Solaris
jan
parents: 4007
diff changeset
   138
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   139
* Thu Jul 08 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   140
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
   141
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   142
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   143
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   144
1551
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
   145
* Wed Jan 28 2004 - <[email protected]> 0.8.3-1
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
   146
- Upgrade to 0.8.3
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
   147
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   148
* Mon Dec 15 2003 - <[email protected]>
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   149
- Add back the man pages.
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   150
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   151
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   152
- move lib*.so to -devel, remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   153
912
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   154
* Fri Aug 01 2003 - <[email protected]> 0.8.2-1
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   155
- Upgrade to 0.8.2
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   156
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   157
* Tue May 20 2003 - <[email protected]>
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   158
- initial Sun release