rpms/kile/FC-3 kile.spec,1.10,1.11

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Sat Oct 22 21:26:32 UTC 2005


Author: rdieter

Update of /cvs/extras/rpms/kile/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7328/FC-3

Modified Files:
	kile.spec 
Log Message:
* Fri Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
- %description: < 80 columns
- %post/%postun: update-desktop-database
- touchup %post/%postun icon handling to match icon spec
- absolute->relative symlinks
- remove Req: qt/kdelibs crud



Index: kile.spec
===================================================================
RCS file: /cvs/extras/rpms/kile/FC-3/kile.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- kile.spec	14 Oct 2005 17:18:03 -0000	1.10
+++ kile.spec	22 Oct 2005 21:26:29 -0000	1.11
@@ -1,4 +1,3 @@
-# $id: $
 
 Name:	 kile
 Summary: (La)TeX source editor and TeX shell
@@ -12,35 +11,37 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 
 BuildRequires: desktop-file-utils
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
+
+BuildRequires: qt-devel >= 1:3.3
+BuildRequires: kdelibs-devel >= 6:3.3
 
 Requires: tetex-latex
 ## Optional/recommended, but not absolutely required.
 #Requires: gnuplot
 #Requires: xfig
 
-BuildRequires: qt-devel >= 1:3.3
-BuildRequires: kdelibs-devel >= 6:3.3
-# Probably extraneous in Extras context, but can't hurt -- Rex
-%define qt_ver %{expand:%%(rpm -q --qf '%%{VERSION}' qt-devel )}
-%define kdelibs_ver %{expand:%%(rpm -q --qf '%%{VERSION}' kdelibs-devel )}
-Requires: qt >= 1:%{qt_ver}
-Requires: kdelibs >= 6:%{kdelibs_ver}
-
 # kile-i18n is no longer separate pkg
 Obsoletes: kile-i18n < %{version}
 #Provides: kile-i18n = %{version}
 
 %description
 Kile is a user friendly (La)TeX editor.  The main features are:
-    * Compile, convert and view your document with one click.
-    * Auto-completion of (La)TeX commands
-    * Templates and wizards makes starting a new document very little work.
-    * Easy insertion of many standard tags and symbols and the option to define (an arbitrary number of) user defined tags.
-    * Inverse and forward search: click in the DVI viewer and jump to the corresponding LaTeX line in the editor, or jump from the editor to the corresponding page in the viewer.
-    * Finding chapter or sections is very easy, Kile constructs a list of all the chapter etc. in your document. You can use the list to jump to the corresponding section.
-    * Collect documents that belong together into a project.
-    * Easy insertion of citations and references when using projects.
-    * Advanced editing commands.
+  * Compile, convert and view your document with one click.
+  * Auto-completion of (La)TeX commands
+  * Templates and wizards makes starting a new document very little work.
+  * Easy insertion of many standard tags and symbols and the option to define
+    (an arbitrary number of) user defined tags.
+  * Inverse and forward search: click in the DVI viewer and jump to the
+    corresponding LaTeX line in the editor, or jump from the editor to the
+    corresponding page in the viewer.
+  * Finding chapter or sections is very easy, Kile constructs a list of all
+    the chapter etc. in your document. You can use the list to jump to the
+    corresponding section.
+  * Collect documents that belong together into a project.
+  * Easy insertion of citations and references when using projects.
+  * Advanced editing commands.
 
 
 %prep
@@ -49,8 +50,7 @@
 
 %build
 unset QTDIR || : ; . /etc/profile.d/qt.sh
-# x86_64 fix (bug #161343)
-export QTLIB=${QTDIR}/lib;QTINC=${QTDIR}/include
+export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
 
 %configure \
   --disable-rpath \
@@ -103,15 +103,14 @@
 
 
 %post
-touch %{_datadir}/icons/hicolor ||:
+touch --no-create %{_datadir}/icons/hicolor ||:
 gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 %postun
-# skipping the if, in case the icon dir ever changes on upgrade
-#if [ $1 -eq 0 ]; then
-touch %{_datadir}/icons/hicolor ||:
+touch --no-create %{_datadir}/icons/hicolor ||:
 gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
-#fi
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 
 %files -f %{name}.lang
@@ -131,9 +130,12 @@
 
 
 %changelog
-* Fri Oct 14 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
+* Fri Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
+- %%description: < 80 columns
+- %%post/%%postun: update-desktop-database
 - touchup %%post/%%postun icon handling to match icon spec
 - absolute->relative symlinks
+- remove Req: qt/kdelibs crud
 
 * Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-4
 - use gtk-update-icon-cache (#170291)




More information about the fedora-extras-commits mailing list