2007-01-16 00:11:41 +01:00
|
|
|
#
|
2011-10-04 16:56:19 +02:00
|
|
|
# spec file for package epplet-base
|
2007-01-16 00:11:41 +01:00
|
|
|
#
|
2014-08-20 10:51:01 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:11:41 +01:00
|
|
|
#
|
2009-04-16 01:20:09 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:11:41 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-20 21:19:56 +02:00
|
|
|
Url: http://www.enlightenment.org/
|
|
|
|
|
2007-01-16 00:11:41 +01:00
|
|
|
Name: epplet-base
|
2012-03-29 07:41:59 +02:00
|
|
|
BuildRequires: Mesa-devel
|
|
|
|
BuildRequires: esound-devel
|
|
|
|
BuildRequires: freeglut-devel
|
|
|
|
BuildRequires: gcc-c++
|
2014-08-20 10:51:01 +02:00
|
|
|
BuildRequires: imlib2-devel >= 1.2.0
|
2011-10-04 16:56:19 +02:00
|
|
|
BuildRequires: libtool
|
2014-08-20 10:51:01 +02:00
|
|
|
BuildRequires: pkg-config >= 0.9.0
|
2012-03-29 07:41:59 +02:00
|
|
|
Summary: Applets for the Enlightenment Window Manager
|
2011-12-06 18:08:23 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-16 00:11:41 +01:00
|
|
|
Group: System/GUI/Other
|
2008-04-20 21:19:56 +02:00
|
|
|
Version: 0.10
|
2012-03-29 07:41:59 +02:00
|
|
|
Release: 0
|
2007-01-16 00:11:41 +01:00
|
|
|
Source: epplets-%{version}.tar.bz2
|
|
|
|
Patch: epplets-unsuficient_include.patch
|
2012-03-29 07:41:59 +02:00
|
|
|
Patch1: epplet-base-linking.patch
|
2007-01-16 00:11:41 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n epplets-%{version}
|
|
|
|
%patch
|
2012-03-29 07:41:59 +02:00
|
|
|
%patch1 -p1
|
2007-01-16 00:11:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
|
|
|
CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fno-strict-aliasing" \
|
2008-06-23 21:20:24 +02:00
|
|
|
%configure --disable-static --with-pic --enable-fsstd
|
2011-10-04 16:56:19 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-06-23 21:20:24 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
export MALLOC_CHECK_=2
|
|
|
|
%{__make} check
|
|
|
|
unset MALLOC_CHECK_
|
2007-01-16 00:11:41 +01:00
|
|
|
|
|
|
|
%install
|
2008-06-23 21:20:24 +02:00
|
|
|
make DESTDIR=%{buildroot} libdir=%{_libdir} install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:11:41 +01:00
|
|
|
|
2008-06-23 21:20:24 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:11:41 +01:00
|
|
|
|
2008-06-23 21:20:24 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:11:41 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, 755)
|
2008-06-23 21:20:24 +02:00
|
|
|
%{_bindir}/E*epplet
|
|
|
|
%{_includedir}/epplet.h
|
|
|
|
%{_libdir}/libepplet*
|
|
|
|
%dir %{_datadir}/e16
|
|
|
|
%{_datadir}/e16/epplet_icons
|
|
|
|
%{_datadir}/e16/epplet_data
|
2007-01-16 00:11:41 +01:00
|
|
|
|
2008-04-20 21:19:56 +02:00
|
|
|
%changelog
|