@ -1,19 +1,16 @@
%define glib_version 1.3.12.90
Summary: Library for parsing IDL (Interface Definition Language)
Name: libIDL
Version: 0.7.1.91
Version: 0.8.0
Release: 1
Source: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/libIDL/%{name}-%{version}.tar.gz
Source: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/libIDL/%{name}-%{version}.tar.bz2
Group: System Environment/Libraries
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: pkgconfig >= 0.8
BuildRequires: glib2-devel >= %{glib_version}
BuildRequires: glib2-devel >= 2.0
%description
libIDL is a library for parsing IDL (Interface Definition Language).
It can be used for both COM-style and CORBA-style IDL.
@ -22,11 +19,10 @@ Summary: Development libraries and header files for libIDL
Group: Development/Libraries
Requires: libIDL = %{version}
Requires: pkgconfig >= 0.8
Requires: glib2-devel >= %{glib_version}
Requires: glib2-devel >= 2.0
Prereq: /sbin/install-info
%description devel
libIDL is a library for parsing IDL (Interface Definition Language).
It can be used for both COM-style and CORBA-style IDL.
@ -44,18 +40,16 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%makeinstall
gzip -9 %{buildroot}%{_infodir}/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel
/sbin/install-info %{_infodir}/libIDL2.info.gz %{_infodir}/dir
/sbin/install-info --quiet %{_infodir}/libIDL2.info.gz %{_infodir}/dir
%preun devel
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/libIDL2.info.gz %{_infodir}/dir
/sbin/install-info --quiet -- delete %{_infodir}/libIDL2.info.gz %{_infodir}/dir
fi
%clean
@ -63,15 +57,13 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*.so.*
%doc AUTHORS COPYING README NEWS
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*
@ -79,6 +71,28 @@ rm -rf %{buildroot}
%{_infodir}/libIDL2.info.gz
%changelog
* Tue Jun 4 2002 Havoc Pennington <hp@redhat.com>
- 0.8.0
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Fri May 17 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
- move include files to -devel
- other spec file tweaks
* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
- 0.7.4
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
- cvs snap 0.7.1.91