rpms/clips/devel clips.spec,1.8,1.9

Rick L. Vinyard, Jr. (rvinyard) fedora-extras-commits at redhat.com
Sun Aug 26 06:17:42 UTC 2007


Author: rvinyard

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

Modified Files:
	clips.spec 
Log Message:



Index: clips.spec
===================================================================
RCS file: /cvs/extras/rpms/clips/devel/clips.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- clips.spec	2 Feb 2007 19:19:53 -0000	1.8
+++ clips.spec	26 Aug 2007 06:17:10 -0000	1.9
@@ -1,30 +1,33 @@
-Summary:	  CLIPS language for developing expert systems
-Name:		  clips
-Version:	  6.24
-Release:	  22%{?dist}
-Url:		  http://www.ghg.net/clips/download/source/
-License:	  GPL
-Group:		  Development/Tools
-Source0:	  http://www.ghg.net/clips/download/source/clipssrc.tar.Z
-Source1:	  http://www.ghg.net/clips/download/source/x-prjct.tar.Z
-Source2:	  http://www.ghg.net/clips/download/executables/examples/AllExamples.tar.Z
-Source3:	  http://www.ghg.net/clips/download/documentation/abstract.pdf
-Source4:	  http://www.ghg.net/clips/download/documentation/apg.pdf
-Source5:	  http://www.ghg.net/clips/download/documentation/arch5-1.pdf
-Source6:	  http://www.ghg.net/clips/download/documentation/bpg.pdf
-Source7:	  http://www.ghg.net/clips/download/documentation/ig.pdf
-Source8:	  http://www.ghg.net/clips/download/documentation/usrguide.pdf
-Source9:	  http://www.ghg.net/clips/download/documentation/3CCP.pdf
-Source10:	  xclips.png
-Source11:         clips-init.el
-Source12:         clips-mode.el
-Source13:         inf-clips.el
-Source14:         http://www.ghg.net/clips/download/other/Bug_Fixes/objrtmch.c
-Source15:	  http://www.ghg.net/clips/download/other/FunctionContext.zip
-Source16:	  http://www.ghg.net/clips/download/other/Bug_Fixes/DR0873.txt
-Patch0:	 	  clips-6.24-linux.patch.bz2
-BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	  ncurses-devel libXt-devel libXext-devel libXmu-devel libXaw-devel xorg-x11-server-Xorg xorg-x11-proto-devel xorg-x11-xbitmaps desktop-file-utils
+Summary:	CLIPS language for developing expert systems
+Name:		clips
+Version:	6.24
+Release:	24%{?dist}
+Url:		http://www.ghg.net/clips/download/source/
+License:	GPLv2
+Group:		Development/Tools
+Source0:	http://www.ghg.net/clips/download/source/clipssrc.tar.Z
+Source1:	http://www.ghg.net/clips/download/source/x-prjct.tar.Z
+Source2:	http://www.ghg.net/clips/download/executables/examples/AllExamples.tar.Z
+Source3:	http://www.ghg.net/clips/download/documentation/abstract.pdf
+Source4:	http://www.ghg.net/clips/download/documentation/apg.pdf
+Source5:	http://www.ghg.net/clips/download/documentation/arch5-1.pdf
+Source6:	http://www.ghg.net/clips/download/documentation/bpg.pdf
+Source7:	http://www.ghg.net/clips/download/documentation/ig.pdf
+Source8:	http://www.ghg.net/clips/download/documentation/usrguide.pdf
+Source9:	http://www.ghg.net/clips/download/documentation/3CCP.pdf
+Source10:	xclips.png
+Source11:	clips-init.el
+Source12:	clips-mode.el
+Source13:	inf-clips.el
+Source14:	http://www.ghg.net/clips/download/other/Bug_Fixes/objrtmch.c
+Source15:	http://www.ghg.net/clips/download/other/FunctionContext.zip
+Source16:	http://www.ghg.net/clips/download/other/Bug_Fixes/DR0873.txt
+Source17:	xclips.desktop
+Patch0:		clips-6.24-linux.patch
+Patch1:		clips-6.24-time-sysdep.c.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:	ncurses-devel libXt-devel libXext-devel libXmu-devel libXaw-devel xorg-x11-server-Xorg xorg-x11-proto-devel xorg-x11-xbitmaps desktop-file-utils
+BuildRequires:	automake autoconf libtool
 
 %description
 CLIPS is a productive development and delivery expert system tool which 
