File epplet-base.spec of Package epplet-base

#
# spec file for package epplet-base (Version 0.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Url:            http://www.enlightenment.org/

Name:           epplet-base
BuildRequires:  Mesa-devel esound-devel freeglut-devel gcc-c++ giflib-devel gtk-devel imlib-devel imlib2-devel jpeg libpng-devel libtiff-devel tiff
License:        GPL v2 or later
Group:          System/GUI/Other
AutoReqProv:    on
Summary:        Applets for the Enlightenment Window Manager
Version:        0.10
Release:        16
Source:         epplets-%{version}.tar.bz2
Patch:          epplets-unsuficient_include.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Epplets are programs designed to work with the Enlightenment Window
Manager Versions 0.16 and above.  Generally they are quite small and
provide a quick way for a user to perform simple tasks or view
information.



Authors:
--------
    Geoff Harrison <mandrake@mandrake.net>
    Tom Gilbert <tom@tomgilbert.freeserve.co.uk>
    Michael Lea <mikelea@charm.net>
    Roberto Machorro <rmach@bigfoot.com>

%prep
%setup -q -n epplets-%{version}
%patch 

%build
autoreconf --force --install
CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure --disable-static --with-pic --enable-fsstd
%{__make} %{?jobs:-j%jobs}

%check
export MALLOC_CHECK_=2
%{__make} check
unset MALLOC_CHECK_

%install
make DESTDIR=%{buildroot} libdir=%{_libdir} install
rm -f %{buildroot}%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, 755)
%{_bindir}/E*epplet
%{_includedir}/epplet.h
%{_libdir}/libepplet*
%dir %{_datadir}/e16
%{_datadir}/e16/epplet_icons
%{_datadir}/e16/epplet_data

%changelog
* Fri Jun 13 2008 crrodriguez@suse.de
- disable unusable static libraries
* Thu Apr 17 2008 matejcik@suse.cz
- update to 0.10
  * mostly cleanup and bugfixes
* Thu Dec 14 2006 ro@suse.de
- move from usr/X11R6 to usr
* Fri Sep 08 2006 pnemec@suse.cz
- fix gcc warning in E-memwatch plugin
* Fri Jul 28 2006 ro@suse.de
- added Mesa-devel to BuildRequires
* Wed Jul 12 2006 pnemec@suse.cz
- updated to version 0.9
  cleaned specs and configs
  fixed memory leaks
- added patch to fix not included library
  (epplets-unsuficient_include.patch)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 19 2005 pnemec@suse.cz
- fix gcc warnings
* Thu Apr 14 2005 sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Tue Apr 27 2004 ro@suse.de
- use -fno-strict-aliasing
* Sat Jan 10 2004 adrian@suse.de
- add %%run_ldconfig
* Mon Jun 16 2003 kukuk@suse.de
- Add missing directories to filelist
* Mon Sep 23 2002 pmladek@suse.cz
- added alsa and alsa-devel to neededforbuild because of esound
* Fri Jul 26 2002 adrian@suse.de
- fix neededforbuild
* Wed May 08 2002 mfabian@suse.de
- use %%{_lib} to make it build on x86_64
* Thu Apr 25 2002 ro@suse.de
- fix for automake-1.6 (remove duplicated lines in Makefile.am)
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Thu May 10 2001 mfabian@suse.de
- bzip2 sources
* Thu Feb 01 2001 violiet@suse.de
- added SuSE series: xap
* Sat Jan 27 2001 violiet@suse.de
- NEW epplet-base package version to 0.5
openSUSE Build Service is sponsored by