From 4ff324f079eb6e05e2aac39b3d7a13f276854c00256b3eb74fe85c3bd9682348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 14 Aug 2019 08:34:58 +0000 Subject: [PATCH] - Minor cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdread?expand=0&rev=31 --- libdvdread.changes | 5 +++++ libdvdread.spec | 23 ++++++++++------------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/libdvdread.changes b/libdvdread.changes index cdc2d97..6478259 100644 --- a/libdvdread.changes +++ b/libdvdread.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 08:34:46 UTC 2019 - Tomáš Chvátal + +- Minor cleanup with spec-cleaner + ------------------------------------------------------------------- Mon Apr 15 18:11:05 UTC 2019 - olaf@aepfle.de diff --git a/libdvdread.spec b/libdvdread.spec index ec500b1..b29fb98 100644 --- a/libdvdread.spec +++ b/libdvdread.spec @@ -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/ # @@ -20,9 +20,9 @@ Name: libdvdread Version: 6.0.1 Release: 0 Summary: Library for Reading DVD Video Images -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Multimedia/Other -Url: https://www.videolan.org/developers/libdvdnav.html +URL: https://www.videolan.org/developers/libdvdnav.html Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring @@ -30,9 +30,8 @@ Source3: baselibs.conf BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(openssl) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains shared libraries for accessing DVD images (this @@ -64,28 +63,26 @@ libdvdread. %build autoreconf -fiv %configure \ - --disable-static \ - --with-pic -make %{?_smp_mflags} V=1 + --disable-silent-rules \ + --disable-static +make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print # We install the files on our own, using %%doc rm -rf %{buildroot}%{_datadir}/doc/libdvdread/ %post -n libdvdread4 -p /sbin/ldconfig - %postun -n libdvdread4 -p /sbin/ldconfig %files -n libdvdread4 -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README +%license COPYING +%doc AUTHORS NEWS README %{_libdir}/libdvdread.so.4 %{_libdir}/libdvdread.so.4.* %files devel -%defattr(-,root,root) %{_includedir}/dvdread %{_libdir}/libdvdread.so %{_libdir}/pkgconfig/dvdread.pc