File epplet-base.spec of Package epplet-base

#
# spec file for package epplet-base (Version 0.10)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# 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 imlib2-devel jpeg libpng-devel libtiff-devel tiff
License:        GPLv2+
Group:          System/GUI/Other
AutoReqProv:    on
Summary:        Applets for the Enlightenment Window Manager
Version:        0.10
Release:        52
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
openSUSE Build Service is sponsored by