Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 92e98c6772d9fcb0a6a213800f3cb8e0 > files > 2

efsd-0.0.1-3.20030730.1mdk.src.rpm

%define	name	efsd
%define	version	0.0.1
%define	release	3.%{cvsrel}.1mdk

%define cvsrel 20030730

%define major   0
%define libname %mklibname %name %major
%define libnamedev %mklibname %name %major -d

Summary: Enlightenment File System Daemon and library
Name: %{name}
Version: %{version}
Release: %{release}
License: BSD
Group: System/Libraries
URL: http://whoop.org/enlightenment.html
Source: %{name}-%{cvsrel}.tar.bz2
BuildRoot: %_tmppath/%{name}-buildroot
Buildrequires: libedb-devel > 1.0.3 fam-devel
Requires: libedb1 => 1.0.3 fam
Requires: %libname

%description
Efsd is a file system daemon that provides a facility to launch filesystem
commands such as cp, rm, mv, stat etc, get file type information, get and
set arbitrary file metadata, receive file modification events and more in
an asynchronous manner.

%package -n %libname
Summary: Enlightenment File System Daemon, library.
Group: System/Libraries

%description -n %libname
Efsd is a file system daemon that provides a facility to launch filesystem
commands such as cp, rm, mv, stat etc, get file type information, get and
set arbitrary file metadata, receive file modification events and more in
an asynchronous manner.

%package -n %libnamedev
Summary: Enlightenment File System Daemon headers.
Group: Development/Other
Requires: %{libname} = %{version}
Requires: libfam0-devel
Provides: libefsd-devel
Autoreqprov: no

%description -n %libnamedev
Efsd development headers and library.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q -n %name

%build

./autogen.sh

%configure

%make

%install

%makeinstall

%post -n %libname -p /sbin/ldconfig

%postun -n %libname -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO
%_bindir/efsd
%_bindir/efsdsh

%files -n %libname 
%defattr(-,root,root)
%_libdir/libefsd.so.*
%_datadir/efsd/filetypes.xml
%_datadir/efsd/filetypes.dtd


%files -n %libnamedev
%defattr(-,root,root)
%_bindir/efsd-config
%_libdir/libefsd.so
%_libdir/libefsd.*a
%_includedir/*
%_datadir/efsd/gdb.scr

%changelog
* Thu Jul 31 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.1-3.20030730.1mdk
- 20030730

* Wed May 14 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.1-3.20030513.1mdk
- update to 20030513 CVS

* Tue May 13 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.1-2mdk
- adjust requires

* Tue May 13 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.1-1mdk
- new

* Wed Mar 27 2002 Alastair Tse <altse@cse.unsw.edu.au>
- Replaced edb-devel dependency
- magic.db files are out and filetypes.* files are in
- Moved libefsd.* around

* Wed May 16 2001 Christian Kreibich <cK@whoop.org>
- Initial spec file.