From 442a2107d10d3b52db4648a798203b1d274900630a0b480e6d76ab9a1f587ed0 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 29 Dec 2019 14:50:04 +0000 Subject: [PATCH] Accepting request 759835 from X11:windowmanagers OBS-URL: https://build.opensuse.org/request/show/759835 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epplet-base?expand=0&rev=22 --- epplet-base.changes | 6 ++++++ epplet-base.spec | 36 +++++++++++++++++------------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/epplet-base.changes b/epplet-base.changes index 1ce3bb3..5c4f7c1 100644 --- a/epplet-base.changes +++ b/epplet-base.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 7 15:52:14 UTC 2019 - Christophe Giboudeaux + +- Add the missing Xext build dependency +- Run spec-cleaner + ------------------------------------------------------------------- Wed Sep 27 17:36:52 UTC 2017 - dimstar@opensuse.org diff --git a/epplet-base.spec b/epplet-base.spec index 6bae70d..06c4c52 100644 --- a/epplet-base.spec +++ b/epplet-base.spec @@ -1,7 +1,7 @@ # # spec file for package epplet-base # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,28 +12,27 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Url: http://www.enlightenment.org/ - Name: epplet-base +Version: 0.10 +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/ +Source: epplets-%{version}.tar.bz2 +Patch0: epplets-unsuficient_include.patch +Patch1: epplet-base-linking.patch BuildRequires: Mesa-devel BuildRequires: freeglut-devel BuildRequires: gcc-c++ BuildRequires: imlib2-devel >= 1.2.0 BuildRequires: libtool -BuildRequires: pkg-config >= 0.9.0 -Summary: Applets for the Enlightenment DR16 Window Manager -License: GPL-2.0+ -Group: System/GUI/Other -Version: 0.10 -Release: 0 -Source: epplets-%{version}.tar.bz2 -Patch: epplets-unsuficient_include.patch -Patch1: epplet-base-linking.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: pkgconfig(xext) %description Epplets are programs designed to work with the Enlightenment Window @@ -43,26 +42,25 @@ information. %prep %setup -q -n epplets-%{version} -%patch +%patch0 %patch1 -p1 %build autoreconf --force --install -CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fno-strict-aliasing" \ +CFLAGS="$CFLAGS %{optflags} -fno-strict-aliasing" \ %configure --disable-static --with-pic --enable-fsstd make %{?_smp_mflags} %check export MALLOC_CHECK_=2 -%{__make} check +make %{?_smp_mflags} check unset MALLOC_CHECK_ %install make DESTDIR=%{buildroot} libdir=%{_libdir} install -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files