[iozone] initial import (#5870)
by Dominik Mierzejewski
commit 4c9c07b4c0612e3e81c7567af028292026675e82
Author: Dominik 'Rathann' Mierzejewski <dominik(a)greysector.net>
Date: Fri Jan 15 15:48:24 2021 +0100
initial import (#5870)
.gitignore | 1 +
iozone.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 89 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..05fbaee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/iozone3_491.tgz
diff --git a/iozone.spec b/iozone.spec
new file mode 100644
index 0000000..f42bbc9
--- /dev/null
+++ b/iozone.spec
@@ -0,0 +1,87 @@
+%define f_ver %(echo %{version} | tr '.' '_')
+
+Summary: Filesystem benchmarking utility
+Name: iozone
+Version: 3.491
+Release: 1%{?dist}
+License: Distributable, no modification permitted and Public Domain
+URL: http://www.iozone.org
+Source0: http://www.iozone.org/src/current/iozone%{f_ver}.tgz
+Recommends: gnuplot
+BuildRequires: dos2unix
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: sed
+
+%description
+IOzone is a filesystem benchmark tool. The benchmark generates and
+measures a variety of file operations. Iozone has been ported to
+many machines and runs under many operating systems.
+
+Iozone is useful for performing a broad filesystem analysis of a vendors
+computer platform. The benchmark tests file I/O performance for the following
+operations: Read, write, re-read, re-write, read backwards, read strided,
+fread, fwrite, random read, pread, mmap, aio_read, aio_write.
+
+%prep
+%setup -q -n iozone%{f_ver}
+chmod 644 docs/IOzone_msword_98.pdf
+chmod 644 docs/Run_rules.doc
+pushd src/current
+sed -i -e '1i #!/bin/sh' Generate_Graphs
+chmod 755 Generate_Graphs
+chmod 644 Gnuplot.txt
+dos2unix -k iozone_visualizer.pl
+iconv -f iso8859-1 -t utf-8 iozone_visualizer.pl > iozone_visualizer.pl.u8 && \
+touch -r iozone_visualizer.pl iozone_visualizer.pl.u8 && \
+mv iozone_visualizer.pl.u8 iozone_visualizer.pl
+popd
+
+%build
+%set_build_flags
+export CFLAGS="$CFLAGS -DHAVE_PREADV -DHAVE_PWRITEV -fPIE -Wno-unused-but-set-variable"
+pushd src/current
+%make_build linux
+popd
+
+%install
+install -dm755 %{buildroot}%{_bindir}
+install -dm755 %{buildroot}%{_mandir}/man1
+
+install -p -m755 src/current/iozone %{buildroot}%{_bindir}
+install -p -m755 src/current/iozone_visualizer.pl %{buildroot}%{_bindir}
+install -p -m755 src/current/fileop %{buildroot}%{_bindir}/iozone_fileop
+install -p -m755 src/current/Generate_Graphs %{buildroot}%{_bindir}/iozone_Generate_Graphs
+install -p -m755 src/current/gengnuplot.sh %{buildroot}%{_bindir}/iozone_gengnuplot.sh
+install -p -m755 src/current/pit_server %{buildroot}%{_bindir}
+install -p -m644 docs/iozone.1 %{buildroot}/%{_mandir}/man1/
+
+%files
+%license docs/License.txt
+%doc docs/IOzone_msword_98.pdf
+%doc docs/Run_rules.doc
+%doc src/current/Gnuplot.txt
+%{_bindir}/iozone
+%{_bindir}/iozone_visualizer.pl
+%{_bindir}/iozone_fileop
+%{_bindir}/iozone_Generate_Graphs
+%{_bindir}/iozone_gengnuplot.sh
+%{_bindir}/pit_server
+%{_mandir}/man1/iozone.1*
+
+%changelog
+* Tue Jan 12 2021 Dominik Mierzejewski <rpm(a)greysector.net> - 3.491-1
+- update to 3_491
+- drop upstreamed patch
+- add missing shebang line to Generate_Graphs script
+- use make_build macro
+- prefix generic-named binaries with iozone_
+
+* Mon Nov 02 2020 Dominik Mierzejewski <rpm(a)greysector.net> - 3.490-1
+- update to 3_490
+- modernize spec
+- drop duplicate doc file
+
+* Fri May 27 2005 Neil Horman <nhorman(a)redhat.com>
+- cleaned up spec file
+- packaged for Fedora Extras
diff --git a/sources b/sources
index e69de29..0ddfafd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (iozone3_491.tgz) = 16697ee4ed245bff2cc41bd3ffe73bfef351e1d3dc0fc83412d8e52f6a53da2edd708f50e1742788ff3f50aecf409730a1d6d4fd4ebc656a69ea7efd41c7386a
3 years, 10 months
[smplayer] Update smplayer to 21.1.0
by Sérgio M. Basto
commit 597db5695a861ae45bbaeb204f21fd86c6047ed4
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 15 13:31:44 2021 +0000
Update smplayer to 21.1.0
.gitignore | 1 +
sources | 2 +-
update_smplayer.sh | 6 +++---
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8ad23c3..70b53e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,3 +59,4 @@ smtube-16.3.0.tar.bz2
/smplayer-20.6.0.tar.bz2
/smplayer-themes-20.11.0.tar.bz2
/smplayer-skins-20.11.0.tar.bz2
+/smplayer-21.1.0.tar.bz2
diff --git a/sources b/sources
index fbd9e42..fc4c27d 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (smplayer-20.6.0.tar.bz2) = 2cf7b7abf44b301331a5389e1ca512bd41928724b412d8cf55d77cb5cde87a4fdb9038d77c31da14b548d38ebfadd461d588d60a6b6f13b1781b9b961e81637d
+SHA512 (smplayer-21.1.0.tar.bz2) = 94030ddba63355403f14ce70a3b7719eaa0b006017148039bcc691159c33bbb6c8a947bff10dab9fecc0daa7106ac1b9f3ac7d7ea4263d622240636743c90553
SHA512 (smplayer-themes-20.11.0.tar.bz2) = 4e64c3f44fc3529d980751618cd30fcc395a21701ba7481ad0a6dffc1fa770c13a3414d0853f94cd6163738702a0a75060a92e5c1c426e79902a68d8f8336575
SHA512 (smplayer-skins-20.11.0.tar.bz2) = a52464b3b0aca82caf3762fde0ad7f1084e7e37b936f97d05f758554f84188cee11cb4d4630575ec10ed3970f0b77bceabb3f90fe4e43ff7d29b5c2725741a7d
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 8f5f5d7..232f792 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -33,13 +33,13 @@ fi
spectool -g smplayer.spec
rfpkg scratch-build --srpm --nowait
-echo Press enter to upload sources and commit; read dummy;
-rfpkg new-sources ./smplayer-$version.tar.bz2 ./smplayer-themes-$themes_ver.tar.bz2 ./smplayer-skins-$skins_ver.tar.bz2
-rfpkg ci -c && git show
fi
if test $stage -le 1
then
echo STAGE 1
+echo Press enter to upload sources and commit; read dummy;
+rfpkg new-sources ./smplayer-$version.tar.bz2 ./smplayer-themes-$themes_ver.tar.bz2 ./smplayer-skins-$skins_ver.tar.bz2
+rfpkg ci -c && git show
echo Press enter to push and build in rawhide; read dummy;
rfpkg push && rfpkg build --nowait
fi
3 years, 10 months
[smplayer] Update smplayer to 21.1.0
by Sérgio M. Basto
commit 5efdffe3703e1f85dbbb2f82f3b6a0862c85e981
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 15 11:47:04 2021 +0000
Update smplayer to 21.1.0
mongoose_gcc11.patch | 11 +++++++++++
smplayer.spec | 9 +++++++--
update_smplayer.sh | 4 ++--
3 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/mongoose_gcc11.patch b/mongoose_gcc11.patch
new file mode 100644
index 0000000..1bbb0fe
--- /dev/null
+++ b/mongoose_gcc11.patch
@@ -0,0 +1,11 @@
+--- ./webserver/mongoose.h.orig 2021-01-15 11:36:30.903697386 +0000
++++ ./webserver/mongoose.h 2021-01-15 11:37:02.127899177 +0000
+@@ -1762,7 +1762,7 @@ typedef struct {
+
+ void cs_md5_init(cs_md5_ctx *c);
+ void cs_md5_update(cs_md5_ctx *c, const unsigned char *data, size_t len);
+-void cs_md5_final(unsigned char *md, cs_md5_ctx *c);
++void cs_md5_final(unsigned char md[16], cs_md5_ctx *c);
+
+ #ifdef __cplusplus
+ }
diff --git a/smplayer.spec b/smplayer.spec
index 1726570..8898c00 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -1,8 +1,8 @@
Name: smplayer
-Version: 20.6.0
+Version: 21.1.0
%global smplayer_themes_ver 20.11.0
%global smplayer_skins_ver 20.11.0
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: A graphical frontend for mplayer and mpv
License: GPLv2+
@@ -15,6 +15,7 @@ Source4: https://downloads.sourceforge.net/smplayer/smplayer-skins-%{smpl
# https://bugzilla.rpmfusion.org/show_bug.cgi?id=1217
Patch0: smplayer-0.8.3-desktop-files.patch
Patch2: smplayer-14.9.0.6966-system-qtsingleapplication.patch
+Patch3: mongoose_gcc11.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -81,6 +82,7 @@ rm -rf src/qtsingleapplication/
%patch0 -p1 -b .desktop-files
%patch2 -p1 -b .qtsingleapplication
+%patch3 -p1 -b .mongoose_gcc11
# correction for wrong-file-end-of-line-encoding
%{__sed} -i 's/\r//' *.txt
@@ -174,6 +176,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Thu Jan 07 2021 Sérgio Basto <sergio(a)serjux.com> - 21.1.0-1
+- Update smplayer to 21.1.0
+
* Sat Dec 05 2020 Sérgio Basto <sergio(a)serjux.com> - 20.6.0-4
- Update skins and themes
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 993302b..8f5f5d7 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -1,8 +1,8 @@
-version=20.6.0
+version=21.1.0
#stube_ver=19.6.0
themes_ver=20.11.0
skins_ver=20.11.0
-REPOS="f32 f31 el8 el7"
+REPOS="f33 f32 el8 el7"
if [ -z "$1" ]
then
3 years, 10 months
[shotcut] Add shotcut-numeric_limits.patch
by Martin Gansser
commit 0ac130ae7f70cbb76e285c1005a6a69a1a184b5c
Author: Martin Gansser <mgansser(a)online.de>
Date: Fri Jan 15 12:44:02 2021 +0100
Add shotcut-numeric_limits.patch
shotcut-numeric_limits.patch | 10 ++++++++++
shotcut.spec | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/shotcut-numeric_limits.patch b/shotcut-numeric_limits.patch
new file mode 100644
index 0000000..cb8eb49
--- /dev/null
+++ b/shotcut-numeric_limits.patch
@@ -0,0 +1,10 @@
+--- src/spatialmedia/constants.h.orig 2021-01-15 11:59:34.605569731 +0100
++++ src/spatialmedia/constants.h 2021-01-15 11:59:48.499571382 +0100
+@@ -19,6 +19,7 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <limits>
+
+ #include <QtEndian>
+ #if defined(Q_OS_WIN) || defined(Q_OS_MAC)
diff --git a/shotcut.spec b/shotcut.spec
index 9c28376..8fa2674 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -4,7 +4,7 @@
Name: shotcut
Version: 20.11.28
-Release: 1%{dist}
+Release: 2%{dist}
#Release: 0.1.beta1%%{dist}
Summary: A free, open source, cross-platform video editor
# The entire source code is GPLv3+ except mvcp/ which is LGPLv2+
@@ -19,6 +19,7 @@ Patch0: mlt_path.patch
Patch1: shotcut-noupdatecheck.patch
# Force X
Patch2: Force_X.patch
+Patch3: shotcut-numeric_limits.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
@@ -187,6 +188,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/org.%{name}.S
%doc doc
%changelog
+* Fri Jan 15 2021 Martin Gansser <martinkg(a)fedoraproject.org> - 20.11.28-2
+- Add shotcut-numeric_limits.patch
+
* Mon Nov 30 2020 Martin Gansser <martinkg(a)fedoraproject.org> - 20.11.28-1
- Update to 20.11.28
3 years, 10 months