[zoneminder] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit 39795b6579d217bf45ca77d3f14af338197a606d
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 16:39:57 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
zoneminder.spec | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/zoneminder.spec b/zoneminder.spec
index de1d408..4a1cb64 100644
--- a/zoneminder.spec
+++ b/zoneminder.spec
@@ -26,9 +26,8 @@
Name: zoneminder
Version: 1.32.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A camera monitoring and analysis tool
-Group: System Environment/Daemons
# Mootools is inder the MIT license: http://mootools.net/
# CakePHP is under the MIT license: https://github.com/cakephp/cakephp
# Crud is under the MIT license: https://github.com/FriendsOfCake/crud
@@ -44,7 +43,7 @@ BuildRequires: systemd-devel
BuildRequires: mariadb-devel
BuildRequires: perl-podlators
BuildRequires: polkit-devel
-BuildRequires: cmake >= 2.8.7
+BuildRequires: cmake3
BuildRequires: gnutls-devel
BuildRequires: bzip2-devel
BuildRequires: pcre-devel
@@ -149,7 +148,7 @@ too much degradation of performance.
./utils/zmeditconfigdata.sh ZM_OPT_FAST_DELETE no
%build
-%cmake \
+%cmake3 \
-DZM_WEB_USER="%{zmuid_final}" \
-DZM_WEB_GROUP="%{zmuid_final}" \
-DZM_TARGET_DISTRO="%{zmtargetdistro}" \
@@ -320,6 +319,10 @@ EOF
%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/run/zoneminder
%changelog
+* Tue Nov 13 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 1.32.2-2
+- Rebuild for ffmpeg-3.4.5 on el7
+- Use CMake3
+
* Sat Oct 13 2018 Andrew Bauer <zonexpertconsulting(a)outlook.com> - 1.32.2-1
- 1.32.2 release
- Bug fix release
5 years, 11 months
[libopenshot/el7: 10/10] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit c8086cfdf5d3ccd05445837a08ac1bdf34503fdc
Merge: 62cd977 cb03aef
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 16:09:34 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
.gitignore | 1 +
libopenshot-fix-tests.patch | 60 +++++++++++++++++++++++++++++++++++
libopenshot-fix_swig_variable.patch | 22 +++++++++++++
libopenshot.spec | 62 ++++++++++++++++++++++++++++---------
sources | 2 +-
5 files changed, 132 insertions(+), 15 deletions(-)
---
5 years, 11 months
[libopenshot] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit cb03aef8d9d0118697c697295734f0a9b8d1be47
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 15:28:55 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
libopenshot-fix_swig_variable.patch | 22 ++++++++++++++++++++++
libopenshot.spec | 36 +++++++++++++++++++++++-------------
2 files changed, 45 insertions(+), 13 deletions(-)
---
diff --git a/libopenshot-fix_swig_variable.patch b/libopenshot-fix_swig_variable.patch
new file mode 100644
index 0000000..db652f8
--- /dev/null
+++ b/libopenshot-fix_swig_variable.patch
@@ -0,0 +1,22 @@
+--- a/src/bindings/python/CMakeLists.orig.txt 2018-09-22 21:47:46.000000000 +0200
++++ b/src/bindings/python/CMakeLists.txt 2018-11-13 13:09:27.760834443 +0100
+@@ -43,7 +43,7 @@
+ SET(CMAKE_SWIG_FLAGS "")
+
+ ### Add the SWIG interface file (which defines all the SWIG methods)
+- SWIG_ADD_MODULE(openshot python openshot.i)
++ SWIG_ADD_LIBRARY (openshot LANGUAGE python SOURCES openshot.i TYPE MODULE)
+
+ ### Link the new python wrapper library with libopenshot
+ SWIG_LINK_LIBRARIES(openshot ${PYTHON_LIBRARIES} openshot)
+--- a/src/bindings/ruby/CMakeLists.orig.txt 2018-09-22 21:47:46.000000000 +0200
++++ a/src/bindings/ruby/CMakeLists.txt 2018-11-13 13:15:24.840214955 +0100
+@@ -41,7 +41,7 @@
+ SET(CMAKE_SWIG_FLAGS "")
+
+ ### Add the SWIG interface file (which defines all the SWIG methods)
+- SWIG_ADD_MODULE(rbopenshot ruby openshot.i)
++ SWIG_ADD_LIBRARY(rbopenshot LANGUAGE ruby SOURCES openshot.i TYPE MODULE)
+
+ ### Set name of target (with no prefix, since Ruby does not like that)
+ SET_TARGET_PROPERTIES(rbopenshot PROPERTIES PREFIX "" OUTPUT_NAME "openshot")
diff --git a/libopenshot.spec b/libopenshot.spec
index 6724c40..bf26bd3 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -1,6 +1,6 @@
Name: libopenshot
Version: 0.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library for creating and editing videos
License: LGPLv3+
@@ -9,12 +9,14 @@ Source0: https://github.com/OpenShot/%{name}/archive/v%{version}/%{name}-
# The cmake environment for tests doesn't match the source build
# Filed upstream as https://github.com/OpenShot/libopenshot/pull/163
-Patch0: libopenshot-fix-tests.patch
+Patch0: %{name}-fix-tests.patch
+
+#
+Patch1: %{name}-fix_swig_variable.patch
BuildRequires: gcc-c++
-BuildRequires: cmake
-BuildRequires: swig
-BuildRequires: python%{python3_pkgversion}-devel
+%{?el7:BuildRequires: epel-rpm-macros}
+BuildRequires: cmake3
BuildRequires: ImageMagick-c++-devel
BuildRequires: ffmpeg-devel
BuildRequires: libopenshot-audio-devel >= 0.1.6
@@ -24,7 +26,6 @@ BuildRequires: unittest-cpp-devel
BuildRequires: cppzmq-devel
BuildRequires: zeromq-devel
BuildRequires: jsoncpp-devel
-BuildRequires: ruby-devel
%description
@@ -45,8 +46,9 @@ developing applications that use %{name}.
%package -n python%{python3_pkgversion}-%{name}
Summary: Python bindings for %{name}
+BuildRequires: swig
+BuildRequires: python%{python3_pkgversion}-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
-Group: Development/Libraries
Obsoletes: python-%{name} < 0.1.1-2
Provides: python-%{name}
@@ -57,8 +59,8 @@ applications that use %{name}.
%package -n ruby-%{name}
Summary: Ruby bindings for %{name}
+BuildRequires: ruby-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
-Group: Development/Libraries
%description -n ruby-%{name}
The ruby-%{name} package contains ruby bindings for
@@ -68,10 +70,12 @@ applications that use %{name}.
%prep
%autosetup -p1
+sed -e 's|-g -ggdb|-g|g' -i src/CMakeLists.txt tests/CMakeLists.txt
+sed -e 's|-std=c++11|%{optflags} -std=c++11 %{__global_ldflags} -Wl,--as-needed|g' -i CMakeLists.txt
%build
-export CXXFLAGS="%{optflags} -Wl,--as-needed -Wno-error"
-%cmake -DUSE_SYSTEM_JSONCPP:BOOL=ON .
+%cmake3 -Wno-dev -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DCMAKE_SKIP_RPATH:BOOL=YES -DUSE_SYSTEM_JSONCPP:BOOL=ON .
%make_build
@@ -79,9 +83,7 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed -Wno-error"
%make_install
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files
@@ -101,6 +103,14 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed -Wno-error"
%changelog
+* Tue Nov 13 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 0.2.2-2
+- Rebuild for ffmpeg-3.4.5 on el7
+- Use ldconfig_scriptlets macros
+- Use default compiler flags
+- Use CMake3
+- Patched for using CMake3's Swig variable
+- Remove obsolete Group tags
+
* Mon Sep 24 2018 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.2-1
- New upstream release
- Unbundle jsoncpp
5 years, 11 months
[ffms2/el7: 10/10] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit d2fa18095f9d7df4c8ddf26e1ce47860b161e455
Merge: 83d2069 19c7f55
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 15:13:02 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
ffms2.spec | 36 ++++++++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)
---
5 years, 11 months
[ffms2] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit 19c7f55d78b4fa588c5f8a2009124aa01e9eea67
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 15:11:50 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
ffms2.spec | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/ffms2.spec b/ffms2.spec
index 351e1fc..5b9dd34 100644
--- a/ffms2.spec
+++ b/ffms2.spec
@@ -1,12 +1,13 @@
Name: ffms2
Version: 2.23
-Release: 10%{?dist}
+Release: 11%{?dist}
License: MIT
Summary: Wrapper library around libffmpeg
URL: https://github.com/FFMS/ffms2
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-BuildRequires: gcc
+BuildRequires: gcc, gcc-c++
+%{?el7:BuildRequires: epel-rpm-macros}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -44,8 +45,7 @@ autoreconf -vfi
rm %{buildroot}%{_libdir}/lib%{name}.la
rm -rf %{buildroot}%{_docdir}
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files
%license COPYING
@@ -60,6 +60,10 @@ rm -rf %{buildroot}%{_docdir}
%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Tue Nov 13 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 2.23-11
+- Rebuild for ffmpeg-3.4.5 on el7
+- Use ldconfig_scriptlets macros
+
* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.23-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5 years, 11 months
[audacity-freeworld/el7] Rebuild for ffmpeg-3.4.5 on el7
by Antonio
commit d9c248a74a9b0abe1c7dfffc321767b839b38bfd
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 14:48:53 2018 +0100
Rebuild for ffmpeg-3.4.5 on el7
audacity-1.3.9-libdir.patch | 12 -------
audacity-2.0.3-non-dl-ffmpeg.patch | 20 ------------
audacity-2.0.4-equalization-segfault.patch | 50 ------------------------------
audacity-freeworld.spec | 15 ++++++---
4 files changed, 11 insertions(+), 86 deletions(-)
---
diff --git a/audacity-freeworld.spec b/audacity-freeworld.spec
index 5fcd0f2..5b5a2f1 100644
--- a/audacity-freeworld.spec
+++ b/audacity-freeworld.spec
@@ -1,9 +1,8 @@
Name: audacity-freeworld
Version: 2.0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Multitrack audio editor
-Group: Applications/Multimedia
License: GPLv2
URL: http://audacity.sourceforge.net
@@ -34,6 +33,7 @@ BuildRequires: desktop-file-utils
BuildRequires: expat-devel
BuildRequires: flac-devel
BuildRequires: gettext
+BuildRequires: gcc, gcc-c++
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: ladspa-devel
BuildRequires: libid3tag-devel
@@ -110,6 +110,7 @@ export PKG_CONFIG_PATH=%{_libdir}/ffmpeg-compat/pkgconfig/
--with-libmad=system \
--with-libtwolame=system \
--with-lame=system \
+ --docdir=%{_pkgdocdir} \
%ifnarch %{ix86} x86_64
--disable-sse \
%else
@@ -141,6 +142,7 @@ desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
%endif
$RPM_BUILD_ROOT%{_datadir}/applications/audacity.desktop
+rm -f $RPM_BUILD_ROOT%{_pkgdocdir}/LICENSE.txt
%post
umask 022
@@ -177,11 +179,16 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%{_datadir}/pixmaps/*
%{_datadir}/icons/hicolor/*/apps/%{realname}.*
%{_datadir}/mime/packages/*
-%doc %{_datadir}/doc/*
-%doc lib-src/libnyquist/nyquist/license.txt lib-src/libnyquist/nyquist/Readme.txt
+%license lib-src/libnyquist/nyquist/license.txt LICENSE.txt
+%{_pkgdocdir}/
%changelog
+* Tue Nov 13 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 2.0.6-2
+- Rebuild for ffmpeg-3.4.5 on el7
+- Use %%license tag
+- Use %%{_pkgdocdir}
+
* Mon Jan 12 2015 David Timms <iinet.net.au@dtimms> - 2.0.6-1
- update to upstream release 2.0.6
- update non-dl-ffmpeg.patch to match this version
5 years, 11 months
[gstreamer1-plugins-ugly/el7] Rebuild for x264-0.148 on el7
by Antonio
commit 27671b40b096342b6cab5684c1b31cb8dd267f41
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Dec 7 14:41:24 2018 +0100
Rebuild for x264-0.148 on el7
gstreamer1-plugins-ugly.spec | 18 +++++++++++-------
sources | 2 +-
2 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/gstreamer1-plugins-ugly.spec b/gstreamer1-plugins-ugly.spec
index 721f839..ce990e8 100644
--- a/gstreamer1-plugins-ugly.spec
+++ b/gstreamer1-plugins-ugly.spec
@@ -1,11 +1,11 @@
Summary: GStreamer 1.0 streaming media framework "ugly" plug-ins
Name: gstreamer1-plugins-ugly
-Version: 1.10.4
+Version: 1.10.5
Release: 1%{?dist}
License: LGPLv2+
-Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{...
+
BuildRequires: gstreamer1-devel >= 1.10.0
BuildRequires: gstreamer1-plugins-base-devel >= 1.10.0
BuildRequires: gettext-devel
@@ -38,7 +38,6 @@ gstreamer-plugins-good because:
%package devel-docs
Summary: Development documentation for the GStreamer "ugly" plug-ins
-Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@@ -54,21 +53,21 @@ be shipped in gstreamer-plugins-good because:
%prep
-%setup -q -n gst-plugins-ugly-%{version}
+%autosetup -n gst-plugins-ugly-%{version}
%build
%configure --disable-static \
--with-package-name="gst-plugins-ugly 1.0 rpmfusion rpm" \
--with-package-origin="http://rpmfusion.org/" \
- --enable-debug \
+ --disable-debug \
--enable-gtk-doc \
--disable-cdio \
--disable-dvdread \
--disable-xingmux \
--disable-mpg123
-make %{?_smp_mflags}
+%make_build V=1
# --disable-twolame
# --disable-a52dec \
@@ -77,7 +76,7 @@ make %{?_smp_mflags}
%install
%make_install
%find_lang gst-plugins-ugly-1.0
-rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.la
# gstreamer1-plugins-ugly-free-devel already have all files of gtk-doc
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
@@ -111,6 +110,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
%changelog
+* Tue Nov 20 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 1.10.5-1
+- Rebuild for x264-0.148 on el7
+- Rebuild for ffmpeg-3.4.5 on el7
+- Set Make macros
+
* Mon Aug 27 2018 Sérgio Basto <sergio(a)serjux.com> - 1.10.4-1
- Update to 1.10.4
diff --git a/sources b/sources
index 7cc0247..3ec851e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c68d0509c9980b0b70a4b836ff73fff1 gst-plugins-ugly-1.10.4.tar.xz
+75fcb303118d4035d2740adb825505fb gst-plugins-ugly-1.10.5.tar.xz
5 years, 11 months