Sophie

Sophie

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

Epplets-0.5-8mdk.src.rpm

Name: Epplets
Summary: Applets for enlightenment
Version: 0.5
Release: 8mdk
Source: %{name}-%{version}.tar.bz2 
Group: Graphical desktop/Enlightenment
URL: http://www.enlightenment.org
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires:	ImageMagick
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	gcc
BuildRequires:	libesound0-devel
BuildRequires:	libimlib1-devel
BuildRequires:	texinfo
License: GPL
Prefix: /usr
%description
An epplet is an applet designed specificly for use with enlightenment
This packages contains several, two cpu load meters, two clocks, a network
load monitor, aswell as a E-Biff

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%build
export EROOT=%{prefix}/share/enlightenment
export EBIN=%{prefix}/bin
libtoolize --copy --force
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
	--prefix=%{prefix} --enable-fsstd

perl -p -i -e 's/ppp0/lo/g' epplets/E-NetGraph.c

%make

%install
mkdir -p $RPM_BUILD_ROOT/%{prefix}
export EROOT=$RPM_BUILD_ROOT%{prefix}/share/enlightenment
export EBIN=$RPM_BUILD_ROOT%{prefix}/bin
#perl -p -i -e 's/\$\(EROOT\)\//\$\(DESTDIR\)\/\$\(EROOT\)\//g' epplets/Makefile
make install DESTDIR=$RPM_BUILD_ROOT

cd $RPM_BUILD_ROOT/usr/share/enlightenment/epplet_icons
for f in `find . -name '*.icon'`; do
  convert -geometry 16x16 $f $f.png
  mv -f $f.png $f
done

%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}

%files
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/*
%{_libdir}/*
%{_datadir}/enlightenment/*

%changelog
* Fri Jan 11 2002 Stefan van der Eijk <stefan@eijk.nu> 0.5-8mdk
- BuildRequires

* Sun Dec  2 2001 Stefan van der Eijk <stefan@eijk.nu> 0.5-7mdk
- Copyright --> License
- fix %files section (this packages doen't own /usr/bin, etc)
- Capitalize %%description (rpmlint)
- fix permisions on source + .spec file (rpmlint)
- change name of .spec file (rpmlint)

* Mon Jul  2 2001 Matthias Badaire <mbadaire@mandrakesoft.com> 0.5-6mdk
- libtoolization and make macro

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.5-5mdk
- automatically added BuildRequires

* Fri May  5 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.5-4mdk
- clean spec.
- resize icons to fit in menu.

* Wed Apr 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.5-3mdk
- fixed group.

* Wed Dec 15 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- Ooops, do not install files to /home (bad bad axalon)

* Tue Nov 23 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- 0.5
- rpmlint says strip, we strip
- patch E-NetGraph to default to loopback so it doesn't just exit

* Sun Oct 24 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- Make a specfile..