[bombono-dvd] Make the build hardened
by Leigh Scott
commit 94aced302a46449fd780e52611a64b3d4fca9e4e
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Aug 16 16:01:19 2016 +0100
Make the build hardened
bombono-dvd.spec | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/bombono-dvd.spec b/bombono-dvd.spec
index 981d378..6c48b2e 100644
--- a/bombono-dvd.spec
+++ b/bombono-dvd.spec
@@ -2,7 +2,7 @@
Name: bombono-dvd
Version: 1.2.4
-Release: 1%{?rel_tag}%{?dist}
+Release: 2%{?rel_tag}%{?dist}
Summary: DVD authoring program with nice and clean GUI
# License breakdown in README.
License: GPLv2 and GPLv2+ and Boost and Python and LGPLv2+
@@ -46,14 +46,15 @@ Provides: bundled(boost-logging) = 0.22.7.20120126svn76686
%global warn_flags \
-Wno-reorder -Wno-unused-variable
%global scons \
- scons %{?jobs:-j%{jobs}} \\\
+ scons %{?_smp_mflags} \\\
BUILD_CFG=debug \\\
BUILD_BRIEF=false \\\
BUILD_QUICK=false \\\
CC="%__cc" \\\
CXX="%__cxx" \\\
- CFLAGS="" \\\
- CPPFLAGS="%{optflags} %{warn_flags} %{boost_flags}" \\\
+ CFLAGS="${RPM_OPT_FLAGS}" \\\
+ CPPFLAGS="%{warn_flags} %{boost_flags}" \\\
+ LDFLAGS="${RPM_LD_FLAGS}" \\\
PREFIX=%{_prefix} \\\
TEST=false \\\
TEST_BUILD=false \\\
@@ -111,6 +112,9 @@ fi
%{_mandir}/man1/*
%changelog
+* Tue Aug 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1.2.4-2
+- Make the build hardened
+
* Sun Aug 14 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 1.2.4-1
- Update to 1.2.4 release
8 years, 3 months
[mpv/f23] (2 commits) ...Update to 0.19.0
by Leigh Scott
Summary of changes:
00ddee2... Rebuilt for ffmpeg-3.1.1 (*)
8be4c42... Update to 0.19.0 (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[mpv/f24] (2 commits) ...Update to 0.19.0
by Leigh Scott
Summary of changes:
00ddee2... Rebuilt for ffmpeg-3.1.1 (*)
8be4c42... Update to 0.19.0 (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[mpv/f25] Update to 0.19.0
by Leigh Scott
Summary of changes:
8be4c42... Update to 0.19.0 (*)
(*) This commit already existed in another branch; no separate mail sent
8 years, 3 months
[mpv] Update to 0.19.0
by Leigh Scott
commit 8be4c42fbd1ddb65326abafb21c26016700232af
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Aug 16 14:40:52 2016 +0100
Update to 0.19.0
.gitignore | 1 +
mpv.spec | 20 ++++++++++++++------
sources | 2 +-
3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0348db5..95804f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
v0.14.0.tar.gz
/v0.18.0.tar.gz
/v0.18.1.tar.gz
+/mpv-0.19.0.tar.gz
diff --git a/mpv.spec b/mpv.spec
index 557cda9..b4f0907 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,10 +1,10 @@
Name: mpv
-Version: 0.18.1
-Release: 2%{?dist}
+Version: 0.19.0
+Release: 1%{?dist}
Summary: Movie player playing most video formats and DVDs
License: GPLv2+
URL: http://%{name}.io/
-Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz
+Source0: https://github.com/%{name}-player/%{name}/archive/v%{version}.tar.gz#/%{n...
# set defaults for Fedora
Patch0: %{name}-config.patch
@@ -79,7 +79,6 @@ Summary: Development package for libmpv
Requires: mpv-libs%{_isa} = %{version}-%{release}
Provides: libmpv-devel = %{version}-%{release}
Obsoletes: libmpv-devel < %{version}-%{release}
-Requires: pkgconfig
%description libs-devel
Libmpv development header files and libraries.
@@ -90,7 +89,8 @@ Libmpv development header files and libraries.
%build
-CCFLAGS="%{optflags}" \
+CFLAGS="${RPM_OPT_FLAGS}" \
+LDFLAGS="${RPM_LD_FLAGS}" \
waf configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
@@ -103,7 +103,7 @@ waf configure \
--enable-sdl2 \
--enable-encoding
-waf build %{?_smp_mflags}
+waf -v build %{?_smp_mflags}
%install
waf install --destdir=%{buildroot}
@@ -150,6 +150,14 @@ fi
%{_libdir}/pkgconfig/mpv.pc
%changelog
+* Tue Aug 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 0.19.0-3
+- Update to 0.19.0
+- Add LDFLAGS so build is hardened
+- Fix CFLAGS
+- Make build verbose
+- Remove Requires pkgconfig from devel sub-package
+- Fix source tag
+
* Sat Jul 30 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.18.1-2
- Rebuilt for ffmpeg-3.1.1
diff --git a/sources b/sources
index 5f2d4e5..6d0e7f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-708ef2f30825128b3eb9dd35a47ee7e4 v0.18.1.tar.gz
+fa91789d030b93388543a8afef4352b1 mpv-0.19.0.tar.gz
8 years, 3 months
[cmus] add some more build requires
by Leigh Scott
commit 78e4cc44e2cc655369c1ff154cf84b2e9c876724
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Aug 16 09:59:19 2016 +0100
add some more build requires
cmus.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/cmus.spec b/cmus.spec
index 7039ff7..ef3682e 100644
--- a/cmus.spec
+++ b/cmus.spec
@@ -1,6 +1,6 @@
Name: cmus
Version: 2.7.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Ncurses-Based Music Player
Group: Applications/Multimedia
License: GPLv2+
@@ -14,11 +14,13 @@ BuildRequires: faad2-devel
BuildRequires: ffmpeg-devel
BuildRequires: flac-devel
BuildRequires: libao-devel
+BuildRequires: libcddb-devel
BuildRequires: libcue-devel
BuildRequires: libmad-devel
BuildRequires: libmodplug-devel
BuildRequires: libmp4v2-devel
BuildRequires: libmpcdec-devel
+BuildRequires: libsamplerate-devel
BuildRequires: libvorbis-devel
BuildRequires: opusfile-devel
BuildRequires: pulseaudio-libs-devel
@@ -89,6 +91,9 @@ chmod -x examples/*
%changelog
+* Tue Aug 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.7.1-4
+- Add build requires libsamplerate-devel and libcddb-devel
+
* Tue Aug 16 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.7.1-3
- Fix hardening
- Spec file fixes (rfbz#4194)
8 years, 3 months