Hello community, here is the log from the commit of package dirac for openSUSE:Factory checked in at 2017-07-11 08:34:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dirac (Old) and /work/SRC/openSUSE:Factory/.dirac.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dirac" Tue Jul 11 08:34:32 2017 rev:26 rq:508148 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/dirac/dirac.changes 2015-05-29 09:50:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dirac.new/dirac.changes 2017-07-11 08:34:33.481704796 +0200 @@ -1,0 +2,10 @@ +Tue Jul 4 10:27:05 UTC 2017 - [email protected] + +- Cleanu pwith spec-cleaner +- Switch to upstream tarball instead of repacking +- Update dependencies to match reality +- Explicitely enable configuration switches +- Disable docu building as they are kinda empty unless we would + add latex and dot + +------------------------------------------------------------------- Old: ---- dirac-1.0.2.tar.bz2 New: ---- dirac-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dirac.spec ++++++ --- /var/tmp/diff_new_pack.g8wFBw/_old 2017-07-11 08:34:34.065622416 +0200 +++ /var/tmp/diff_new_pack.g8wFBw/_new 2017-07-11 08:34:34.069621851 +0200 @@ -1,7 +1,7 @@ # # spec file for package dirac # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,23 +19,19 @@ Name: dirac Version: 1.0.2 Release: 0 -Url: http://diracvideo.org/ Summary: The Dirac_Video Codec License: MPL-1.1 Group: Productivity/Multimedia/Video/Editors and Convertors -Source0: %{name}-%{version}.tar.bz2 +Url: https://sourceforge.net/projects/dirac/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: 0001-Fix-uninitialised-memory-read-that-causes-the-encode.patch Patch1: %{name}-%{version}-gcc45.patch -BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: graphviz-gd -BuildRequires: libcppunit-devel -BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cppunit) %description Dirac is an open source video codec. It uses a traditional hybrid video @@ -49,14 +45,6 @@ set for the encoder to work, such as block sizes and temporal prediction structures, which must otherwise be set by hand. -Dirac is intended to develop into real coding and decoding software, -capable of plugging into video processing applications and media -players that need compression. It is intended to develop into a simple -set of reliable but effective coding tools that work over a wide -variety of content and formats, using well-understood compression -techniques, in a clear and accessible software structure. It is not -intended as a demonstration or reference coder. - %package -n libdirac_decoder0 Summary: Dirac Video Codec Decoder Library Group: System/Libraries @@ -73,14 +61,6 @@ set for the encoder to work, such as block sizes and temporal prediction structures, which must otherwise be set by hand. -Dirac is intended to develop into real coding and decoding software, -capable of plugging into video processing applications and media -players that need compression. It is intended to develop into a simple -set of reliable but effective coding tools that work over a wide -variety of content and formats, using well-understood compression -techniques, in a clear and accessible software structure. It is not -intended as a demonstration or reference coder. - %package -n libdirac_encoder0 Summary: Dirac Video Codec Encoder Library Group: System/Libraries @@ -97,14 +77,6 @@ set for the encoder to work, such as block sizes and temporal prediction structures, which must otherwise be set by hand. -Dirac is intended to develop into real coding and decoding software, -capable of plugging into video processing applications and media -players that need compression. It is intended to develop into a simple -set of reliable but effective coding tools that work over a wide -variety of content and formats, using well-understood compression -techniques, in a clear and accessible software structure. It is not -intended as a demonstration or reference coder. - %package devel Summary: Development Files for Dirac Video Codec Group: Development/Libraries/C and C++ @@ -125,25 +97,6 @@ set for the encoder to work, such as block sizes and temporal prediction structures, which must otherwise be set by hand. -Dirac is intended to develop into real coding and decoding software, -capable of plugging into video processing applications and media -players that need compression. It is intended to develop into a simple -set of reliable but effective coding tools that work over a wide -variety of content and formats, using well-understood compression -techniques, in a clear and accessible software structure. It is not -intended as a demonstration or reference coder. - -%package doc -Summary: Dirac Video Codec api documentation -Group: Documentation/HTML -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif - -%description doc -This package provides the api reference documentation for using dirac libraries -in your program. - %prep %setup -q %patch0 -p1 @@ -152,58 +105,39 @@ sed -i 's/-Werror//' configure.ac %build -# fix build in disabling as-needed -export SUSE_ASNEEDED=0 -ACLOCAL="aclocal -I m4" autoreconf -f -i -%if %suse_version == 1100 -%ifarch x86_64 -export CXXFLAGS="$RPM_OPT_FLAGS -O0" -%endif -%endif -%configure\ +ACLOCAL="aclocal -I m4" autoreconf -fvi +%configure \ + --disable-silent-rules \ --disable-static \ - --docdir=%{_docdir}/packages/%{name} + --docdir=%{_docdir}/packages/%{name} \ + --enable-mmx \ + --enable-overlay make %{?_smp_mflags} -#htmldir=%{_docdir}/%{name}/code/api_html %install -%makeinstall htmldir=%{_docdir}/%{name}/code/api_html -%{__rm} -f %{buildroot}%{_libdir}/*.la -%{__cp} -a AUTHORS COPYING ChangeLog NEWS README TODO %{buildroot}%{_docdir}/%{name}/ +%make_install htmldir=%{_docdir}/%{name}/code/api_html +# remove the docs we want with main pkg +find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot}%{_docdir}/%{name} %post -n libdirac_decoder0 -p /sbin/ldconfig - %postun -n libdirac_decoder0 -p /sbin/ldconfig - %post -n libdirac_encoder0 -p /sbin/ldconfig - %postun -n libdirac_encoder0 -p /sbin/ldconfig %files -%defattr (-, root, root) -#%%doc AUTHORS COPYING ChangeLog NEWS README TODO -#%%doc %{_docdir}/%{name}/[ACNRT]* +%doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/* %files -n libdirac_decoder0 -%defattr (-, root, root) %{_libdir}/libdirac_decoder.so.0* %files -n libdirac_encoder0 -%defattr (-, root, root) %{_libdir}/libdirac_encoder.so.0* %files devel -%defattr (-, root, root) -#%%doc %{_docdir}/%{name}/[ACNRT]* %{_libdir}/*.so -#%{_libdir}/*.*a %{_libdir}/pkgconfig/*.pc %{_includedir}/%{name} -%files doc -%defattr (-, root, root) -%doc %{_docdir}/%{name} - %changelog
