Ticket #7090: rpmpatch.6.diff
File rpmpatch.6.diff, 9.0 KB (added by , 14 years ago) |
---|
-
mythtv.spec
65 65 %define desktop_vendor xris 66 66 67 67 # SVN Revision number and branch ID 68 %define _svnrev r2 195368 %define _svnrev r22240 69 69 %define branch trunk 70 70 71 71 # … … 139 139 Source110: mysql.txt 140 140 Source401: mythweb.conf 141 141 142 BuildRoot: 142 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 143 143 144 144 ################################################################################ 145 145 # Python setup … … 183 183 BuildRequires: faad2-devel 184 184 BuildRequires: fftw2-devel < 3 185 185 BuildRequires: fftw2-devel >= 2.1.3 186 BuildRequires: flac-devel >= 1.0.4187 186 BuildRequires: gsm-devel 188 187 BuildRequires: lame-devel 189 BuildRequires: libdca-devel190 188 BuildRequires: libdvdnav-devel 191 189 BuildRequires: libdvdread-devel >= 0.9.4 192 190 # nb: libdvdcss will be dynamically loaded if installed … … 195 193 BuildRequires: libtheora-devel 196 194 BuildRequires: libvorbis-devel >= 1.0 197 195 BuildRequires: mjpegtools-devel >= 1.6.1 198 BuildRequires: taglib-devel >= 1. 4196 BuildRequires: taglib-devel >= 1.5 199 197 BuildRequires: transcode >= 0.6.8 200 198 BuildRequires: x264-devel 201 199 BuildRequires: xvidcore-devel >= 0.9.1 … … 221 219 %endif 222 220 223 221 %if %{with_vdpau} 224 BuildRequires: libvdpau-devel222 BuildRequires: libvdpau-devel 225 223 %endif 226 224 225 %if 0%{?fedora} >= 9 226 BuildRequires: ncurses-devel 227 %else 228 BuildRequires: libtermcap-devel 229 %endif 230 227 231 # API Build Requirements 228 232 229 233 %if %{with_perl} … … 240 244 %if %{with_plugins} 241 245 242 246 %if %{with_mythgallery} 243 BuildRequires: libtiff-devel244 247 BuildRequires: libexif-devel >= 0.6.9 245 248 %endif 246 249 … … 251 254 %if %{with_mythmusic} 252 255 BuildRequires: libcdaudio-devel >= 0.99.6 253 256 BuildRequires: cdparanoia-devel 257 BuildRequires: flac-devel 254 258 BuildRequires: libvisual-devel 255 259 BuildRequires: SDL-devel 256 260 %endif … … 258 262 %if %{with_mythnews} 259 263 %endif 260 264 261 %if 0%{?fedora} >= 9262 BuildRequires: ncurses-devel263 %else264 BuildRequires: libtermcap-devel265 %endif266 267 265 %if %{with_mythvideo} 268 Requires:perl(XML::Simple)266 BuildRequires: perl(XML::Simple) 269 267 %endif 270 268 271 269 %if %{with_mythweather} 272 Requires: mythweather >= %{version} 273 Requires: perl(XML::Simple) 274 Requires: perl(LWP::Simple) 270 BuildRequires: perl(Carp) 271 BuildRequires: perl(Data::Dumper) 272 BuildRequires: perl(Date::Manip) 273 BuildRequires: perl(Exporter) 274 BuildRequires: perl(File::Basename) 275 BuildRequires: perl(Getopt::Std) 276 BuildRequires: perl(Image::Size) 277 BuildRequires: perl(LWP::Simple) 278 BuildRequires: perl(SOAP::Lite) 279 BuildRequires: perl(XML::Parser) 280 BuildRequires: perl(XML::SAX::Base) 281 BuildRequires: perl(XML::Simple) 282 275 283 %endif 276 284 277 285 %if %{with_mythzoneminder} … … 433 441 ################################################################################ 434 442 435 443 %package base-themes 436 Summary: Core user interface themes for mythtv437 Group: Applications/Multimedia438 444 Summary: Core user interface themes for mythtv 445 Group: Applications/Multimedia 446 BuildArch: noarch 439 447 # Replace an old ATRMS package 440 Provides: 441 Obsoletes: 448 Provides: mythtv-theme-gant 449 Obsoletes: mythtv-theme-gant 442 450 443 451 %description base-themes 444 452 MythTV provides a unified graphical interface for recording and viewing … … 506 514 ################################################################################ 507 515 508 516 %package common 509 Summary: Common components needed by multiple other MythTV components510 Group: Applications/Multimedia517 Summary: Common components needed by multiple other MythTV components 518 Group: Applications/Multimedia 511 519 # mythphone is now DOA, but we need this for upgrade path preservation. 512 Provides: mythphone = %{version}-%{release}520 Provides: mythphone = %{version}-%{release} 513 521 Obsoletes: mythphone < %{version}-%{release} 514 522 515 523 %description common … … 523 531 %if %{with_perl} 524 532 525 533 %package -n perl-MythTV 526 Summary: Perl bindings for MythTV 527 Group: Development/Languages 528 # Wish we could do this: 529 #BuildArch: noarch 534 Summary: Perl bindings for MythTV 535 Group: Development/Languages 536 #BuildArch: noarch 530 537 531 Requires: 532 Requires: 533 Requires: 534 Requires: 538 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) 539 Requires: perl(DBD::mysql) 540 Requires: perl(Net::UPnP) 541 Requires: perl(Net::UPnP::ControlPoint) 535 542 536 543 %description -n perl-MythTV 537 544 Provides a perl-based interface to interacting with MythTV. … … 543 550 %if %{with_python} 544 551 545 552 %package -n python-MythTV 546 Summary: Python bindings for MythTV 547 Group: Development/Languages 548 # Wish we could do this: 549 #BuildArch: noarch 553 Summary: Python bindings for MythTV 554 Group: Development/Languages 555 #BuildArch: noarch 550 556 551 Requires: 557 Requires: MySQL-python 552 558 553 559 %description -n python-MythTV 554 560 Provides a python-based interface to interacting with MythTV. … … 561 567 562 568 # Meta package for all mythtv plugins 563 569 %package -n mythplugins 570 Summary: Main MythTV plugins 571 Group: Applications/Multimedia 564 572 565 Summary: Main MythTV plugins566 Group: Applications/Multimedia567 568 573 Requires: mythmusic = %{version}-%{release} 569 574 Requires: mythvideo = %{version}-%{release} 570 575 Requires: mythweather = %{version}-%{release} … … 756 761 Summary: A MythTV module that displays a weather forcast 757 762 Group: Applications/Multimedia 758 763 Requires: mythtv-frontend-api = %{mythfeapiver} 764 Requires: perl(Carp) 765 Requires: perl(Data::Dumper) 766 Requires: perl(Date::Manip) 767 Requires: perl(Exporter) 768 Requires: perl(File::Basename) 769 Requires: perl(Getopt::Std) 770 Requires: perl(Image::Size) 771 Requires: perl(LWP::Simple) 772 Requires: perl(SOAP::Lite) 773 Requires: perl(XML::Parser) 759 774 Requires: perl(XML::SAX::Base) 775 Requires: perl(XML::Simple) 760 776 761 777 %description -n mythweather 762 778 A MythTV module that displays a weather forcast. … … 879 895 880 896 # Add execute bits to mythvideo python helper scripts 881 897 chmod +x mythvideo/mythvideo/scripts/ttvdb/*.py 898 # but not __init__.py 899 chmod -x mythvideo/mythvideo/scripts/ttvdb/__init__.py 882 900 # Remove execute bits from some php mythweb files 883 901 chmod -x mythweb/classes/*.php 884 902 … … 1385 1403 %doc mythplugins-%{version}/mythmovies/TODO 1386 1404 %{_bindir}/ignyte 1387 1405 %{_datadir}/mythtv/themes/default/movies-ui.xml 1406 %{_datadir}/mythtv/i18n/mythmovies_*.qm 1388 1407 %{_libdir}/mythtv/plugins/libmythmovies.so 1389 1408 %endif 1390 1409 … … 1442 1461 %files -n mythweb 1443 1462 %defattr(-,root,root,-) 1444 1463 %doc mythplugins-%{version}/mythweb/README 1464 %doc mythplugins-%{version}/mythweb/LICENSE 1445 1465 %config(noreplace) %{_sysconfdir}/httpd/conf.d/mythweb.conf 1446 %defattr(-,apache,apache, 0775)1466 %defattr(-,apache,apache,-) 1447 1467 %dir %{_datadir}/mythweb 1448 1468 %{_datadir}/mythweb/* 1449 1469 %endif … … 1451 1471 %if %{with_mythzoneminder} 1452 1472 %files -n mythzoneminder 1453 1473 %defattr(-,root,root,-) 1474 %doc mythplugins-%{version}/mythzoneminder/AUTHORS 1475 %doc mythplugins-%{version}/mythzoneminder/COPYING 1476 %doc mythplugins-%{version}/mythzoneminder/README 1454 1477 %{_libdir}/mythtv/plugins/libmythzoneminder.so 1455 1478 %{_datadir}/mythtv/zonemindermenu.xml 1479 %{_datadir}/mythtv/i18n/mythzoneminder_*.qm 1456 1480 %{_bindir}/mythzmserver 1457 1481 %endif 1458 1482 … … 1461 1485 ################################################################################ 1462 1486 1463 1487 %changelog 1464 * Fri Oct 02 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.5.sv 1488 * Fri Oct 02 2009 Jarod Wilson <jarod@wilsonet.com> 0.22-0.5.svn 1465 1489 - Remove libmad BR, its not used at all any longer 1466 1490 1467 1491 * Sat Sep 19 2009 Chris Petersen <rpm@forevermore.net> 0.22-0.5.svn -
mythtv-themes.spec
17 17 %define desktop_vendor xris 18 18 19 19 # SVN Revision number and branch ID 20 %define _svnrev r 1970820 %define _svnrev r22240 21 21 %define branch trunk 22 22 23 23 # … … 43 43 # Hopefully these will merge before 0.22 is released. 44 44 Source0: http://www.mythtv.org/mc/myththemes-%{version}.tar.bz2 45 45 Source1: themes-%{version}.tar.bz2 46 Source2: oldthemes-%{version}.tar.bz2 46 47 47 48 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 48 49 … … 73 74 ################################################################################ 74 75 75 76 %prep 76 %setup -q -c -a 1 77 %setup -q -c -a 1 -a 2 77 78 78 79 ################################################################################ 79 80 … … 86 87 %configure 87 88 cd .. 88 89 90 cd oldthemes-%{version} 91 %configure 92 cd .. 93 89 94 ################################################################################ 90 95 91 96 %install 92 97 rm -rf %{buildroot} 93 98 94 99 cd myththemes-%{version} 100 chmod a-x metallurgy/*.{xml,txt} 95 101 make install INSTALL_ROOT=%{buildroot} 96 102 cd .. 97 103 … … 99 105 make install INSTALL_ROOT=%{buildroot} 100 106 cd .. 101 107 108 cd oldthemes-%{version} 109 make install INSTALL_ROOT=%{buildroot} 110 cd .. 111 102 112 ################################################################################ 103 113 104 114 %clean