Accepting request 459221 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/459221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbluray?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2017-02-22 12:51:16 +00:00 committed by Git OBS Bridge
commit c276536ba6
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 13 09:12:25 UTC 2017 - jengelh@inai.de
- Rename %soname to %sover to better reflect its use.
Fix RPM groups.
-------------------------------------------------------------------
Sun Feb 12 14:45:53 UTC 2017 - pascal.bleser@opensuse.org

View File

@ -17,7 +17,7 @@
#
%define soname 1
%define sover 1
Name: libbluray
Version: 0.9.3
Release: 0
@ -42,18 +42,18 @@ This library is written for the purpose of playing Blu-ray movies. It is
intended for software that want to support Blu-ray playback (such as VLC and
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%package -n libbluray%{soname}
%package -n libbluray%{sover}
Summary: Library to access Blu-Ray disk
Group: Productivity/Multimedia/Other
Group: System/Libraries
%description -n libbluray%{soname}
%description -n libbluray%{sover}
This library is written for the purpose of playing Blu-ray movies. It is
intended for software that want to support Blu-ray playback (such as VLC and
MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%package tools
Summary: Library to access Blu-Ray disk - Utilities
Group: System/Libraries
Group: Productivity/Multimedia/Other
%description tools
This library is written for the purpose of playing Blu-ray movies. It is
@ -63,7 +63,7 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%package devel
Summary: Library to access Blu-Ray disks - Development files
Group: Development/Languages/C and C++
Requires: libbluray%{soname} = %{version}
Requires: libbluray%{sover} = %{version}
%description devel
This library is written for the purpose of playing Blu-ray movies. It is
@ -99,15 +99,15 @@ make %{?_smp_mflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libbluray%{soname} -p /sbin/ldconfig
%post -n libbluray%{sover} -p /sbin/ldconfig
%postun -n libbluray%{soname} -p /sbin/ldconfig
%postun -n libbluray%{sover} -p /sbin/ldconfig
%files tools
%defattr(-,root,root)
%{_bindir}/bd_info
%files -n libbluray%{soname}
%files -n libbluray%{sover}
%defattr(-, root, root)
%doc COPYING
%{_libdir}/libbluray.so.*