SPECS: mythtv.spec - add desktop files - cosmetics

glen glen at pld-linux.org
Wed Sep 7 00:18:58 CEST 2005


Author: glen                         Date: Tue Sep  6 22:18:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add desktop files
- cosmetics

---- Files affected:
SPECS:
   mythtv.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.25 SPECS/mythtv.spec:1.26
--- SPECS/mythtv.spec:1.25	Tue Sep  6 03:29:07 2005
+++ SPECS/mythtv.spec	Wed Sep  7 00:18:51 2005
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 # TODO
-# - bconds: altivec joystick lcd unichrome
+# - bconds: altivec joystick lcd unichrome xrandr
 # - lcd? ( app-misc/lcdproc )
 #
 # Specfile for MythTV
@@ -30,8 +30,7 @@
 Summary(pl):	Osobista aplikacja do nagrywania obrazu (PVR)
 Name:		mythtv
 Version:	0.18.1
-#define	_snap	20050326
-Release:	0.15
+Release:	0.16
 License:	GPL v2
 Group:		Applications/Multimedia
 Source0:	http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2
@@ -39,6 +38,10 @@
 Source1:	mythbackend.sysconfig
 Source2:	mythbackend.init
 Source3:	mythbackend.logrotate
+Source4:	mythepg.desktop
+Source5:	mythfrontend.desktop
+Source6:	mythprofind.desktop
+Source7:	%{name}.desktop
 Patch0:		%{name}-lib64.patch
 Patch1:		%{name}-x86_64-configure.patch
 Patch2:		%{name}-x11.patch
@@ -65,7 +68,7 @@
 %{?with_opengl:BuildRequires:	X11-driver-nvidia-devel}
 BuildRequires:	qmake >= 6:3.2.1-4
 BuildRequires:	qt-devel >= 6:3.2.1-4
-BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	sed >= 4.0
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -313,25 +316,25 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{logrotate.d,sysconfig} \
+		$RPM_BUILD_ROOT/etc/rc.d/init.d \
+		$RPM_BUILD_ROOT/var/{cache,lib,log,run}/mythtv \
+		$RPM_BUILD_ROOT%{_libdir}/mythtv/plugins
 
 export QTDIR="%{_prefix}"
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
 # Install the files that we added on top of mythtv's own stuff
-install -pD %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mythbackend
-install -pD %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/mythbackend
-install -pD %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/mythbackend
-
-# Various utility directories that we want rpm to keep track of mythtv ownership
-install -d $RPM_BUILD_ROOT/var/{cache,lib,log,run}/mythtv
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
-
-# Create the plugins directory, so rpm can know mythtv owns it
-install -d $RPM_BUILD_ROOT%{_libdir}/mythtv/plugins
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mythbackend
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/mythbackend
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/mythbackend
+
+# desktop entries
+install %{SOURCE4} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE6} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE7} $RPM_BUILD_ROOT%{_desktopdir}
 
 # Install settings.pro so people can see the build options we used
 install -pD settings.pro $RPM_BUILD_ROOT%{_datadir}/mythtv/build/settings.pro
@@ -441,6 +444,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2005/09/06 22:18:51  glen
+- add desktop files
+- cosmetics
+
 Revision 1.25  2005/09/06 01:29:07  glen
 - pass %{_lib} to configure
 - remove COPYING from %doc (GPL)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythtv.spec?r1=1.25&r2=1.26&f=u




More information about the pld-cvs-commit mailing list