rpms/apollon/devel apollon-1.0.1-firstrun.patch, NONE, 1.1 apollon.spec, 1.4, 1.5

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Mar 13 17:27:54 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/apollon/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7697

Modified Files:
	apollon.spec 
Added Files:
	apollon-1.0.1-firstrun.patch 
Log Message:
* Mon Mar 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-5
- firstrun patch (#185258)


apollon-1.0.1-firstrun.patch:

--- NEW FILE apollon-1.0.1-firstrun.patch ---
--- apollon-1.0.1/apollon/firstrun.ui.h.firstrun	2004-10-13 11:33:15.000000000 -0500
+++ apollon-1.0.1/apollon/firstrun.ui.h	2006-03-13 10:53:45.000000000 -0600
@@ -51,7 +51,7 @@
 		
 		//where are the plugins installed?
 		QDir installedPath ("/usr/share/giFT/giftd.conf.template");
-		if (installedPath.exists()) {
+		if (QFile::exists(installedPath.path())) {
 			installedPath = "/usr/share/giFT/";
 		}
 		else {


Index: apollon.spec
===================================================================
RCS file: /cvs/extras/rpms/apollon/devel/apollon.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- apollon.spec	1 Mar 2006 16:43:57 -0000	1.4
+++ apollon.spec	13 Mar 2006 17:27:54 -0000	1.5
@@ -2,7 +2,7 @@
 Summary: Filesharing client
 Name:	 apollon
 Version: 1.0.1
-Release: 4%{?dist}.2
+Release: 5%{?dist}
 
 License: GPL
 Group: 	 Applications/Internet
@@ -13,13 +13,13 @@
 # Fix Name/GenericName, append ; to Categories, 
 # remove lines containing non UTF-8 chars ([de] entries)
 Patch1: apollon-1.0.1-dtfix.patch 
+# http://bugzilla.redhat.com/bugzilla/185258
+Patch2: apollon-1.0.1-firstrun.patch
 
 BuildRequires: gettext
 BuildRequires: desktop-file-utils
 BuildRequires: gift-devel
-
-BuildRequires: qt-devel >= 1:3.3
-BuildRequires: kdelibs-devel >= 6:3.3
+BuildRequires: kdelibs-devel 
 
 %description
 A filesharing client which uses giFT.
@@ -29,12 +29,11 @@
 %setup -q 
 
 %patch1 -p1 -b .dtfix
-
+%patch2 -p1 -b .firstrun
 
 
 %build
 unset QTDIR || : ; . /etc/profile.d/qt.sh
-export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
 
 %configure \
   --disable-rpath \
@@ -49,11 +48,10 @@
 
 make install DESTDIR=$RPM_BUILD_ROOT
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --delete-original --vendor fedora \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-  --add-category Application \
-  --add-category X-Fedora \
+desktop-file-install \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
+  --vendor="fedora" --delete-original \
+  --add-category="X-Fedora" \
   $RPM_BUILD_ROOT%{_datadir}/appl*/*/*.desktop
 
 ## File lists
@@ -110,6 +108,9 @@
 
 
 %changelog
+* Mon Mar 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-5
+- firstrun patch (#185258)
+
 * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net>
 - fc5: gcc/glibc respin
 




More information about the fedora-extras-commits mailing list