Update to 2016.11.28

el8
Nicolas Chauvet 8 years ago
parent d61cd7adb3
commit 75e6086df6

1
.gitignore vendored

@ -1,3 +1,4 @@
live.2014.10.21.tar.gz live.2014.10.21.tar.gz
/live.2016.07.19.tar.gz /live.2016.07.19.tar.gz
/live.2016.10.21.tar.gz /live.2016.10.21.tar.gz
/live.2016.11.28.tar.gz

@ -1,5 +1,5 @@
Name: live555 Name: live555
Version: 2016.10.21 Version: 2016.11.28
Release: 1%{?dist} Release: 1%{?dist}
Summary: Live555.com streaming libraries Summary: Live555.com streaming libraries
@ -28,8 +28,6 @@ been used to add streaming support to existing media player applications.
Summary: Development files for live555.com streaming libraries Summary: Development files for live555.com streaming libraries
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: live-devel < 0-0.19.2008.04.03
Provides: live-devel = %{version}-%{release}
%description devel %description devel
This code forms a set of C++ libraries for multimedia streaming, This code forms a set of C++ libraries for multimedia streaming,
@ -47,8 +45,6 @@ been used to add streaming support to existing media player applications.
Summary: RTSP streaming tools using live555.com streaming libraries Summary: RTSP streaming tools using live555.com streaming libraries
Group: Applications/Multimedia Group: Applications/Multimedia
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: live-tools < 0-0.19.2008.04.03
Provides: live-tools = %{version}-%{release}
%description tools %description tools
This code forms a set of C++ libraries for multimedia streaming, This code forms a set of C++ libraries for multimedia streaming,
@ -69,28 +65,28 @@ vobStreamer) and a variety of test tools.
%prep %prep
%setup -q -n live %setup -q -n live
sed -i -e "s|-O2|$RPM_OPT_FLAGS|" \ sed -i -e "s|-O2|%{optflags}|" \
config.linux-with-shared-libraries config.linux-with-shared-libraries
%build %build
./genMakefiles %{_target_os}-with-shared-libraries ./genMakefiles %{_target_os}-with-shared-libraries
make LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags} %make_build LDFLAGS="%{?__global_ldflags}"
%install %install
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir} %make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
#RPM Macros support #RPM Macros support
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm mkdir -p %{buildroot}%{_sysconfdir}/rpm
cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.live555 << EOF cat > %{buildroot}%{_sysconfdir}/rpm/macros.live555 << EOF
# live555 RPM Macros # live555 RPM Macros
%live555_version %{version} %live555_version %{version}
EOF EOF
touch -r COPYING $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.live555 touch -r COPYING %{buildroot}%{_sysconfdir}/rpm/macros.live555
#Fix library dependency detection #Fix library dependency detection
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so* chmod +x %{buildroot}%{_libdir}/*.so*
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -121,6 +117,10 @@ chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so*
%changelog %changelog
* Mon Dec 12 2016 Nicolas Chauvet <kwizart@gmail.com> - 2016.11.28-1
- Update to 2016.11.28
- Switch to RPM based macros
* Fri Oct 28 2016 Nicolas Chauvet <kwizart@gmail.com> - 2016.10.21-1 * Fri Oct 28 2016 Nicolas Chauvet <kwizart@gmail.com> - 2016.10.21-1
- Update to 2016.10.21 - Update to 2016.10.21

@ -1 +1 @@
3b1f04f17ac5206d9d1930fcc998a94e live.2016.10.21.tar.gz 60dcc25f77364f40d630dbd6ab354ea0 live.2016.11.28.tar.gz

Loading…
Cancel
Save