...
# Note that this is NOT a relocatable package
%define name libole2
%define version 0.1.6
%define release 3mdk
%define prefix /usr

Summary: Store multiple type of data using a filesystem in a file
Name: %name
Version: %version
Release: %release
Copyright: LGPL
Group: System/Libraries
Source: 
ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/libole2-%{version}.tar.bz2
BuildRoot: /var/tmp/%{name}-root
URL: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/
Docdir: %{prefix}/doc

%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 devel
Summary: Libraries, includes, etc to develop libole2 applications
Group: Development/Other
Requires: libole2

%description devel
Libraries, include files, etc you can use to develop libole2 applications.

%prep
%setup -q

%build
%configure
make

%install
%makeinstall
ln 
$RPM_BUILD_ROOT/%{_libdir}/libgnomeole2.so.0�$RPM_BUILD_ROOT/%{_libdir}/libole2.so.0 
-sf
ln $RPM_BUILD_ROOT/%{_libdir}/libgnomeole2.so.0.0.0 
$RPM_BUILD_ROOT/%{_libdir}/libole2.so.0.0.0 -sf


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)

%doc AUTHORS ChangeLog INSTALL NEWS README COPYING TODO
%{_libdir}/lib*.so.*

%files devel
%defattr(-, root, root)

%{_libdir}/lib*.so
%{_bindir}/*
%{_libdir}/*a
%{_includedir}/*
%doc %{_datadir}/libole2/*
%{_datadir}/aclocal/*
%{_libdir}/*.sh

%changelog
* Tue Jul 12 2000 Reinhard Katzmann <[EMAIL PROTECTED]> 0.1.6-3mdk
- Merged with my self-created spec:
- better Summary
- added some docs
- a link for gnumeric was missing -> ln -sf is needed for some reason

* Tue Jul 11 2000 dam's <[EMAIL PROTECTED]> 0.1.6-2mdk
- made link to be used with gnumeric.
- chmouelization.

* Tue Jul  4 2000 dam's <[EMAIL PROTECTED]> 0.1.6-1mdk
- updated.
- spec cleanup.

* Wed Jun 21 2000 dam's <[EMAIL PROTECTED]> 0.1.4-1mdk
- built first spec.
- mandrake adaptation.

PGP signature

Reply via email to