Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 83c27d3cad8caa1a70325607f55939e2 > files > 2

libole2-0.2.4-1mdk.src.rpm

# Note that this is NOT a relocatable package
%define name libole2
%define version	0.2.4
%define release 1mdk
%define prefix %{_prefix}
%define lib_major 0
%define lib_name %{name}%{lib_major}

Summary: Libole2 library
Name: %name
Version: %version
Release: %release
License: LGPL
Group: System/Libraries
Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/libole2-%{version}.tar.bz2
BuildRequires:	glib-devel
BuildRoot: %{_tmppath}/%{name}-root
URL: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/
Docdir: %{_docdir}

%description
The applications today needs store multiple type of data.
One way to do it is using a filesystem in a file.
OLE2-developers used this approach.

Inside a OLE2 file, there are streams (files) and directories.
Using libole2 is easy to travel through such filesystem-in-a-file,
and create, read, write or remove files, and create or remove
directories.

%package -n %{lib_name}
Summary: Libole2 library
Group: System/Libraries
Obsoletes: libole2
Provides: libole2

%description -n %{lib_name}
The applications today needs store multiple type of data.
One way to do it is using a filesystem in a file.
OLE2-developers used this approach.

Inside a OLE2 file, there are streams (files) and directories.
Using libole2 is easy to travel through such filesystem-in-a-file,
and create, read, write or remove files, and create or remove
directories.

%package -n %{lib_name}-devel
Summary: Libraries, includes, etc to develop libole2 applications
Group: Development/Other
Requires: %{lib_name} = %{version}
Provides: libole-devel

%description -n %{lib_name}-devel
Libraries, include files, etc you can use to develop libole2 applications.

%prep
%setup -q

%build
%configure
%make

%install
%makeinstall

cd $RPM_BUILD_ROOT%{_libdir} ; ln -s libgnomeole2.so.0.0.0 libole2.so.0.0.0 ; ln -s libgnomeole2.so.0 libole2.so.0

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post -n %{lib_name} -p /sbin/ldconfig

%postun -n %{lib_name} -p /sbin/ldconfig

%files -n %{lib_name}
%defattr(-, root, root)
%doc AUTHORS ChangeLog INSTALL NEWS README COPYING
%{_libdir}/lib*.so.*

%files -n %{lib_name}-devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_bindir}/*
%{_libdir}/*a
%{_includedir}/*
%doc %{_datadir}/libole2/*
%{_datadir}/aclocal/*
%{_libdir}/*.sh

%changelog
* Fri Nov  9 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.2.4-1mdk
- release 0.2.4 needed by gnumeric 0.75

* Wed Aug 22 2001 dam's <damien@mandrakesoft.com> 0.2.3-4mdk
- added Provides.

* Mon Aug 13 2001 dam's <damien@mandrakesoft.com> 0.2.3-3mdk
- rebuilt

* Wed Jul 11 2001 Stefan van der Eijk <stefan@eijk.nu> 0.2.3-2mdk
- BuildRequires:	glib-devel

* Mon Jun 11 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.2.3-1mdk
- new version for gnumeric 0.65

* Wed Nov 29 2000 dam's <damien@mandrakesoft.com> 0.1.7-3mdk
- new lib policy

* Fri Nov 24 2000 dam's <damien@mandrakesoft.com> 0.1.7-2mdk
- corrected version dependencies
- capitalized summary to make rpmlint happy

* Tue Nov 14 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.1.7-1mdk
- new and shiny source.

* Fri Jul 21 2000 dam's <damien@mandrakesoft.com> 0.1.6-5mdk
- BM

* Tue Jul 18 2000 dam's <damien@mandrakesoft.com> 0.1.6-4mdk
- incorporated : Reinhard Katzmann <reinhard@suamor.de>
		- added some docs

* Tue Jul 18 2000 dam's <damien@mandrakesoft.com> 0.1.6-3mdk
- corrected links.
- provides libole2.so.0 & libole2.so.0.0.0

* Tue Jul 11 2000 dam's <damien@mandrakesoft.com> 0.1.6-2mdk
- made link to be used with gnumeric.
- chmouelization.

* Tue Jul  4 2000 dam's <damien@mandrakesoft.com> 0.1.6-1mdk
- updated.
- spec cleanup.

* Wed Jun 21 2000 dam's <damien@mandrakesoft.com> 0.1.4-1mdk
- built first spec.
- mandrake adaptation.