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
|
|
|
#
|
2024-03-27 20:43:23 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
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.
|
|
|
|
|
2019-12-29 15:50:04 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:11:41 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: epplet-base
|
2024-03-27 20:43:23 +01:00
|
|
|
Version: 0.16
|
2019-12-29 15:50:04 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Applets for the Enlightenment DR16 Window Manager
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/GUI/Other
|
|
|
|
URL: https://www.enlightenment.org/
|
2024-03-27 20:43:23 +01:00
|
|
|
Source: e16-epplets-%{version}.tar.xz
|
2019-12-29 15:50:04 +01:00
|
|
|
Patch0: epplets-unsuficient_include.patch
|
2012-03-29 07:41:59 +02:00
|
|
|
BuildRequires: Mesa-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
|
2019-12-29 15:50:04 +01:00
|
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
|
|
BuildRequires: pkgconfig(xext)
|
2007-01-16 00:11:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Epplets are programs designed to work with the Enlightenment Window
|
2014-12-01 14:01:39 +01:00
|
|
|
Manager Version 0.16. Generally they are quite small and
|
2007-01-16 00:11:41 +01:00
|
|
|
provide a quick way for a user to perform simple tasks or view
|
|
|
|
information.
|
|
|
|
|
|
|
|
%prep
|
2024-03-27 20:43:23 +01:00
|
|
|
%autosetup -p0 -n e16-epplets-%{version}
|
2007-01-16 00:11:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf --force --install
|
2019-12-29 15:50:04 +01:00
|
|
|
CFLAGS="$CFLAGS %{optflags} -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
|
2019-12-29 15:50:04 +01:00
|
|
|
make %{?_smp_mflags} check
|
2008-06-23 21:20:24 +02:00
|
|
|
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
|
2019-12-29 15:50:04 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:11:41 +01:00
|
|
|
|
2008-06-23 21:20:24 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%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
|