forked from pool/libquicktime
Accepting request 482673 from home:Zaitor:branches:multimedia:libs
Suggest change, how this affects 3'd party repos like packman has to taken into account, but I think it should be fine, however maintainers have to decide this. OBS-URL: https://build.opensuse.org/request/show/482673 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=68
This commit is contained in:
parent
9d3a2c670d
commit
b128aa9284
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 25 21:11:11 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Move unversioned so files to previously not built main package.
|
||||||
|
- Following this, split out a new sub-package
|
||||||
|
libquicktime-orig-addon, built depending on macro BUILD_ORIG.
|
||||||
|
- Split out a new lang subpackage.
|
||||||
|
- Stop providing/obsoleting libquicktime last available in openSUSE
|
||||||
|
11.4.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 16 18:56:46 UTC 2017 - jengelh@inai.de
|
Thu Feb 16 18:56:46 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ BuildRequires: pkgconfig(xext)
|
|||||||
BuildRequires: pkgconfig(xt)
|
BuildRequires: pkgconfig(xt)
|
||||||
BuildRequires: pkgconfig(xv)
|
BuildRequires: pkgconfig(xv)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?BUILD_ORIG}
|
||||||
%if %{with faac}
|
%if %{with faac}
|
||||||
BuildRequires: libfaac-devel
|
BuildRequires: libfaac-devel
|
||||||
%endif
|
%endif
|
||||||
@ -73,17 +74,25 @@ BuildRequires: libmp3lame-devel
|
|||||||
%if %{with x264}
|
%if %{with x264}
|
||||||
BuildRequires: libx264-devel
|
BuildRequires: libx264-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
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.
|
||||||
|
|
||||||
|
%if 0%{?BUILD_ORIG}
|
||||||
|
%package orig-addon
|
||||||
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description orig-addon
|
||||||
|
A library for reading and writing Quicktime movie files, based on and
|
||||||
|
forked from quicktime4linux.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package -n %{name}%{sover}
|
%package -n %{name}%{sover}
|
||||||
Summary: Library for Reading and Writing Quicktime Movie Files
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
||||||
# Last version with this name was openSUSE 11.4
|
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: libquicktime = %{version}-%{release}
|
|
||||||
Obsoletes: libquicktime <= 1.2.2
|
|
||||||
|
|
||||||
%description -n %{name}%{sover}
|
%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
|
||||||
@ -92,7 +101,11 @@ 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} = %{version}
|
||||||
Requires: %{name}%{sover} = %{version}
|
Requires: %{name}%{sover} = %{version}
|
||||||
|
%if 0%{?BUILD_ORIG}
|
||||||
|
Requires: %{name}-orig-addon = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
%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,11 +114,17 @@ 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} = %{version}
|
||||||
Requires: %{name}%{sover} = %{version}
|
Requires: %{name}%{sover} = %{version}
|
||||||
|
%if 0%{?BUILD_ORIG}
|
||||||
|
Requires: %{name}-orig-addon = %{version}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n libquicktime-tools
|
%description -n libquicktime-tools
|
||||||
Tools for reading/writing quicktime movie files.
|
Tools for reading/writing quicktime movie files.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -130,18 +149,16 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
ln -s lqt "%{buildroot}%{_includedir}/quicktime"
|
ln -s lqt "%{buildroot}%{_includedir}/quicktime"
|
||||||
%find_lang libquicktime
|
%find_lang %{name} %{?no_lang_C}
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libquicktime%{sover} -p /sbin/ldconfig
|
%post -n libquicktime%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libquicktime%{sover} -p /sbin/ldconfig
|
%postun -n libquicktime%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libquicktime%{sover} -f libquicktime.lang
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%doc COPYING ChangeLog README TODO
|
%doc ChangeLog README TODO
|
||||||
%{_libdir}/libquicktime.so.%{sover}
|
|
||||||
%{_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
|
||||||
@ -154,6 +171,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%if %{with ffmpeg}
|
%if %{with ffmpeg}
|
||||||
%{_libdir}/libquicktime/lqt_ffmpeg.so
|
%{_libdir}/libquicktime/lqt_ffmpeg.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?BUILD_ORIG}
|
||||||
|
%files orig-addon
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
%if %{with faac}
|
%if %{with faac}
|
||||||
%{_libdir}/libquicktime/lqt_faac.so
|
%{_libdir}/libquicktime/lqt_faac.so
|
||||||
%endif
|
%endif
|
||||||
@ -166,6 +187,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%if %{with x264}
|
%if %{with x264}
|
||||||
%{_libdir}/libquicktime/lqt_x264.so
|
%{_libdir}/libquicktime/lqt_x264.so
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n libquicktime%{sover}
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc COPYING
|
||||||
|
%{_libdir}/libquicktime.so.%{sover}
|
||||||
|
%{_libdir}/libquicktime.so.%{sover}.*.*
|
||||||
|
|
||||||
%files -n libquicktime-devel
|
%files -n libquicktime-devel
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -190,4 +218,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_bindir}/qtyuv4toyuv
|
%{_bindir}/qtyuv4toyuv
|
||||||
%{_mandir}/man1/lqtplay.1%{ext_man}
|
%{_mandir}/man1/lqtplay.1%{ext_man}
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user