libIDL.spec
author dermotm
Mon, 06 Sep 2004 10:13:24 +0000
changeset 3858 a0a00bd9bb27
parent 3846 9ab79af72b15
child 4007 3cf8b6afa295
permissions -rw-r--r--
Incremented release numbers for build 18
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
3858
a0a00bd9bb27 Incremented release numbers for build 18
dermotm
parents: 3846
diff changeset
     5
Release:      18
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
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    45
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    46
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    47
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    49
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    51
  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
    52
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    57
CFLAGS="$RPM_OPT_FLAGS"				\
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    58
./configure --prefix=%{_prefix}			\
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    59
            --sysconfdir=%{_sysconfdir}		\
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    60
            --infodir=%{_infodir} 
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
make -j $CPUS
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    62
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    63
%install
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    64
make DESTDIR=$RPM_BUILD_ROOT install
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
    65
install -d $RPM_BUILD_ROOT/usr/share/man/man3
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
    66
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
    67
rm $RPM_BUILD_ROOT%{_libdir}/*.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    68
rm $RPM_BUILD_ROOT%{_libdir}/*.la
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    69
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    70
%clean
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    71
rm -rf $RPM_BUILD_ROOT
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    72
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    73
%post
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    74
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    75
176
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    76
%postun
7d9477cdb075 2003-05-27 Glynn Foster <[email protected]>
gman
parents: 156
diff changeset
    77
/sbin/ldconfig
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    78
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    79
%files
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    80
%defattr(-,root,root)
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    81
%{_libdir}/*.so.*
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    82
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    83
%files devel
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    84
%defattr(-,root,root)
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    85
%{_bindir}/*
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    86
%{_libdir}/pkgconfig/*.pc
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    87
%{_libdir}/*.so
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
    88
%{_includedir}/*
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
    89
%{_mandir}/man3/*
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    90
%{_infodir}/*.info.gz
9
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    91
624412444874 2003-05-12 Niall Power <[email protected]>
niall
parents:
diff changeset
    92
%changelog
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    93
* Thu Jul 08 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    94
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    95
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    96
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    97
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    98
1551
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
    99
* Wed Jan 28 2004 - <[email protected]> 0.8.3-1
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
   100
- Upgrade to 0.8.3
f75c7b98ea13 2003-01-28 Laszlo Peter <[email protected]>
laca
parents: 1543
diff changeset
   101
1432
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   102
* Mon Dec 15 2003 - <[email protected]>
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   103
- Add back the man pages.
2cea3516467a 2003-12-15 Glynn Foster <[email protected]>
gman
parents: 1195
diff changeset
   104
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   105
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   106
- move lib*.so to -devel, remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
   107
912
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   108
* Fri Aug 01 2003 - <[email protected]> 0.8.2-1
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   109
- Upgrade to 0.8.2
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   110
ab3ee6052cf8 2003-08-01 Mark McLoughlin <[email protected]>
markmc
parents: 894
diff changeset
   111
* Tue May 20 2003 - <[email protected]>
156
acc6f409a6eb 2003-05-27 Niall Power <[email protected]>
niall
parents: 9
diff changeset
   112
- initial Sun release