Dominique Leuenberger 2023-04-27 17:59:29 +00:00 committed by Git OBS Bridge
commit 48301a48ff
2 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Apr 26 08:34:24 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update specfile constructs; run fdupes
-------------------------------------------------------------------
Tue Apr 25 14:22:03 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Add baselibs.conf as source in specfile.
-------------------------------------------------------------------
Thu Apr 11 11:35:34 UTC 2013 - mmeister@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libXevie
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# 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/
#
@ -23,13 +23,14 @@ Release: 0
Summary: X Event Interception Extension library
License: MIT
Group: Development/Libraries/C and C++
Url: http://wiki.freedesktop.org/wiki/Software/XEvIE
URL: http://wiki.freedesktop.org/wiki/Software/XEvIE
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXevie
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXevie/
Source: http://xorg.freedesktop.org/archive/individual/lib/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source1: baselibs.conf
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(evieproto)
BuildRequires: pkgconfig(x11)
@ -72,26 +73,25 @@ This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%autosetup
%build
%configure --disable-static
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR="%buildroot"
%make_install
rm -f "%buildroot/%_libdir"/*.la
%fdupes %buildroot/%_prefix
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXevie.so.1*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXevie.so
%_libdir/pkgconfig/xevie.pc