Mageia Bugzilla – Attachment 2771 Details for
Bug 6647
mediatomb segfaults on avutil - probably mga2 patch was not ported over
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Updated spec
mediatomb.spec (text/x-rpm-spec), 3.46 KB, created by
Joseph Wang
on 2012-09-09 10:58:27 CEST
(
hide
)
Description:
Updated spec
Filename:
MIME Type:
Creator:
Joseph Wang
Created:
2012-09-09 10:58:27 CEST
Size:
3.46 KB
patch
obsolete
># Spec file taken from upstream, thanks. -AdamW 2007/06 > >%define svn 0 >%define rel 5 >%if %svn >%define release %mkrel 0.%{svn}.%{rel} >%define distname %{name}-%{svn}.tar.xz >%define dirname %{name} >%else >%define release %mkrel %{rel} >%define distname %{name}-%{version}.tar.gz >%define dirname %{name}-%{version} >%endif > >Name: mediatomb >Summary: UPnP AV MediaServer >Version: 0.12.1 >Release: %{release} >License: GPLv2 >Group: Networking/Remote access >Source0: http://downloads.sourceforge.net/mediatomb/%{distname} >Source1: mediatomb.logrotate ># Adds parallel init info to init.d script - AdamW 2007/06 >Patch0: mediatomb-0.11.0-initinfo.patch >Patch1: mediatomb-0.12.1-gcc46.patch >Patch2: libav_0.7_support.patch >Patch3: mediatomb-0.12.1-mozjs185.patch >Patch4: mediatomb-0.12.1.tonewjs.patch >Patch5: mediatomb-0.12.1-jsparse.patch >Patch6: mediatomb-0.12.1-hash.patch >URL: http://mediatomb.cc >BuildRequires: sqlite3-devel >BuildRequires: libmagic-devel >BuildRequires: js-devel >BuildRequires: libid3-devel >BuildRequires: taglib-devel >BuildRequires: libexif-devel >BuildRequires: curl-devel >BuildRequires: ffmpeg-devel >BuildRequires: ffmpegthumbnailer-devel >BuildRequires: expat-devel >BuildRequires: file > >%description >MediaTomb - UPnP AV Mediaserver for Linux. > >%prep >%setup -q -n %{dirname} >%patch0 -p1 -b .init >%patch1 -p1 -b .gcc46 >%patch2 -p1 -b .ffmpeg >%patch3 -p1 -b .mozjs185 >%patch4 -p1 -b .tonewjs >%patch5 -p1 -b .jsparse >%patch6 -p1 -b .hash > >%build >autoreconf -vfi >%configure2_5x \ > --enable-taglib \ > --enable-libjs \ > --with-js-h=%{_includedir}/js \ > --enable-external-transcoding \ > --enable-protocolinfo-extension > >%make > >%install >rm -rf %{buildroot} > >install -D -m 0755 scripts/mediatomb-service-fedora %{buildroot}%{_initrddir}/%{name} >install -D -m 0755 config/mediatomb-conf-fedora %{buildroot}%{_sysconfdir}/%{name}.conf > >%makeinstall_std > >mkdir -p %{buildroot}%{_logdir} >touch %{buildroot}%{_logdir}/%{name} >install -D -m 644 %{SOURCE1} %{buildroot}/etc/logrotate.d/%{name} > >%clean >rm -rf %{buildroot} > >%pre ># Create a user >%_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false > >%post >%_post_service %{name} > ># Create initial log file so that logrotate doesn't complain >if [ $1 = 1 ]; then > %create_ghostfile %{_logdir}/%{name} root root 644 >fi > >%preun >%_preun_service %{name} > >%postun >%_postun_userdel %{name} > >%files >%defattr(-,root,root) >%doc README README.UTF_8 AUTHORS ChangeLog INSTALL doc/doxygen.conf >%doc doc/scripting.txt doc/scripting_utf8.txt >%{_sysconfdir}/logrotate.d/%{name} >%{_bindir}/%{name} >%{_datadir}/%{name} >%{_mandir}/man1/* >%{_initrddir}/%{name} >%defattr(-,%{name},%{name}) >%config(noreplace) %{_sysconfdir}/%{name}.conf >%ghost %{_logdir}/%{name} > > > > >%changelog >* Sun Sep 9 2012 joequant <joequant> 0.12.1-5.mga3 >- Add hash patch to fix gcc rebuild >- Rebuild to fix segfault > >* Fri Jun 01 2012 fwang <fwang> 0.12.1-4.mga3 >+ Revision: 252820 >- fix type >- more ffmpeg 0.11 patch > >* Mon Dec 26 2011 wally <wally> 0.12.1-4.mga2 >+ Revision: 187818 >- add P3, P4 and P5 to fix build with new mozjs185 > o P4 and P5 from Fedora > > + fwang <fwang> > - rebuild for new js > > + blino <blino> > - add Default-Stop LSB header in initscript > - buildrequire ffmpegthumbnailer-devel > - replace broken (segfault) ffmpeg patch with libav/gcc4.6 patchset from Ubuntu > >* Sat Jun 25 2011 fwang <fwang> 0.12.1-2.mga2 >+ Revision: 113423 >- fix build with ffmpeg 0.8 >- rebuild for new ffmpeg > >* Mon Feb 21 2011 dmorgan <dmorgan> 0.12.1-1.mga1 >+ Revision: 55226 >- imported package mediatomb >
# Spec file taken from upstream, thanks. -AdamW 2007/06 %define svn 0 %define rel 5 %if %svn %define release %mkrel 0.%{svn}.%{rel} %define distname %{name}-%{svn}.tar.xz %define dirname %{name} %else %define release %mkrel %{rel} %define distname %{name}-%{version}.tar.gz %define dirname %{name}-%{version} %endif Name: mediatomb Summary: UPnP AV MediaServer Version: 0.12.1 Release: %{release} License: GPLv2 Group: Networking/Remote access Source0: http://downloads.sourceforge.net/mediatomb/%{distname} Source1: mediatomb.logrotate # Adds parallel init info to init.d script - AdamW 2007/06 Patch0: mediatomb-0.11.0-initinfo.patch Patch1: mediatomb-0.12.1-gcc46.patch Patch2: libav_0.7_support.patch Patch3: mediatomb-0.12.1-mozjs185.patch Patch4: mediatomb-0.12.1.tonewjs.patch Patch5: mediatomb-0.12.1-jsparse.patch Patch6: mediatomb-0.12.1-hash.patch URL: http://mediatomb.cc BuildRequires: sqlite3-devel BuildRequires: libmagic-devel BuildRequires: js-devel BuildRequires: libid3-devel BuildRequires: taglib-devel BuildRequires: libexif-devel BuildRequires: curl-devel BuildRequires: ffmpeg-devel BuildRequires: ffmpegthumbnailer-devel BuildRequires: expat-devel BuildRequires: file %description MediaTomb - UPnP AV Mediaserver for Linux. %prep %setup -q -n %{dirname} %patch0 -p1 -b .init %patch1 -p1 -b .gcc46 %patch2 -p1 -b .ffmpeg %patch3 -p1 -b .mozjs185 %patch4 -p1 -b .tonewjs %patch5 -p1 -b .jsparse %patch6 -p1 -b .hash %build autoreconf -vfi %configure2_5x \ --enable-taglib \ --enable-libjs \ --with-js-h=%{_includedir}/js \ --enable-external-transcoding \ --enable-protocolinfo-extension %make %install rm -rf %{buildroot} install -D -m 0755 scripts/mediatomb-service-fedora %{buildroot}%{_initrddir}/%{name} install -D -m 0755 config/mediatomb-conf-fedora %{buildroot}%{_sysconfdir}/%{name}.conf %makeinstall_std mkdir -p %{buildroot}%{_logdir} touch %{buildroot}%{_logdir}/%{name} install -D -m 644 %{SOURCE1} %{buildroot}/etc/logrotate.d/%{name} %clean rm -rf %{buildroot} %pre # Create a user %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false %post %_post_service %{name} # Create initial log file so that logrotate doesn't complain if [ $1 = 1 ]; then %create_ghostfile %{_logdir}/%{name} root root 644 fi %preun %_preun_service %{name} %postun %_postun_userdel %{name} %files %defattr(-,root,root) %doc README README.UTF_8 AUTHORS ChangeLog INSTALL doc/doxygen.conf %doc doc/scripting.txt doc/scripting_utf8.txt %{_sysconfdir}/logrotate.d/%{name} %{_bindir}/%{name} %{_datadir}/%{name} %{_mandir}/man1/* %{_initrddir}/%{name} %defattr(-,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf %ghost %{_logdir}/%{name} %changelog * Sun Sep 9 2012 joequant <joequant> 0.12.1-5.mga3 - Add hash patch to fix gcc rebuild - Rebuild to fix segfault * Fri Jun 01 2012 fwang <fwang> 0.12.1-4.mga3 + Revision: 252820 - fix type - more ffmpeg 0.11 patch * Mon Dec 26 2011 wally <wally> 0.12.1-4.mga2 + Revision: 187818 - add P3, P4 and P5 to fix build with new mozjs185 o P4 and P5 from Fedora + fwang <fwang> - rebuild for new js + blino <blino> - add Default-Stop LSB header in initscript - buildrequire ffmpegthumbnailer-devel - replace broken (segfault) ffmpeg patch with libav/gcc4.6 patchset from Ubuntu * Sat Jun 25 2011 fwang <fwang> 0.12.1-2.mga2 + Revision: 113423 - fix build with ffmpeg 0.8 - rebuild for new ffmpeg * Mon Feb 21 2011 dmorgan <dmorgan> 0.12.1-1.mga1 + Revision: 55226 - imported package mediatomb
View Attachment As Raw
Actions:
View
Attachments on
bug 6647
: 2771 |
2772
|
2793
|
2798