forked from MythTV/packaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmythtv-themes.spec
120 lines (88 loc) · 3.08 KB
/
mythtv-themes.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#
# Specfile for building MythTV RPMs from a subversion checkout.
#
# by: Chris Petersen <[email protected]>
# Jarod Wilson <[email protected]>
#
# Modified/Extended from the great (non-svn based) work of:
# Axel Thimm <[email protected]>
# and others; see changelog at bottom for details.
#
# The latest version of this file can be found at:
#
# http://www.mythtv.org/wiki/index.php/Mythtv-themes-svn-rpmbuild.spec
#
# The vendor name we should attribute the aforementioned entries to
%define desktop_vendor xris
# SVN Revision number and branch ID
%define _svnrev r19708
%define branch trunk
#
# Basic descriptive tags for this package:
#
Name: mythtv-themes
Summary: Additional themes for mythtv's frontend
URL: http://www.mythtv.org/
Group: Applications/Multimedia
License: GPLv2
# Version/Release info
Version: 0.22
%if "%{branch}" == "trunk"
Release: 0.1.svn.%{_svnrev}%{?dist}
%else
Release: 1%{?dist}
%endif
################################################################################
# Tarballs created from svn "themes" and "myththemes" directories
# Hopefully these will merge before 0.22 is released.
Source0: http://www.mythtv.org/mc/myththemes-%{version}.tar.bz2
Source1: themes-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
################################################################################
BuildRequires: mythtv-devel = %{version}
BuildRequires: qt4-devel
# Themes do require a frontend
Requires: mythtv-frontend
# And obselete a bunch of packages from when themes were packaged individually
Obsoletes: mythtv-theme-MythCenter
Obsoletes: mythtv-theme-Retro
Obsoletes: mythtv-theme-Titivillus
Obsoletes: mythtv-theme-isthmus
################################################################################
%description
MythTV provides a unified graphical interface for recording and viewing
television programs. Refer to the mythtv-docs package for more information.
This package contains additional themes for the mythtv user interface.
################################################################################
%prep
%setup -q -c -a 1
################################################################################
%build
cd myththemes-%{version}
%configure
cd ..
cd themes-%{version}
%configure
cd ..
################################################################################
%install
rm -rf %{buildroot}
cd myththemes-%{version}
make install INSTALL_ROOT=%{buildroot}
cd ..
cd themes-%{version}
make install INSTALL_ROOT=%{buildroot}
cd ..
################################################################################
%clean
rm -rf %{buildroot}
################################################################################
%files
%defattr(-,root,root,-)
%{_datadir}/mythtv/themes/*
%changelog
* Sat Nov 01 2008 Chris Petersen <[email protected]> 0.22-0.1.svn
- Clean and standardize package to match mythtv-svn spec
* Sun Mar 09 2008 Jarod Wilson <[email protected]> - 0.21-1
- Initial package