rpms/manedit/devel manedit-0.5.11-multilib.patch, NONE, 1.1 manedit-0.5.11-nostrip.patch, NONE, 1.1 manedit.spec, 1.6, 1.7

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Wed Feb 9 14:12:32 UTC 2005


Author: mschwendt

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

Modified Files:
	manedit.spec 
Added Files:
	manedit-0.5.11-multilib.patch manedit-0.5.11-nostrip.patch 
Log Message:
x86_64 fix + enable debuginfo package

manedit-0.5.11-multilib.patch:

--- NEW FILE manedit-0.5.11-multilib.patch ---
diff -Nur manedit-0.5.11-orig/manedit/platforms.ini manedit-0.5.11/manedit/platforms.ini
--- manedit-0.5.11-orig/manedit/platforms.ini	2004-04-17 23:36:20.000000000 +0200
+++ manedit-0.5.11/manedit/platforms.ini	2005-02-09 15:02:30.899962320 +0100
@@ -104,10 +104,10 @@
 	PlatformSearchPathInclude = /usr/include/
 	PlatformSearchPathInclude = /usr/X11R6/include/
         PlatformSearchPathInclude = /usr/local/include/
-	PlatformSearchPathLib = /lib/
-	PlatformSearchPathLib = /usr/lib/
-	PlatformSearchPathLib = /usr/X11R6/lib/
-        PlatformSearchPathLib = /usr/local/lib/
+	PlatformSearchPathLib = /@LIB@/
+	PlatformSearchPathLib = /usr/@LIB@/
+	PlatformSearchPathLib = /usr/X11R6/@LIB@/
+        PlatformSearchPathLib = /usr/local/@LIB@/
 	PlatformSearchPathEtc = /etc/
 	PlatformSearchPathEtc = /usr/etc/
         PlatformSearchPathEtc = /usr/local/etc/
@@ -191,7 +191,7 @@
                 MustExist = Yes
                 FeatureCFLAGS = `gtk-config --cflags`
                 FeatureLIBS = `gtk-config --libs`
-                FeatureLIB_DIR = -L/usr/X11R6/lib/
+                FeatureLIB_DIR = -L/usr/X11R6/@LIB@/
                 FeatureDepend = gtk-lib
                         DependType = Library
                         MustExist = Yes

manedit-0.5.11-nostrip.patch:

--- NEW FILE manedit-0.5.11-nostrip.patch ---
diff -Nur manedit-0.5.11-orig/manedit/Makefile.install.UNIX manedit-0.5.11/manedit/Makefile.install.UNIX
--- manedit-0.5.11-orig/manedit/Makefile.install.UNIX	2004-04-17 23:36:17.000000000 +0200
+++ manedit-0.5.11/manedit/Makefile.install.UNIX	2005-02-09 15:04:35.725072744 +0100
@@ -12,10 +12,10 @@
 #
 
 INSTALL      = install
-INSTBINFLAGS = -m 0755 -s
+INSTBINFLAGS = -m 0755
 INSTSCRFLAGS = -m 0755
 INSTUIDFLAGS = -m 4755
-INSTLIBFLAGS = -m 0755 -s
+INSTLIBFLAGS = -m 0755
 INSTINCFLAGS = -m 0644
 INSTMANFLAGS = -m 0644
 INSTCFGFLAGS = -m 0644


Index: manedit.spec
===================================================================
RCS file: /cvs/extras/rpms/manedit/devel/manedit.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- manedit.spec	17 Nov 2004 19:52:00 -0000	1.6
+++ manedit.spec	9 Feb 2005 14:12:30 -0000	1.7
@@ -1,8 +1,8 @@
 Name:           manedit
 Version:        0.5.11
-Release:        2
+Release:        3
 Epoch:          0
-Summary:        GUI editor for creating man pages. 
+Summary:        GUI editor for creating man pages
 
 Group:          Development/Tools
 License:        GPL
@@ -10,6 +10,8 @@
 Source0:        ftp://wolfpack.twu.net/users/wolfpack/manedit-0.5.11.tar.bz2
 Source1:        manedit.desktop
 Patch:          manedit-0.5.11-bzip2.patch
+Patch1:         manedit-0.5.11-nostrip.patch
+Patch2:         manedit-0.5.11-multilib.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk+-devel zlib-devel desktop-file-utils bzip2-devel
@@ -24,8 +26,11 @@
 %prep
 %setup -q
 %patch -p1 -b .bzip2
+%patch1 -p1 -b .nostrip
+%patch2 -p1 -b .multilib
 perl -pi -e "s|/usr/man|%{_mandir}|" manedit/pref.c
 perl -pi -e "s|/usr/man|%{_mandir}|" manedit/prefcb.c
+perl -pi -e "s|\@LIB\@|%{_lib}|" manedit/platforms.ini
 
 %build
 #manedit uses some weird configuration system
@@ -60,6 +65,10 @@
 %{_datadir}/applications/*
  
 %changelog
+* Wed Feb  9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.5.11-3
+- Add patch for multilib and substitute hardcoded 'lib' in %%prep.
+- Add patch to disable stripping.
+
 * Wed Nov 17 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.5.11-2
 - BR bzip2-devel + patch to enable bzip2, bump release
 




More information about the fedora-extras-commits mailing list