Accepting request 1082907 from home:jengelh:branches:X11:XOrg

- Update specfile constructs; run fdupes

OBS-URL: https://build.opensuse.org/request/show/1082907
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXevie?expand=0&rev=13
This commit is contained in:
Stefan Dirsch 2023-04-26 10:42:28 +00:00 committed by Git OBS Bridge
parent e878b51328
commit d8ef1bfc69
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@ -29,8 +29,8 @@ URL: http://wiki.freedesktop.org/wiki/Software/XEvIE
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXevie/
Source: http://xorg.freedesktop.org/archive/individual/lib/%name-%version.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: pkgconfig(evieproto)
BuildRequires: pkgconfig(x11)
@ -73,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