update to 0.27 [release 0.27-1mamba;Sun May 17 2015]
This commit is contained in:
parent
116acd555c
commit
21f76b76e4
79
mythtv.spec
79
mythtv.spec
@ -1,14 +1,14 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: mythtv
|
Name: mythtv
|
||||||
Version: 0.26.1
|
Version: 0.27
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A digital video recorder (DVR) application
|
Summary: A digital video recorder (DVR) application
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.mythtv.org/
|
URL: http://www.mythtv.org/
|
||||||
Source0: ftp://ftp.osuosl.org/pub/mythtv/mythtv-%{version}.tar.bz2
|
Source0: https://github.com/MythTV/mythtv.git/v%{version}/mythtv-%{version}.tar.bz2
|
||||||
Source1: mythfrontend.desktop
|
Source1: mythfrontend.desktop
|
||||||
Source2: mythfrontend.png
|
Source2: mythfrontend.png
|
||||||
Source3: mythtv-setup.desktop
|
Source3: mythtv-setup.desktop
|
||||||
@ -29,7 +29,6 @@ BuildRequires: desktop-file-utils
|
|||||||
#BuildRequires: file /usr/lib/libdirectfb-1.4.so: No such file or directory
|
#BuildRequires: file /usr/lib/libdirectfb-1.4.so: No such file or directory
|
||||||
#BuildRequires: file /usr/lib/libfusion-1.4.so: No such file or directory
|
#BuildRequires: file /usr/lib/libfusion-1.4.so: No such file or directory
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: kernel-mamba-headers
|
|
||||||
BuildRequires: libalsa-devel
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: libavc1394-devel
|
BuildRequires: libavc1394-devel
|
||||||
BuildRequires: libbzip2-devel
|
BuildRequires: libbzip2-devel
|
||||||
@ -373,33 +372,35 @@ This package contains the documentation for %{name},
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p2
|
#%patch0 -p2
|
||||||
|
|
||||||
rm -rf contrib/Win32 contrib/OSX
|
rm -rf contrib/Win32 contrib/OSX
|
||||||
chmod -x themes/default/htmls/*.html
|
#chmod -x themes/default/htmls/*.html
|
||||||
|
|
||||||
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} .
|
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} .
|
||||||
cp -a %{SOURCE4} %{SOURCE5} %{SOURCE6} .
|
cp -a %{SOURCE4} %{SOURCE5} %{SOURCE6} .
|
||||||
cp -a %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} .
|
cp -a %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} .
|
||||||
cp -a %{SOURCE12} PACKAGE-LICENSING
|
cp -a %{SOURCE12} PACKAGE-LICENSING
|
||||||
|
|
||||||
sed -i -e 's#perl Makefile.PL#%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"#' bindings/perl/Makefile
|
#sed -i -e 's#perl Makefile.PL#%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"#' bindings/perl/Makefile
|
||||||
|
|
||||||
sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv",' configure
|
#sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv",' configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
cd mythtv
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--libdir-name=%{_lib} \
|
--libdir-name=%{_lib} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--extra-cflags="%{optflags} -fomit-frame-pointer" \
|
--extra-cflags="%{optflags} -fomit-frame-pointer -fno-devirtualize" \
|
||||||
--extra-cxxflags="%{optflags} -fomit-frame-pointer" \
|
--extra-cxxflags="%{optflags} -fomit-frame-pointer -fno-devirtualize" \
|
||||||
|
%ifarch %{ix86}
|
||||||
--cpu=i686 \
|
--cpu=i686 \
|
||||||
--tune=i686 \
|
--tune=i686 \
|
||||||
|
%endif
|
||||||
--enable-mmx \
|
--enable-mmx \
|
||||||
--qmake=%{_qt4_qmake} \
|
--qmake=%{_qt4_qmake} \
|
||||||
--enable-iptv \
|
|
||||||
--enable-pthreads \
|
--enable-pthreads \
|
||||||
--enable-ffmpeg-pthreads \
|
--enable-ffmpeg-pthreads \
|
||||||
--enable-joystick-menu \
|
--enable-joystick-menu \
|
||||||
@ -436,7 +437,7 @@ sed -i -e 's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA -lXv
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
make INSTALL_ROOT=%{buildroot} install
|
make INSTALL_ROOT=%{buildroot} install -C mythtv
|
||||||
|
|
||||||
ln -s mythtv-setup %{buildroot}%{_bindir}/mythtvsetup
|
ln -s mythtv-setup %{buildroot}%{_bindir}/mythtvsetup
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/mythtv
|
mkdir -p %{buildroot}%{_localstatedir}/lib/mythtv
|
||||||
@ -447,10 +448,6 @@ mkdir -p %{buildroot}%{_initrddir}
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/mythtv
|
mkdir -p %{buildroot}%{_sysconfdir}/mythtv
|
||||||
|
|
||||||
rm -rf %{buildroot}%{perl_vendorarch}/auto/MythTV/.packlist
|
|
||||||
rm -rf %{buildroot}%{_libdir}/libmyth*.*a
|
|
||||||
rm -rf %{buildroot}%{_libdir}/mythtv/filters/*.*a
|
|
||||||
|
|
||||||
# mysql.txt and other config/init files
|
# mysql.txt and other config/init files
|
||||||
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/mythtv/mysql.txt
|
install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/mythtv/mysql.txt
|
||||||
echo "# to be filled in by mythtv-setup" > %{buildroot}%{_sysconfdir}/mythtv/config.xml
|
echo "# to be filled in by mythtv-setup" > %{buildroot}%{_sysconfdir}/mythtv/config.xml
|
||||||
@ -471,7 +468,16 @@ done
|
|||||||
mkdir -p %{buildroot}%{_libdir}/mythtv/plugins
|
mkdir -p %{buildroot}%{_libdir}/mythtv/plugins
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/mythtv/build/
|
mkdir -p %{buildroot}%{_datadir}/mythtv/build/
|
||||||
install -pm 644 settings.pro %{buildroot}%{_datadir}/mythtv/build/
|
install -pm 644 mythtv/settings.pro %{buildroot}%{_datadir}/mythtv/build/
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
mv %{buildroot}%{_prefix}/lib/libmythzmq.* %{buildroot}%{_libdir}
|
||||||
|
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
rm -rf %{buildroot}%{perl_sitearch}/auto/MythTV/.packlist
|
||||||
|
rm -rf %{buildroot}%{_libdir}/libmyth*.*a
|
||||||
|
rm -rf %{buildroot}%{_libdir}/mythtv/filters/*.*a
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -506,8 +512,11 @@ fi
|
|||||||
%{_bindir}/mythcommflag
|
%{_bindir}/mythcommflag
|
||||||
%{_bindir}/mythffmpeg
|
%{_bindir}/mythffmpeg
|
||||||
%{_bindir}/mythffplay
|
%{_bindir}/mythffplay
|
||||||
|
%{_bindir}/mythffprobe
|
||||||
|
%{_bindir}/mythffserver
|
||||||
%{_bindir}/mythfilldatabase
|
%{_bindir}/mythfilldatabase
|
||||||
%{_bindir}/mythfrontend
|
%{_bindir}/mythfrontend
|
||||||
|
%{_bindir}/mythhdhomerun_config
|
||||||
%{_bindir}/mythjobqueue
|
%{_bindir}/mythjobqueue
|
||||||
%{_bindir}/mythlcdserver
|
%{_bindir}/mythlcdserver
|
||||||
%{_bindir}/mythlogserver
|
%{_bindir}/mythlogserver
|
||||||
@ -515,6 +524,7 @@ fi
|
|||||||
%{_bindir}/mythmetadatalookup
|
%{_bindir}/mythmetadatalookup
|
||||||
%{_bindir}/mythpreviewgen
|
%{_bindir}/mythpreviewgen
|
||||||
%{_bindir}/mythreplex
|
%{_bindir}/mythreplex
|
||||||
|
%{_bindir}/mythscreenwizard
|
||||||
%{_bindir}/mythshutdown
|
%{_bindir}/mythshutdown
|
||||||
%{_bindir}/mythtranscode
|
%{_bindir}/mythtranscode
|
||||||
%{_bindir}/mythtv-setup
|
%{_bindir}/mythtv-setup
|
||||||
@ -558,7 +568,7 @@ fi
|
|||||||
%{_libdir}/libmythavutil.so.*
|
%{_libdir}/libmythavutil.so.*
|
||||||
%{_libdir}/libmythfreemheg-*.so.*
|
%{_libdir}/libmythfreemheg-*.so.*
|
||||||
%{_libdir}/libmythhdhomerun-*.so.*
|
%{_libdir}/libmythhdhomerun-*.so.*
|
||||||
%{_libdir}/libmythlivemedia-*.so.*
|
#%{_libdir}/libmythlivemedia-*.so.*
|
||||||
%{_libdir}/libmythmetadata-*.so.*
|
%{_libdir}/libmythmetadata-*.so.*
|
||||||
%{_libdir}/libmythnzmqt.so.*
|
%{_libdir}/libmythnzmqt.so.*
|
||||||
%{_libdir}/libmythpostproc.so.*
|
%{_libdir}/libmythpostproc.so.*
|
||||||
@ -571,7 +581,7 @@ fi
|
|||||||
%{_libdir}/libmythui-*.so.*
|
%{_libdir}/libmythui-*.so.*
|
||||||
%{_libdir}/libmythupnp-*.so.*
|
%{_libdir}/libmythupnp-*.so.*
|
||||||
%{_libdir}/libmythzmq.so.*
|
%{_libdir}/libmythzmq.so.*
|
||||||
%doc AUTHORS COPYING
|
#%doc mythtv/AUTHORS mythtv/COPYING
|
||||||
|
|
||||||
%files -n libmythtv-devel
|
%files -n libmythtv-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -593,7 +603,7 @@ fi
|
|||||||
%{_includedir}/mythtv/libmythui
|
%{_includedir}/mythtv/libmythui
|
||||||
%{_includedir}/mythtv/libpostproc
|
%{_includedir}/mythtv/libpostproc
|
||||||
%dir %{_includedir}/mythtv/libswresample
|
%dir %{_includedir}/mythtv/libswresample
|
||||||
%{_includedir}/mythtv/libswresample/swresample.h
|
%{_includedir}/mythtv/libswresample/*.h
|
||||||
%{_includedir}/mythtv/libswscale
|
%{_includedir}/mythtv/libswscale
|
||||||
%{_includedir}/mythtv/metadata
|
%{_includedir}/mythtv/metadata
|
||||||
%{_includedir}/mythtv/mpeg2dec
|
%{_includedir}/mythtv/mpeg2dec
|
||||||
@ -613,7 +623,7 @@ fi
|
|||||||
%{_libdir}/libmythbase-%{majver}.so
|
%{_libdir}/libmythbase-%{majver}.so
|
||||||
%{_libdir}/libmythfreemheg-*.so
|
%{_libdir}/libmythfreemheg-*.so
|
||||||
%{_libdir}/libmythhdhomerun-*.so
|
%{_libdir}/libmythhdhomerun-*.so
|
||||||
%{_libdir}/libmythlivemedia-*.so
|
#%{_libdir}/libmythlivemedia-*.so
|
||||||
%{_libdir}/libmythmetadata-*.so
|
%{_libdir}/libmythmetadata-*.so
|
||||||
%{_libdir}/libmythnzmqt.so
|
%{_libdir}/libmythnzmqt.so
|
||||||
%{_libdir}/libmythpostproc.so
|
%{_libdir}/libmythpostproc.so
|
||||||
@ -631,14 +641,14 @@ fi
|
|||||||
|
|
||||||
%files -n perl-MythTV
|
%files -n perl-MythTV
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{perl_vendorlib}/IO
|
%dir %{perl_sitelib}/IO
|
||||||
%dir %{perl_vendorlib}/IO/Socket
|
%dir %{perl_sitelib}/IO/Socket
|
||||||
%dir %{perl_vendorlib}/IO/Socket/INET
|
%dir %{perl_sitelib}/IO/Socket/INET
|
||||||
%{perl_vendorlib}/IO/Socket/INET/MythTV.pm
|
%{perl_sitelib}/IO/Socket/INET/MythTV.pm
|
||||||
%{perl_vendorlib}/MythTV.pm
|
%{perl_sitelib}/MythTV.pm
|
||||||
%dir %{perl_vendorlib}/MythTV
|
%dir %{perl_sitelib}/MythTV
|
||||||
%{perl_vendorlib}/MythTV/*.pm
|
%{perl_sitelib}/MythTV/*.pm
|
||||||
%dir %{perl_vendorarch}/auto/MythTV
|
%dir %{perl_sitearch}/auto/MythTV
|
||||||
|
|
||||||
%files -n python-MythTV
|
%files -n python-MythTV
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -658,12 +668,15 @@ fi
|
|||||||
%dir %{python_sitelib}/MythTV/wikiscripts
|
%dir %{python_sitelib}/MythTV/wikiscripts
|
||||||
%{python_sitelib}/MythTV/wikiscripts/*
|
%{python_sitelib}/MythTV/wikiscripts/*
|
||||||
|
|
||||||
%files docs
|
#%files docs
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%doc FAQ PACKAGE-LICENSING README* UPGRADING VERSION keys.txt
|
#%doc mythtv/FAQ PACKAGE-LICENSING README* UPGRADING VERSION keys.txt
|
||||||
#%doc contrib database
|
##%doc contrib database
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun May 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27-1mamba
|
||||||
|
- update to 0.27
|
||||||
|
|
||||||
* Tue Aug 20 2013 Automatic Build System <autodist@mambasoft.it> 0.26.1-1mamba
|
* Tue Aug 20 2013 Automatic Build System <autodist@mambasoft.it> 0.26.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user