Logoj0ke.net Open Build Service > Projects > multimedia > mythtv > Changes
Sign Up | Log In

Changes of Revision 4

[-] Changed mythtv.spec
x
 
1
@@ -1,7 +1,7 @@
2
 # norootforbuild
3
 
4
 %define desktop_applications mythfrontend mythtv-setup
5
-%define desktop_vendor packman
6
+%define desktop_vendor j0ke
7
 
8
 #added cos fedora core must set these macros, and suse doesn' 
9
 %define _varlibdir /var/lib
10
@@ -13,7 +13,7 @@
11
 %define _subsysdir     %{_localstatedir}/lock/subsys
12
 %define compile_type release
13
 
14
-%define apiversion %(echo %{version} | awk -F. '{print $1 "." $2}')
15
+%define apiversion %(echo -n %{version} | awk -F. '{print $1 "." $2}')
16
 
17
 Summary:   A personal video recorder (PVR) application.
18
 Name:      mythtv
19
@@ -96,6 +96,9 @@
20
 BuildRequires:  fdupes
21
 %endif
22
 
23
+%if 0%{?suse_version} >= 1110
24
+BuildRequires: update-desktop-files
25
+%endif
26
 
27
 %description
28
 MythTV implements the following PVR features, and more, with a
29
@@ -378,6 +381,14 @@
30
 
31
 install -m 644 -D %{_sourcedir}/mythtv-session.desktop %{buildroot}%{_datadir}/xsessions/mythtv.desktop
32
 
33
+%if 0%{?suse_version} >= 1110
34
+%suse_update_desktop_file mythtv
35
+%suse_update_desktop_file mythfrontend
36
+%suse_update_desktop_file mythfrontend-1024x640
37
+%suse_update_desktop_file mythfrontend-800x450
38
+%suse_update_desktop_file mythtv-setup
39
+%endif
40
+
41
 mkdir -p %{buildroot}%{_libdir}/mythtv/plugins
42
 mkdir -p %{buildroot}%{_datadir}/mythtv/build/
43
 
44