Accepting request 723233 from multimedia:libs

- Minor cleanup with spec-cleaner

- Point URL to videolan.org

OBS-URL: https://build.opensuse.org/request/show/723233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdvdread?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2019-08-16 13:32:00 +00:00 committed by Git OBS Bridge
commit 8e389812e7
2 changed files with 20 additions and 13 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- Point URL to videolan.org
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 18 21:39:22 UTC 2019 - enzokiel@kabelmail.de Mon Feb 18 21:39:22 UTC 2019 - enzokiel@kabelmail.de

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Version: 6.0.1
Release: 0 Release: 0
Summary: Library for Reading DVD Video Images Summary: Library for Reading DVD Video Images
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other Group: Productivity/Multimedia/Other
Url: http://www.mplayerhq.hu/ URL: https://www.videolan.org/developers/libdvdnav.html
Source0: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 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 Source1: http://download.videolan.org/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2.asc
Source2: %{name}.keyring Source2: %{name}.keyring
@ -30,9 +30,8 @@ Source3: baselibs.conf
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This package contains shared libraries for accessing DVD images (this This package contains shared libraries for accessing DVD images (this
@ -64,28 +63,26 @@ libdvdread.
%build %build
autoreconf -fiv autoreconf -fiv
%configure \ %configure \
--disable-static \ --disable-silent-rules \
--with-pic --disable-static
make %{?_smp_mflags} V=1 make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
# We install the files on our own, using %%doc # We install the files on our own, using %%doc
rm -rf %{buildroot}%{_datadir}/doc/libdvdread/ rm -rf %{buildroot}%{_datadir}/doc/libdvdread/
%post -n libdvdread4 -p /sbin/ldconfig %post -n libdvdread4 -p /sbin/ldconfig
%postun -n libdvdread4 -p /sbin/ldconfig %postun -n libdvdread4 -p /sbin/ldconfig
%files -n libdvdread4 %files -n libdvdread4
%defattr(-,root,root) %license COPYING
%doc AUTHORS COPYING NEWS README %doc AUTHORS NEWS README
%{_libdir}/libdvdread.so.4 %{_libdir}/libdvdread.so.4
%{_libdir}/libdvdread.so.4.* %{_libdir}/libdvdread.so.4.*
%files devel %files devel
%defattr(-,root,root)
%{_includedir}/dvdread %{_includedir}/dvdread
%{_libdir}/libdvdread.so %{_libdir}/libdvdread.so
%{_libdir}/pkgconfig/dvdread.pc %{_libdir}/pkgconfig/dvdread.pc