- Minor cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libdvdread?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal 2019-08-14 08:34:58 +00:00 committed by Git OBS Bridge
parent de2f4dd64f
commit 4ff324f079
2 changed files with 15 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 14 08:34:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Minor cleanup with spec-cleaner
-------------------------------------------------------------------
Mon Apr 15 18:11:05 UTC 2019 - olaf@aepfle.de

View File

@ -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