@@ -35,35 +38,35 @@
 This package provides the CLIPS command line environment and the clips
 library.
 
-%package          libs
-Summary:          Run-time libraries for CLIPS applications
-Group:            System Environment/Libraries
+%package	libs
+Summary:	Run-time libraries for CLIPS applications
+Group:		System Environment/Libraries
 
-%description    libs
+%description	libs
 This package contains the run-time libraries needed for CLIPS applications.
 
-%package          devel
-Summary:          Headers for developing programs that will embed CLIPS
-Group:            Development/Libraries
-Requires:         clips-libs = %{version}-%{release}
-Requires:         ncurses-devel pkgconfig
+%package	devel
+Summary:	Headers for developing programs that will embed CLIPS
+Group:		Development/Libraries
+Requires:	clips-libs = %{version}-%{release}
+Requires:	ncurses-devel pkgconfig
 
-%description    devel
+%description	devel
 This package contains the libraries and header files needed for
 developing embedded CLIPS applications.
 
-%package xclips
-Summary:	  X interface to CLIPS
-Group:		  Development/Tools
+%package	xclips
+Summary:	X interface to CLIPS
+Group:		Development/Tools
 
-%description xclips
+%description	xclips
 X interface to CLIPS.
 
-%package doc
-Summary:	  Documentation for CLIPS
-Group:		  Documentation
+%package	doc
+Summary:	Documentation for CLIPS
+Group:		Documentation
 
-%description doc
+%description	doc
 This package contains documentation for the CLIPS library as well as numerous 
 examples.
 
@@ -82,7 +85,8 @@
 mv x-prjct/xinterface clipssrc/
 mv x-prjct/color clipssrc/
 mv clipssrc/clipssrc clipssrc/clips
-%patch0 -p0 
+%patch0 -p0
+%patch1 -p0
 #move in the function context patch files
 mv envrnmnt.h clipssrc/clips
 mv envrnmnt.c clipssrc/clips
@@ -94,13 +98,14 @@
 chmod a-x clipssrc/*/*.h clipssrc/*/*.c
 chmod a-x Examples/*.clp
 chmod a-x Examples/Cholesterol/*
-chmod u+x clipssrc/configure
+chmod u+x clipssrc/autogen.sh
 for i in %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE16}; do
  cp $i .
 done
 
 %build
 cd clipssrc
+./autogen.sh
 %configure --disable-static
 %{__make} %{?_smp_mflags}
 
@@ -114,8 +119,8 @@
 desktop-file-install --vendor fedora \
 	--dir %{buildroot}%{_datadir}/applications \
 	--add-category X-Fedora \
-	xclips.desktop
-%{__make} DESTDIR=%{buildroot} install
+	%{SOURCE17}
+%{__make} install DESTDIR=%{buildroot} INSTALL="%{__install} -p" 
 find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
 
 %clean
@@ -162,6 +167,19 @@
 %doc ig.pdf
  
 %changelog
+* Sat Aug 25 2007 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> 6.24-24
+- Added automake, autoconf and libtool to build requires
+
+* Sat Aug 25 2007 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> 6.24-23
+- Added patch to fix time function; closes bug 249995
+- Fixed the version in the xclips.desktop file and removed it from the linux patch
+- Added the linux patch and xclips.desktop files to cvs
+- Changed the linux patch from a bzip file to a normal patch file
+- Removed the pre-generated autotools files from the linux patch
+- Added running of autogen.sh prior to running configure to build autotools files
+- Added timestamp preservation to install
+- Updated (not changed) license to new tag GPLv2
+
 * Fri Feb 02 2007 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> 6.24-22
 - Bump release to build FC-5 and devel against new patch
 




More information about the fedora-extras-commits mailing list