Accepting request 554549 from home:elvigia:branches:multimedia:apps

- BuildRequire pkgconfig(x11) instead of xorg-x11-devel

OBS-URL: https://build.opensuse.org/request/show/554549
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/zvbi?expand=0&rev=17
This commit is contained in:
Martin Pluskal 2017-12-06 07:36:07 +00:00 committed by Git OBS Bridge
parent e11b20a410
commit 60652fb342
2 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 5 15:28:02 UTC 2017 - crrodriguez@opensuse.org
- BuildRequire pkgconfig(x11) instead of xorg-x11-devel
-------------------------------------------------------------------
Tue Sep 24 15:48:07 UTC 2013 - stephan.barth@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package zvbi
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@ BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: xorg-x11-devel
BuildRequires: pkgconfig(x11)
Url: http://zapping.sf.net/
Version: 0.2.35
Release: 0
@ -32,6 +32,7 @@ Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Patch2: zvbi-automake-1.13.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{!?make_build:%define make_build %{__make} -O %{?_smp_mflags}}
%description
With "video4linux" drivers only one application at a time can capture
@ -72,12 +73,8 @@ sliced VBI data, and to interpret the data of several popular services.
%build
ACLOCAL="aclocal -I m4" autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--disable-static
make
%configure --disable-static
%make_build
%install
make DESTDIR="%{buildroot}" install