SHA256
1
0
forked from pool/libquicktime

Accepting request 458562 from home:jengelh:branches:multimedia:libs

- Rename %soname to %sover to better reflect its use.
  Correct RPM group.

OBS-URL: https://build.opensuse.org/request/show/458562
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=66
This commit is contained in:
OBS User mrdocs 2017-02-19 04:34:57 +00:00 committed by Git OBS Bridge
parent b5487635f3
commit 9d3a2c670d
2 changed files with 18 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 16 18:56:46 UTC 2017 - jengelh@inai.de
- Rename %soname to %sover to better reflect its use.
Correct RPM group.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 14 11:11:34 UTC 2017 - kstreitova@suse.com Tue Feb 14 11:11:34 UTC 2017 - kstreitova@suse.com

View File

@ -22,7 +22,7 @@
%bcond_with lame %bcond_with lame
%bcond_with x264 %bcond_with x264
%define soname 0 %define sover 0
%define cvs 20150223 %define cvs 20150223
Name: libquicktime Name: libquicktime
Version: 1.2.4cvs%{cvs} Version: 1.2.4cvs%{cvs}
@ -30,7 +30,7 @@ Release: 0
#to_be_filled_by_service #to_be_filled_by_service
Summary: Library for Reading and Writing Quicktime Movie Files Summary: Library for Reading and Writing Quicktime Movie Files
License: GPL-2.0+ License: GPL-2.0+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://libquicktime.sf.net Url: http://libquicktime.sf.net
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Source1: COPYING Source1: COPYING
@ -78,21 +78,21 @@ BuildRequires: libx264-devel
A library for reading and writing Quicktime movie files, based on and A library for reading and writing Quicktime movie files, based on and
forked from quicktime4linux. forked from quicktime4linux.
%package -n %{name}%{soname} %package -n %{name}%{sover}
Summary: Library for Reading and Writing Quicktime Movie Files Summary: Library for Reading and Writing Quicktime Movie Files
Group: System/Libraries
# Last version with this name was openSUSE 11.4 # Last version with this name was openSUSE 11.4
Group: System/Libraries
Provides: libquicktime = %{version}-%{release} Provides: libquicktime = %{version}-%{release}
Obsoletes: libquicktime <= 1.2.2 Obsoletes: libquicktime <= 1.2.2
%description -n %{name}%{soname} %description -n %{name}%{sover}
A library for reading and writing Quicktime movie files, based on and A library for reading and writing Quicktime movie files, based on and
forked from quicktime4linux. forked from quicktime4linux.
%package -n libquicktime-devel %package -n libquicktime-devel
Summary: Library for reading/writing quicktime movie files Summary: Library for reading/writing quicktime movie files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version} Requires: %{name}%{sover} = %{version}
%description -n libquicktime-devel %description -n libquicktime-devel
library for reading/writing quicktime movie files, based on and forked library for reading/writing quicktime movie files, based on and forked
@ -101,7 +101,7 @@ from quicktime4linux
%package -n libquicktime-tools %package -n libquicktime-tools
Summary: Libquicktime Tools Summary: Libquicktime Tools
Group: Productivity/Multimedia/Video/Editors and Convertors Group: Productivity/Multimedia/Video/Editors and Convertors
Requires: %{name}%{soname} = %{version} Requires: %{name}%{sover} = %{version}
%description -n libquicktime-tools %description -n libquicktime-tools
Tools for reading/writing quicktime movie files. Tools for reading/writing quicktime movie files.
@ -133,15 +133,15 @@ ln -s lqt "%{buildroot}%{_includedir}/quicktime"
%find_lang libquicktime %find_lang libquicktime
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%post -n libquicktime%{soname} -p /sbin/ldconfig %post -n libquicktime%{sover} -p /sbin/ldconfig
%postun -n libquicktime%{soname} -p /sbin/ldconfig %postun -n libquicktime%{sover} -p /sbin/ldconfig
%files -n libquicktime%{soname} -f libquicktime.lang %files -n libquicktime%{sover} -f libquicktime.lang
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc COPYING ChangeLog README TODO %doc COPYING ChangeLog README TODO
%{_libdir}/libquicktime.so.%{soname} %{_libdir}/libquicktime.so.%{sover}
%{_libdir}/libquicktime.so.%{soname}.*.* %{_libdir}/libquicktime.so.%{sover}.*.*
%dir %{_libdir}/libquicktime %dir %{_libdir}/libquicktime
%{_libdir}/libquicktime/lqt_audiocodec.so %{_libdir}/libquicktime/lqt_audiocodec.so
%{_libdir}/libquicktime/lqt_dv.so %{_libdir}/libquicktime/lqt_dv.so