Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 342534eb074fcbb30f86d16c6c65c97b > files > 2

libIDL-0.8.11-1mdv2009.0.src.rpm

%define api_version	2
%define lib_major	0
%define lib_name	%mklibname IDL %{api_version} %{lib_major}
%define develname %mklibname -d  IDL %{api_version}

Summary:	IDL parsing library
Name:		libIDL
Version: 0.8.11
Release:	%mkrel 1
URL:		http://orbit-resource.sf.net/
License:	LGPLv2+
Group:		System/Libraries
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2

BuildConflicts: ORBit-devel < 0.5.10
BuildRequires:	flex bison pkgconfig
BuildRequires:  libglib2.0-devel

%description
libIDL is a small library for creating parse trees of CORBA v2.2
compliant Interface Definition Language (IDL) files, which is a
specification for defining interfaces which can be used between
different CORBA implementations.

%package -n %{lib_name}
Summary:	%{summary}
Group:		%{group}
Provides:	%{name} = %{version}-%{release}
Provides:	%{name}%{api_version} = %{version}-%{release}

%description -n %{lib_name}
libIDL is a small library for creating parse trees of CORBA v2.2
compliant Interface Definition Language (IDL) files, which is a
specification for defining interfaces which can be used between
different CORBA implementations.

%package -n %develname
Summary:	Header files and libraries needed for libIDL development
Group:		Development/C
Conflicts:	ORBit-devel < 0.5.10
Provides:	%{name}-devel = %{version}-%{release}
Provides:	%{name}%{api_version}-devel = %{version}-%{release}
Requires:	%{lib_name} = %{version}
Requires:   glib2-devel
Requires(post,preun): info-install
Obsoletes: %mklibname -d  IDL 2 0

%description -n %develname
This package includes the header files and libraries needed for
developing or compiling programs using libIDL.

%prep
%setup -q

%build

%configure2_5x

%make

%install
rm -rf %{buildroot}

%makeinstall_std
%multiarch_binaries %buildroot%_bindir/*-config*

%if %mdkversion < 200900
%post -n %{lib_name} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %{lib_name} -p /sbin/ldconfig
%endif

%post -n %develname
%_install_info %{name}2.info

%preun -n %develname
%_remove_install_info %{name}2.info

%clean
rm -rf %{buildroot}

%files -n %{lib_name}
%defattr(-,root,root)
%doc AUTHORS README NEWS BUGS ChangeLog
%{_libdir}/libIDL-%{api_version}.so.%{lib_major}*

%files -n %develname
%defattr(-,root,root)
%doc tstidl.c
%{_bindir}/libIDL-config-2
%{_bindir}/*/libIDL-config-2
%{_includedir}/*
%{_infodir}/*.info*
%{_libdir}/lib*.la
%{_libdir}/lib*.a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*




%changelog
* Tue Aug 19 2008 Götz Waschk <waschk@mandriva.org> 0.8.11-1mdv2009.0
+ Revision: 273748
- new version
- update license

* Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.8.10-2mdv2009.0
+ Revision: 222886
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Tue Jan 29 2008 Götz Waschk <waschk@mandriva.org> 0.8.10-1mdv2008.1
+ Revision: 159761
- new version
- drop patch

* Sun Jan 13 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.8.9-3mdv2008.1
+ Revision: 150694
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Sep 24 2007 Frederic Crozat <fcrozat@mandriva.com> 0.8.9-2mdv2008.0
+ Revision: 92469
- Patch0 (SVN): fix ORBit2 build with gcc 4.2.2

* Mon Sep 17 2007 Götz Waschk <waschk@mandriva.org> 0.8.9-1mdv2008.0
+ Revision: 89092
- new version
- new devel name


* Mon Feb 26 2007 Götz Waschk <waschk@mandriva.org> 0.8.8-1mdv2007.0
+ Revision: 126029
- Import libIDL

* Mon Feb 26 2007 Götz Waschk <waschk@mandriva.org> 0.8.8-1mdv2007.1
- new version

* Tue Jul 25 2006 Götz Waschk <waschk@mandriva.org> 0.8.7-1mdk
- New release 0.8.7

* Thu Feb 23 2006 Frederic Crozat <fcrozat@mandriva.com> 0.8.6-3mdk
- use mkrel

* Sat Dec 31 2005 Mandriva Linux Team <http://www.mandrivaexpert.com/> 0.8.6-2mdk
- Rebuild

* Wed Jul 27 2005 Götz Waschk <waschk@mandriva.org> 0.8.6-1mdk
- replace prereq
- reenable libtoolize
- New release 0.8.6

* Sat Feb 05 2005 Goetz Waschk <waschk@linux-mandrake.com> 0.8.5-1mdk
- New release 0.8.5

* Mon Jan 31 2005 Götz Waschk <waschk@linux-mandrake.com> 0.8.4-2mdk
- multiarch support

* Wed Aug 18 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.4-1mdk
- fix source URL
- New release 0.8.4