Hello community,

here is the log from the commit of package mjpegtools for openSUSE:Factory 
checked in at 2018-03-01 12:04:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mjpegtools (Old)
 and      /work/SRC/openSUSE:Factory/.mjpegtools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mjpegtools"

Thu Mar  1 12:04:03 2018 rev:50 rq:580789 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mjpegtools/mjpegtools.changes    2018-02-25 
11:34:36.983493135 +0100
+++ /work/SRC/openSUSE:Factory/.mjpegtools.new/mjpegtools.changes       
2018-03-01 12:04:08.409997327 +0100
@@ -1,0 +2,14 @@
+Tue Feb 27 09:56:24 UTC 2018 - bjorn....@gmail.com
+
+- Split libmjpegutils-2_0-0 to follow openSUSE recommended
+  guidelines for libs:
+  + liblavfile-2_0-0
+  + liblavjpeg-2_0-0
+  + liblavplay-2_0-0
+  + liblavrec-2_0-0
+  + libmplex2-2_0-0
+  + libmpeg2encpp-2_0-0
+- Run spec-cleaner, modernize spec slightly.
+- Drop libmpeg2encpp-2_0-0 Obsoletes, package is added back.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mjpegtools.spec ++++++
--- /var/tmp/diff_new_pack.4nquqx/_old  2018-03-01 12:04:09.213968485 +0100
+++ /var/tmp/diff_new_pack.4nquqx/_new  2018-03-01 12:04:09.217968342 +0100
@@ -20,7 +20,7 @@
 Version:        2.0.0
 Release:        0
 Summary:        MJPEG Video Capture and Processing Tools
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Multimedia/Video/Editors and Convertors
 Url:            http://mjpeg.sourceforge.net/
 Source:         
http://sourceforge.net/projects/mjpeg/files/mjpegtools/%{version}/mjpegtools-%{version}.tar.gz
@@ -40,7 +40,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(SDL_gfx)
 BuildRequires:  pkgconfig(libdv)
 BuildRequires:  pkgconfig(libpng) >= 1.4
@@ -63,7 +63,6 @@
 %package -n libmjpegutils-2_0-0
 Summary:        MJPEG Video Capture and Processing Tools
 Group:          System/Libraries
-Obsoletes:      libmpeg2encpp-2_0-0
 
 %description -n libmjpegutils-2_0-0
 The mjpegtools allow for capture, playback, processing, and simple
@@ -72,10 +71,82 @@
 zoran-driver package), but the processing tools can be used with MJPEG
 data from other sources as well.
 
+%package -n liblavfile-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n liblavfile-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
+%package -n liblavjpeg-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n liblavjpeg-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
+%package -n liblavplay-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n liblavplay-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
+%package -n liblavrec-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n liblavrec-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
+%package -n libmplex2-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n libmplex2-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
+%package -n libmpeg2encpp-2_0-0
+Summary:        MJPEG Video Capture and Processing Tools
+Group:          System/Libraries
+
+%description -n libmpeg2encpp-2_0-0
+The mjpegtools allow for capture, playback, processing, and simple
+editing of MJPEG AV data. The hardware I/O applications are intended
+for use with Zoran MJPEG framegrabber-based hardware (see the
+zoran-driver package), but the processing tools can be used with MJPEG
+data from other sources as well.
+
 %package -n libmjpegutils-devel
 Summary:        MJPEG Video Capture and Processing Tools
 Group:          Development/Libraries/C and C++
+Requires:       liblavfile-2_0-0 = %{version}
+Requires:       liblavjpeg-2_0-0 = %{version}
+Requires:       liblavplay-2_0-0 = %{version}
+Requires:       liblavrec-2_0-0 = %{version}
 Requires:       libmjpegutils-2_0-0 = %{version}
+Requires:       libmpeg2encpp-2_0-0 = %{version}
+Requires:       libmplex2-2_0-0 = %{version}
 Provides:       mjpegtools-devel = %{version}
 Obsoletes:      mjpegtools-devel < %{version}
 
@@ -104,12 +175,17 @@
 %ifarch ppc ppc64
 EXTRAOPTS="--disable-simd-accel"
 %endif
-%configure --disable-static --disable-arch_tuning $EXTRAOPTS --without-gtk
+%configure \
+       --disable-static \
+       --disable-arch_tuning \
+       --without-gtk \
+       $EXTRAOPTS \
+       %{nil}
 make %{?_smp_mflags}
 
 %install
 %make_install
-rm %{buildroot}%{_libdir}/lib*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/mjpeg-howto.info%{ext_info}
@@ -120,26 +196,53 @@
 %post -n libmjpegutils-2_0-0 -p /sbin/ldconfig
 %postun -n libmjpegutils-2_0-0 -p /sbin/ldconfig
 
+%post -n liblavfile-2_0-0 -p /sbin/ldconfig
+%postun -n liblavfile-2_0-0 -p /sbin/ldconfig
+
+%post -n liblavjpeg-2_0-0 -p /sbin/ldconfig
+%postun -n liblavjpeg-2_0-0 -p /sbin/ldconfig
+
+%post -n liblavplay-2_0-0 -p /sbin/ldconfig
+%postun -n liblavplay-2_0-0 -p /sbin/ldconfig
+
+%post -n liblavrec-2_0-0 -p /sbin/ldconfig
+%postun -n liblavrec-2_0-0 -p /sbin/ldconfig
+
+%post -n libmplex2-2_0-0 -p /sbin/ldconfig
+%postun -n libmplex2-2_0-0 -p /sbin/ldconfig
+
+%post -n libmpeg2encpp-2_0-0 -p /sbin/ldconfig
+%postun -n libmpeg2encpp-2_0-0 -p /sbin/ldconfig
+
 %files
-%defattr(0644, root, root, 0755)
 %attr(0755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1%{ext_man}
-%{_mandir}/man5/*.5%{ext_man}
+%doc AUTHORS BUGS CHANGES HINTS NEWS PLANS README* TODO
+%{_mandir}/man?/*.?%{ext_man}
 %{_infodir}/mjpeg-howto.info%{ext_info}
 
 %files -n libmjpegutils-2_0-0
-%defattr(0644, root, root, 0755)
-%doc AUTHORS BUGS CHANGES COPYING HINTS NEWS PLANS README* TODO
+%license COPYING
+%{_libdir}/libmjpegutils-%{lib_version}.so.*
+
+%files -n liblavfile-2_0-0
 %{_libdir}/liblavfile-%{lib_version}.so.*
+
+%files -n liblavjpeg-2_0-0
 %{_libdir}/liblavjpeg-%{lib_version}.so.*
+
+%files -n liblavplay-2_0-0
 %{_libdir}/liblavplay-%{lib_version}.so.*
+
+%files -n liblavrec-2_0-0
 %{_libdir}/liblavrec-%{lib_version}.so.*
-%{_libdir}/libmjpegutils-%{lib_version}.so.*
+
+%files -n libmplex2-2_0-0
 %{_libdir}/libmplex2-%{lib_version}.so.*
+
+%files -n libmpeg2encpp-2_0-0
 %{_libdir}/libmpeg2encpp-%{lib_version}.so.*
 
 %files -n libmjpegutils-devel
-%defattr(0644, root, root, 0755)
 %{_includedir}/mjpegtools/
 %{_libdir}/liblavfile.so
 %{_libdir}/liblavjpeg.so


Reply via email to