Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
mythtv
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Changed
mythtv.spec
@@ -1,7 +1,7 @@ # norootforbuild %define desktop_applications mythfrontend mythtv-setup -%define desktop_vendor packman +%define desktop_vendor j0ke #added cos fedora core must set these macros, and suse doesn' %define _varlibdir /var/lib @@ -13,7 +13,7 @@ %define _subsysdir %{_localstatedir}/lock/subsys %define compile_type release -%define apiversion %(echo %{version} | awk -F. '{print $1 "." $2}') +%define apiversion %(echo -n %{version} | awk -F. '{print $1 "." $2}') Summary: A personal video recorder (PVR) application. Name: mythtv @@ -96,6 +96,9 @@ BuildRequires: fdupes %endif +%if 0%{?suse_version} >= 1110 +BuildRequires: update-desktop-files +%endif %description MythTV implements the following PVR features, and more, with a @@ -378,6 +381,14 @@ install -m 644 -D %{_sourcedir}/mythtv-session.desktop %{buildroot}%{_datadir}/xsessions/mythtv.desktop +%if 0%{?suse_version} >= 1110 +%suse_update_desktop_file mythtv +%suse_update_desktop_file mythfrontend +%suse_update_desktop_file mythfrontend-1024x640 +%suse_update_desktop_file mythfrontend-800x450 +%suse_update_desktop_file mythtv-setup +%endif + mkdir -p %{buildroot}%{_libdir}/mythtv/plugins mkdir -p %{buildroot}%{_datadir}/mythtv/build/